Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 112.3 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009938/0.0009937, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 64 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1535, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004007/0.1575, allocations: 1.765 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1594, allocations: 0.8537 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1596, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.1602, allocations: 35.83 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1605, allocations: 39.84 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.161, allocations: 102.5 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1613, allocations: 99.69 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1615, allocations: 12.2 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1616, allocations: 47.67 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1617, allocations: 27.86 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.1617, allocations: 7.984 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1619, allocations: 43.98 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.162, allocations: 15.92 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.1621, allocations: 31.81 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.1624, allocations: 111.8 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1624, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1624, allocations: 0 / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1625, allocations: 4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007089/0.1632, allocations: 403 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1632, allocations: 12.03 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1633, allocations: 30.75 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1634, allocations: 8.844 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1636, allocations: 212.5 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1637, allocations: 4 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1637, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1639, allocations: 57.61 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1639, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1639, allocations: 4 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1639, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.164, allocations: 19.92 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1645, allocations: 288.8 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1647, allocations: 62.62 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.1647, allocations: 20.84 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1648, allocations: 4 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.165, allocations: 67.39 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.165, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000599/0.1656, allocations: 169.3 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1657, allocations: 55.34 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1658, allocations: 168 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1659, allocations: 25.7 kB / 473.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1659, allocations: 100.1 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.166, allocations: 27.64 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.166, allocations: 29.7 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1662, allocations: 318.8 kB / 474.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.1662, allocations: 20 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.1663, allocations: 45.58 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1664, allocations: 53.7 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1665, allocations: 0 / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.1666, allocations: 101.5 kB / 474.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1667, allocations: 8 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1667, allocations: 3.938 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1667, allocations: 3.984 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.1668, allocations: 12 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1668, allocations: 4 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1669, allocations: 0 / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1669, allocations: 8 kB / 474.3 MB, free: 8.879 MB / 350.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001172/0.167, allocations: 129.8 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.167, allocations: 7.906 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.1671, allocations: 16.66 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1671, allocations: 0 / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1671, allocations: 3.984 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1671, allocations: 0 / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.1676, allocations: 391.3 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1676, allocations: 3.984 kB / 474.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.1676, allocations: 12.03 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1676, allocations: 8.312 kB / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1677, allocations: 0 / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1677, allocations: 4 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1677, allocations: 0 / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1679, allocations: 212.1 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.168, allocations: 89 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.168, allocations: 4 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.1681, allocations: 4 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1681, allocations: 11.98 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1682, allocations: 4 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1683, allocations: 121.3 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1683, allocations: 0 / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1685, allocations: 20 kB / 475.3 MB, free: 7.75 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00151/0.1701, allocations: 1.099 MB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1703, allocations: 59.92 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1703, allocations: 3.938 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.1704, allocations: 27.98 kB / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1707, allocations: 27.91 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1725, allocations: 1.585 MB / 478.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1729, allocations: 0.7002 MB / 478.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.173, allocations: 21.17 kB / 478.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.173, allocations: 31.42 kB / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.173, allocations: 0 / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.1887, allocations: 3.09 MB / 482 MB, free: 1.254 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.1889, allocations: 245.7 kB / 482.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.088, allocations: 3.938 kB / 482.2 MB, free: 0.9844 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches