Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001417/0.001417, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001553/0.001553, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2346/0.2346, allocations: 46.91 MB / 357.8 MB, free: 10.32 MB / 286.1 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 59.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1468, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004079/0.1509, allocations: 2.045 MB / 0.5581 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1535, allocations: 1.356 MB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.1537, allocations: 7.938 kB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.154, allocations: 59.5 kB / 0.5595 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.1547, allocations: 211.1 kB / 0.5597 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1564, allocations: 0.5945 MB / 0.5602 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.157, allocations: 327 kB / 0.5606 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.1572, allocations: 56.72 kB / 0.5606 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.1575, allocations: 147.3 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.1579, allocations: 207.2 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.1579, allocations: 12 kB / 0.561 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.1581, allocations: 67.98 kB / 0.561 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.1583, allocations: 147.5 kB / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.1585, allocations: 182.5 kB / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.1591, allocations: 421.8 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1591, allocations: 0 / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1591, allocations: 0 / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1591, allocations: 0 / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001307/0.1604, allocations: 0.8315 MB / 0.5625 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.1605, allocations: 16.02 kB / 0.5626 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.722e-05/0.1605, allocations: 4.188 kB / 0.5626 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1605, allocations: 38.75 kB / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.1608, allocations: 80.48 kB / 0.5627 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.1617, allocations: 493 kB / 0.5632 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1617, allocations: 12.12 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.1617, allocations: 12 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.1621, allocations: 147.3 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1621, allocations: 0 / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.1621, allocations: 11.94 kB / 0.5633 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1621, allocations: 0 / 0.5633 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.1624, allocations: 87.94 kB / 0.5634 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1636, allocations: 0.7151 MB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1639, allocations: 109.2 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.164, allocations: 49.77 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.1641, allocations: 4 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1641, allocations: 34.56 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1641, allocations: 0 / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001656/0.1658, allocations: 0.5737 MB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.1658, allocations: 81.11 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.167, allocations: 0.9337 MB / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1671, allocations: 29.7 kB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.1673, allocations: 272.3 kB / 0.5661 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.1674, allocations: 55.55 kB / 0.5662 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.1675, allocations: 37.7 kB / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1677, allocations: 309.9 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1679, allocations: 67.89 kB / 0.5666 GB, free: 10.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1681, allocations: 87.34 kB / 0.5667 GB, free: 10.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.1685, allocations: 161.8 kB / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1685, allocations: 0 / 0.5668 GB, free: 10.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006143/0.1691, allocations: 245.2 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1691, allocations: 5.719 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1691, allocations: 0 / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1691, allocations: 0 / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1694, allocations: 43.91 kB / 0.5671 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1694, allocations: 4 kB / 0.5671 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1695, allocations: 19.92 kB / 0.5671 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1695, allocations: 4 kB / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 0.0002657/0.1698, allocations: 219.9 kB / 0.5673 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1699, allocations: 63.58 kB / 0.5674 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/0.1706, allocations: 291 kB / 0.5677 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1706, allocations: 0 / 0.5677 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1706, allocations: 4.5 kB / 0.5677 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1706, allocations: 3.984 kB / 0.5677 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.172, allocations: 0.8254 MB / 0.5685 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.172, allocations: 0 / 0.5685 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.1722, allocations: 43.97 kB / 0.5685 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1722, allocations: 0 / 0.5685 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1722, allocations: 11.92 kB / 0.5685 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1722, allocations: 0 / 0.5685 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1722, allocations: 0 / 0.5685 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.1729, allocations: 430.2 kB / 0.569 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.173, allocations: 148.7 kB / 0.5691 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.1731, allocations: 11.94 kB / 0.5691 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1733, allocations: 15.97 kB / 0.5691 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.1734, allocations: 11.98 kB / 0.5691 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1734, allocations: 11.98 kB / 0.5691 GB, free: 8.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009001/0.1743, allocations: 0.6825 MB / 0.5698 GB, free: 7.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1743, allocations: 0 / 0.5698 GB, free: 7.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004099/0.1747, allocations: 52 kB / 0.5699 GB, free: 7.309 MB / 430.1 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 (16): * Single equations (assignments): 16 * 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.002558/0.1772, allocations: 1.261 MB / 0.5711 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.1778, allocations: 163.1 kB / 0.5712 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1778, allocations: 0 / 0.5712 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.178, allocations: 91.89 kB / 0.5713 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.1787, allocations: 70.62 kB / 0.5714 GB, free: 5.863 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/0.1863, allocations: 5.196 MB / 0.5765 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.1869, allocations: 0.8839 MB / 0.5773 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.1872, allocations: 91.22 kB / 0.5774 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.1875, allocations: 183.3 kB / 0.5776 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1875, allocations: 0 / 0.5776 GB, free: 15.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.2184, allocations: 10.22 MB / 0.5876 GB, free: 5.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.235/9.454, allocations: 9 kB / 0.5876 GB, free: 5.227 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 13.101629759010393]