Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001347/0.001347, allocations: 113 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.00143/0.00143, allocations: 217.4 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.576/1.576, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 77.91 kB / 0.4886 GB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1601, allocations: 65.41 MB / 0.5525 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005157/0.1652, allocations: 1.985 MB / 0.5544 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1677, allocations: 1.201 MB / 0.5556 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1678, allocations: 3.938 kB / 0.5556 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.1686, allocations: 203.3 kB / 0.5558 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.1691, allocations: 203.3 kB / 0.556 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.1696, allocations: 159.5 kB / 0.5561 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1699, allocations: 263.2 kB / 0.5564 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.17, allocations: 24.3 kB / 0.5564 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1702, allocations: 119.4 kB / 0.5565 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1704, allocations: 127.5 kB / 0.5567 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1705, allocations: 12 kB / 0.5567 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1706, allocations: 51.98 kB / 0.5567 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.1707, allocations: 55.75 kB / 0.5568 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1708, allocations: 91.36 kB / 0.5569 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1712, allocations: 239.2 kB / 0.5571 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1712, allocations: 4 kB / 0.5571 GB, free: 5.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1712, allocations: 0 / 0.5571 GB, free: 5.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1712, allocations: 0 / 0.5571 GB, free: 5.453 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009769/0.1722, allocations: 0.5774 MB / 0.5577 GB, free: 4.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1722, allocations: 12.03 kB / 0.5577 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.414e-05/0.1722, allocations: 192 / 0.5577 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.1723, allocations: 34.75 kB / 0.5577 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.1723, allocations: 24.8 kB / 0.5577 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1728, allocations: 287.8 kB / 0.558 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1728, allocations: 16.12 kB / 0.558 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1728, allocations: 4 kB / 0.558 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.1731, allocations: 108.1 kB / 0.5581 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1731, allocations: 0 / 0.5581 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1731, allocations: 0 / 0.5581 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1731, allocations: 3.938 kB / 0.5581 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1732, allocations: 39.98 kB / 0.5582 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1738, allocations: 385.5 kB / 0.5585 GB, free: 3.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.1741, allocations: 109.3 kB / 0.5586 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1742, allocations: 49.62 kB / 0.5587 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1742, allocations: 4.062 kB / 0.5587 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.1745, allocations: 113.1 kB / 0.5588 GB, free: 3.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.644e-06/0.1745, allocations: 0 / 0.5588 GB, free: 3.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005317/0.175, allocations: 185.8 kB / 0.559 GB, free: 3.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.1751, allocations: 102.8 kB / 0.5591 GB, free: 3.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.1755, allocations: 359.2 kB / 0.5594 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1756, allocations: 33.7 kB / 0.5594 GB, free: 2.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1757, allocations: 140.1 kB / 0.5596 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1757, allocations: 27.8 kB / 0.5596 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.1758, allocations: 33.7 kB / 0.5596 GB, free: 2.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.176, allocations: 338.8 kB / 0.56 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1761, allocations: 36.11 kB / 0.56 GB, free: 2.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1762, allocations: 87.25 kB / 0.5601 GB, free: 2.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1764, allocations: 95.39 kB / 0.5602 GB, free: 1.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1764, allocations: 0 / 0.5602 GB, free: 1.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003169/0.1767, allocations: 145.5 kB / 0.5603 GB, free: 1.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1767, allocations: 11.94 kB / 0.5603 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1768, allocations: 0 / 0.5603 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1768, allocations: 0 / 0.5603 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1769, allocations: 27.98 kB / 0.5603 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1769, allocations: 3.938 kB / 0.5603 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.281e-05/0.177, allocations: 19.95 kB / 0.5604 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.177, allocations: 4 kB / 0.5604 GB, free: 1.781 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001807/0.1772, allocations: 152 kB / 0.5605 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.1772, allocations: 35.73 kB / 0.5606 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.222e-05/0.1773, allocations: 29.83 kB / 0.5606 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1773, allocations: 0 / 0.5606 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1773, allocations: 128 / 0.5606 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1773, allocations: 7.938 kB / 0.5606 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.1776, allocations: 257.5 kB / 0.5608 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1776, allocations: 4 kB / 0.5608 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.1776, allocations: 11.94 kB / 0.5608 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1776, allocations: 0 / 0.5608 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1776, allocations: 8 kB / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1776, allocations: 0 / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1776, allocations: 0 / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.178, allocations: 185.7 kB / 0.561 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.1781, allocations: 96.97 kB / 0.5611 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1781, allocations: 8 kB / 0.5611 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.1782, allocations: 7.984 kB / 0.5611 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.1783, allocations: 11.92 kB / 0.5612 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1783, allocations: 11.94 kB / 0.5612 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.1786, allocations: 257.9 kB / 0.5614 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1786, allocations: 0 / 0.5614 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1788, allocations: 47.88 kB / 0.5615 GB, free: 0.5703 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.1811, allocations: 1.029 MB / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.1814, allocations: 83.89 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.1814, allocations: 8.125 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1816, allocations: 43.92 kB / 0.5626 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.1821, allocations: 67.05 kB / 0.5627 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.1857, allocations: 2.36 MB / 0.565 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1861, allocations: 0.748 MB / 0.5657 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1862, allocations: 41.91 kB / 0.5657 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1864, allocations: 71.41 kB / 0.5658 GB, free: 12.13 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1864, allocations: 0 / 0.5658 GB, free: 12.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.2116, allocations: 5.858 MB / 0.5715 GB, free: 6.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/8.745, allocations: 12 kB / 0.5715 GB, free: 6.355 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.149283646955155]