Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001291/0.001291, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001668/0.001668, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.534/1.534, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2318/0.2318, allocations: 46.92 MB / 357.1 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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.89 kB / 0.491 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1503, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.004249/0.1545, allocations: 1.611 MB / 0.557 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1571, allocations: 1.16 MB / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1572, allocations: 4 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1576, allocations: 19.86 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.158, allocations: 87.61 kB / 0.5582 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1583, allocations: 91.69 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1586, allocations: 75.7 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1587, allocations: 8 kB / 0.5584 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.1588, allocations: 27.91 kB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.159, allocations: 27.86 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.159, allocations: 4 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.1592, allocations: 103.9 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.1593, allocations: 15.92 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.1593, allocations: 27.8 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.1598, allocations: 143.5 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1598, allocations: 0 / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1598, allocations: 0 / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1598, allocations: 0 / 0.5587 GB, free: 2.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009213/0.1607, allocations: 402.8 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1608, allocations: 12.03 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.1609, allocations: 30.75 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.161, allocations: 8.891 kB / 0.5591 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1613, allocations: 196.2 kB / 0.5593 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1613, allocations: 4.375 kB / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1613, allocations: 12.36 kB / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1615, allocations: 63.28 kB / 0.5594 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1615, allocations: 0 / 0.5594 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1615, allocations: 0 / 0.5594 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1615, allocations: 4 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.369e-05/0.1616, allocations: 23.97 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.1621, allocations: 276.9 kB / 0.5597 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1623, allocations: 42.5 kB / 0.5597 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.1623, allocations: 16.94 kB / 0.5598 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1623, allocations: 0 / 0.5598 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1624, allocations: 34.56 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1624, allocations: 8 kB / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005906/0.163, allocations: 133.4 kB / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.163, allocations: 81.11 kB / 0.56 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1632, allocations: 145.8 kB / 0.5601 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1632, allocations: 25.7 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.1633, allocations: 92.14 kB / 0.5603 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1634, allocations: 27.78 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1634, allocations: 13.72 kB / 0.5603 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.1637, allocations: 326.8 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.1638, allocations: 19.98 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.1639, allocations: 33.64 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.164, allocations: 56.98 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.164, allocations: 0 / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002111/0.1642, allocations: 81.56 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1642, allocations: 9.719 kB / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1642, allocations: 0 / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1643, allocations: 0 / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.1643, allocations: 11.98 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1643, allocations: 4 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1644, allocations: 7.938 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.1644, allocations: 4.047 kB / 0.5608 GB, free: 15.99 MB / 430.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 (5): * Single equations (assignments): 5 * 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.0001109/0.1645, allocations: 120 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1646, allocations: 7.953 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1649, allocations: 90.19 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1649, allocations: 4 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1649, allocations: 0 / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1649, allocations: 7.922 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.1655, allocations: 354.5 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1655, allocations: 3.984 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.1655, allocations: 8 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1655, allocations: 4 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1655, allocations: 3.938 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1655, allocations: 0 / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1655, allocations: 0 / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1658, allocations: 183.7 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.1659, allocations: 89.06 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1659, allocations: 8 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.166, allocations: 7.984 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.166, allocations: 0 / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.166, allocations: 7.938 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1662, allocations: 115.2 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1662, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1664, allocations: 39.86 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002266/0.1687, allocations: 1.098 MB / 0.5629 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1689, allocations: 55.84 kB / 0.563 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1689, allocations: 0 / 0.563 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.169, allocations: 19.98 kB / 0.563 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1694, allocations: 15.98 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1715, allocations: 1.432 MB / 0.5644 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1719, allocations: 0.6924 MB / 0.5651 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.172, allocations: 16 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.1721, allocations: 23.42 kB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1721, allocations: 0 / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.2022, allocations: 3.242 MB / 0.5683 GB, free: 8.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.419, allocations: 16.81 kB / 0.5683 GB, free: 8.32 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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: 11.57767449086532]