Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001558/0.001558, allocations: 103.8 kB / 15.98 MB, free: 6.348 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.001467/0.001467, allocations: 193.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3152/0.3152, allocations: 43.5 MB / 313.6 MB, free: 8.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 63.91 kB / 382.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1605, allocations: 57.77 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00509/0.1657, allocations: 1.768 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1682, allocations: 0.7924 MB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1684, allocations: 0 / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.169, allocations: 47.88 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.1695, allocations: 55.83 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.17, allocations: 79.78 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1703, allocations: 95.75 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1705, allocations: 12.22 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1707, allocations: 43.73 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1708, allocations: 39.77 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1708, allocations: 4 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.171, allocations: 47.98 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.1711, allocations: 27.86 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.1712, allocations: 51.59 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1715, allocations: 119.8 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1716, allocations: 4 kB / 443.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1716, allocations: 0 / 443.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.1716, allocations: 0 / 443.3 MB, free: 11.19 MB / 382.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.0007625/0.1724, allocations: 438.7 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.1725, allocations: 15.88 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.1725, allocations: 30.75 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1726, allocations: 16.84 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.173, allocations: 219.7 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.173, allocations: 4.375 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1731, allocations: 7.844 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.1734, allocations: 57.61 kB / 444 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1734, allocations: 0 / 444 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1734, allocations: 4 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1734, allocations: 0 / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.1736, allocations: 15.98 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.1742, allocations: 300.9 kB / 444.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1745, allocations: 58.62 kB / 444.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.1746, allocations: 20.84 kB / 444.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1747, allocations: 0 / 444.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.175, allocations: 75.33 kB / 444.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.175, allocations: 0 / 444.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008724/0.1759, allocations: 185.2 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.1759, allocations: 55.41 kB / 444.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.1763, allocations: 259.7 kB / 445 MB, free: 9.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1764, allocations: 29.7 kB / 445 MB, free: 9.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1765, allocations: 116 kB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.1766, allocations: 27.73 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.1767, allocations: 25.7 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1769, allocations: 326.8 kB / 445.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.177, allocations: 19.98 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1772, allocations: 41.58 kB / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1774, allocations: 57.72 kB / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1774, allocations: 0 / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003289/0.1777, allocations: 109.4 kB / 445.7 MB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1778, allocations: 4 kB / 445.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1778, allocations: 4 kB / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1778, allocations: 0 / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.178, allocations: 15.98 kB / 445.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.178, allocations: 0 / 445.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.1781, allocations: 7.938 kB / 445.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1781, allocations: 4 kB / 445.8 MB, free: 8.441 MB / 382.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.0001679/0.1783, allocations: 141.8 kB / 445.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.1784, allocations: 15.8 kB / 445.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.1785, allocations: 21.39 kB / 445.9 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1785, allocations: 0 / 445.9 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.1785, allocations: 4 kB / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1785, allocations: 3.938 kB / 446 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.1793, allocations: 415.4 kB / 446.4 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1793, allocations: 0 / 446.4 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.1794, allocations: 8 kB / 446.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.1794, allocations: 3.938 kB / 446.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1794, allocations: 0 / 446.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1794, allocations: 4 kB / 446.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1795, allocations: 0 / 446.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1799, allocations: 208.2 kB / 446.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.18, allocations: 96.84 kB / 446.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.18, allocations: 7.938 kB / 446.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1802, allocations: 4 kB / 446.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.1803, allocations: 7.984 kB / 446.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1803, allocations: 4 kB / 446.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.1806, allocations: 203 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1806, allocations: 0 / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.1811, allocations: 23.98 kB / 446.9 MB, free: 7.188 MB / 382.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.002612/0.1837, allocations: 1.109 MB / 448 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.184, allocations: 67.91 kB / 448.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1841, allocations: 0 / 448.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1842, allocations: 24 kB / 448.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.1848, allocations: 35.27 kB / 448.2 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.1878, allocations: 1.837 MB / 450 MB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.1883, allocations: 0.7196 MB / 450.7 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.828e-05/0.1884, allocations: 12.88 kB / 450.7 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1885, allocations: 43.42 kB / 450.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1886, allocations: 0 / 450.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/0.3663, allocations: 3.515 MB / 454.3 MB, free: 48.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.3666, allocations: 240.2 kB / 454.5 MB, free: 47.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.162, allocations: 0 / 454.5 MB, free: 47.82 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches