Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001673/0.001673, allocations: 121 kB / 18.5 MB, free: 4.562 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.002012/0.002012, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.496/1.496, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2435/0.2435, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003205/0.003205, allocations: 71.83 kB / 0.4917 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1545, allocations: 65.98 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.004096/0.1586, allocations: 1.63 MB / 0.5577 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1598, allocations: 0.5339 MB / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1599, allocations: 7.938 kB / 0.5582 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1602, allocations: 91.73 kB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1606, allocations: 115.6 kB / 0.5584 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1609, allocations: 91.75 kB / 0.5585 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1611, allocations: 79.77 kB / 0.5586 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1612, allocations: 19.97 kB / 0.5586 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.1613, allocations: 39.78 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1614, allocations: 63.8 kB / 0.5587 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1614, allocations: 4 kB / 0.5587 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1615, allocations: 40 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.1616, allocations: 23.92 kB / 0.5588 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1617, allocations: 35.72 kB / 0.5588 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1619, allocations: 111.5 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1619, allocations: 7.938 kB / 0.5589 GB, free: 2.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1619, allocations: 0 / 0.5589 GB, free: 2.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1619, allocations: 3.984 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007462/0.1627, allocations: 418.7 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1627, allocations: 11.97 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.185e-05/0.1627, allocations: 4.125 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.1628, allocations: 42.73 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.1628, allocations: 12.84 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1631, allocations: 196.2 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1631, allocations: 12.36 kB / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1631, allocations: 8.078 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1633, allocations: 57.61 kB / 0.5596 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1633, allocations: 4 kB / 0.5596 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1633, allocations: 4 kB / 0.5596 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1634, allocations: 0 / 0.5596 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1635, allocations: 27.97 kB / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1639, allocations: 300.8 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.164, allocations: 38.5 kB / 0.56 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.1641, allocations: 20.94 kB / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1641, allocations: 0 / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1642, allocations: 34.56 kB / 0.56 GB, free: 1.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1642, allocations: 0 / 0.56 GB, free: 1.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009989/0.1652, allocations: 229.3 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1652, allocations: 55.34 kB / 0.5603 GB, free: 1.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.1655, allocations: 226.7 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1655, allocations: 25.7 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.1656, allocations: 120.1 kB / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1656, allocations: 23.8 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1657, allocations: 21.72 kB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1658, allocations: 322.8 kB / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.1659, allocations: 27.97 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.166, allocations: 27.92 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1662, allocations: 64.83 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1662, allocations: 0 / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002471/0.1664, allocations: 97.58 kB / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1664, allocations: 4 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1664, allocations: 3.938 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1665, allocations: 0 / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1666, allocations: 27.92 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1666, allocations: 3.938 kB / 0.5613 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1666, allocations: 11.98 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1666, allocations: 0 / 0.5613 GB, free: 268 kB / 414.1 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 0.0001173/0.1667, allocations: 133.1 kB / 0.5614 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.1668, allocations: 11.95 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.1671, allocations: 127.6 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1671, allocations: 4 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1671, allocations: 7.875 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1671, allocations: 4 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.1677, allocations: 407.3 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1677, allocations: 7.875 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.1678, allocations: 19.98 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1678, allocations: 0 / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1678, allocations: 0 / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1678, allocations: 4 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1678, allocations: 8.031 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1681, allocations: 204.3 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1682, allocations: 92.94 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1682, allocations: 3.984 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.1683, allocations: 4 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1683, allocations: 8 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1683, allocations: 3.984 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1685, allocations: 179.2 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1685, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1687, allocations: 23.95 kB / 0.5625 GB, free: 14.92 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 (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.002284/0.171, allocations: 1.098 MB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1713, allocations: 59.95 kB / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1713, allocations: 0 / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1714, allocations: 39.91 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1718, allocations: 15.75 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1741, allocations: 1.712 MB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1745, allocations: 0.7119 MB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.1746, allocations: 12.66 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1746, allocations: 31.42 kB / 0.5661 GB, free: 11.29 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1746, allocations: 8 kB / 0.5661 GB, free: 11.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.1936, allocations: 3.251 MB / 0.5692 GB, free: 8.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/8.88, allocations: 15.22 kB / 0.5693 GB, free: 8.086 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 12.140700408024713]