Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008735/0.0008735, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8828/0.8828, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.009e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.1668/0.1668, allocations: 1.66 MB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.1675, allocations: 0.5645 MB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.1676, allocations: 2.938 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.1679, allocations: 457 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1682, allocations: 292.9 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1685, allocations: 192.2 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1686, allocations: 180.1 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.1687, allocations: 16.92 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.1688, allocations: 120.9 kB / 445.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.169, allocations: 244.1 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.169, allocations: 5.406 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.1691, allocations: 50.33 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.1691, allocations: 89.28 kB / 446 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.1692, allocations: 41.62 kB / 446.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1694, allocations: 261.9 kB / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1694, allocations: 0.5 kB / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1694, allocations: 0 / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1694, allocations: 2.438 kB / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004182/0.1698, allocations: 0.5994 MB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1698, allocations: 11.69 kB / 447 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.105e-05/0.1699, allocations: 30.75 kB / 447 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1699, allocations: 44.84 kB / 447 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.17, allocations: 249.6 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1701, allocations: 9.469 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1701, allocations: 7.031 kB / 447.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1702, allocations: 63.09 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1702, allocations: 3.062 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1702, allocations: 3.938 kB / 447.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1702, allocations: 3.375 kB / 447.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.1703, allocations: 34.22 kB / 447.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.1706, allocations: 375.2 kB / 447.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.1706, allocations: 46.22 kB / 447.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.1707, allocations: 17.41 kB / 447.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1707, allocations: 2.75 kB / 447.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.1707, allocations: 38.53 kB / 447.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1707, allocations: 0 / 447.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005641/0.1713, allocations: 334.4 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.1713, allocations: 54.28 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.1717, allocations: 0.8724 MB / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.1717, allocations: 29.7 kB / 449.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.1718, allocations: 225.1 kB / 449.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1718, allocations: 29.92 kB / 449.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1718, allocations: 21.66 kB / 449.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.1719, allocations: 371.1 kB / 449.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.1719, allocations: 30.03 kB / 449.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.172, allocations: 31.77 kB / 449.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.1721, allocations: 78.59 kB / 449.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1721, allocations: 2.875 kB / 449.9 MB, free: 40.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001297/0.1722, allocations: 144.2 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1722, allocations: 7.219 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1722, allocations: 3.328 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1722, allocations: 0 / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.1723, allocations: 21.59 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1723, allocations: 0 / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.1723, allocations: 13.88 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1723, allocations: 2.938 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.761e-05/0.1724, allocations: 216.6 kB / 450.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1725, allocations: 44.66 kB / 450.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1726, allocations: 175.8 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1726, allocations: 7.125 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1727, allocations: 0 / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1727, allocations: 0 / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.173, allocations: 498.2 kB / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.173, allocations: 0 / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.173, allocations: 20.12 kB / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.173, allocations: 3.031 kB / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.173, allocations: 7.125 kB / 451 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.173, allocations: 0 / 451 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.173, allocations: 6.594 kB / 451.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1732, allocations: 258.3 kB / 451.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.1732, allocations: 42.19 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1732, allocations: 7.938 kB / 451.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.1733, allocations: 5.812 kB / 451.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.1733, allocations: 6.234 kB / 451.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1733, allocations: 6.125 kB / 451.4 MB, free: 40.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003152/0.1736, allocations: 0.6603 MB / 452 MB, free: 39.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1736, allocations: 0 / 452 MB, free: 39.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.1738, allocations: 35.03 kB / 452.1 MB, free: 39.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009328/0.1747, allocations: 1.167 MB / 453.2 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1749, allocations: 72.16 kB / 453.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1749, allocations: 3.938 kB / 453.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.1749, allocations: 39.06 kB / 453.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1752, allocations: 27.98 kB / 453.4 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1772, allocations: 3.414 MB / 456.8 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.1774, allocations: 226.1 kB / 457 MB, free: 37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.1774, allocations: 23.59 kB / 457 MB, free: 36.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.1775, allocations: 127.1 kB / 457.2 MB, free: 36.89 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1775, allocations: 0 / 457.2 MB, free: 36.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.1938, allocations: 7.122 MB / 464.3 MB, free: 35.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.842, allocations: 5.625 kB / 464.3 MB, free: 35.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.781364371068776]