Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001599/0.001599, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.664/1.664, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2611/0.2611, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.00176/0.00176, allocations: 68.3 kB / 382.7 MB, free: 56.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1643, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003416/0.1678, allocations: 1.685 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1692, allocations: 0.7961 MB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1694, allocations: 4 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.1697, allocations: 43.77 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.1699, allocations: 47.77 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1702, allocations: 95.69 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1704, allocations: 87.7 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1705, allocations: 12.52 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.1706, allocations: 39.78 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.1707, allocations: 31.86 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1707, allocations: 4 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.1708, allocations: 47.97 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.1709, allocations: 15.92 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.1709, allocations: 31.8 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1711, allocations: 111.6 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1711, allocations: 0 / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1712, allocations: 0 / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1712, allocations: 0 / 443.6 MB, free: 3.82 MB / 318.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.0005353/0.1717, allocations: 411 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1718, allocations: 15.89 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.1718, allocations: 16.75 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.172, allocations: 206.1 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.172, allocations: 384 / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1721, allocations: 12.12 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1722, allocations: 49.67 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1722, allocations: 3.938 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1723, allocations: 4 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1723, allocations: 4 kB / 444.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.752e-05/0.1724, allocations: 19.98 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.1727, allocations: 280.9 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1729, allocations: 58.61 kB / 444.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.1729, allocations: 20.86 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.173, allocations: 8 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1732, allocations: 71.31 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1732, allocations: 0 / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005214/0.1737, allocations: 169.2 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1737, allocations: 51.41 kB / 444.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1739, allocations: 178.1 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1739, allocations: 25.7 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.1739, allocations: 100.1 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.174, allocations: 31.62 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.174, allocations: 21.72 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.1741, allocations: 326.8 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.1741, allocations: 19.98 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.1742, allocations: 41.64 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.933e-05/0.1743, allocations: 65.77 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1743, allocations: 0 / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001498/0.1745, allocations: 97.53 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1745, allocations: 4 kB / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1745, allocations: 3.938 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1745, allocations: 0 / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.1746, allocations: 19.98 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1746, allocations: 0 / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.1747, allocations: 7.938 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1747, allocations: 8.031 kB / 445.9 MB, free: 1.281 MB / 318.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 8.486e-05/0.1748, allocations: 129.8 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1748, allocations: 15.75 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.1749, allocations: 12.72 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1749, allocations: 4 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1749, allocations: 0 / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1749, allocations: 7.922 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.1753, allocations: 391.3 kB / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1753, allocations: 0 / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.1754, allocations: 8 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1754, allocations: 4 kB / 446.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1754, allocations: 3.938 kB / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1754, allocations: 384 / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1754, allocations: 0 / 446.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1756, allocations: 200.3 kB / 446.6 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1756, allocations: 93.19 kB / 446.7 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1757, allocations: 7.938 kB / 446.7 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.1757, allocations: 11.88 kB / 446.7 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.1758, allocations: 7.984 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1758, allocations: 4 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.346e-05/0.1759, allocations: 131.2 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1759, allocations: 0 / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1762, allocations: 28 kB / 446.9 MB, free: 132 kB / 318.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.001132/0.1773, allocations: 470.5 kB / 447.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1775, allocations: 67.89 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1775, allocations: 0 / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.1776, allocations: 35.92 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.178, allocations: 23.97 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.1784, allocations: 215 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1787, allocations: 0.7002 MB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.59e-05/0.1788, allocations: 8.891 kB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1788, allocations: 23.42 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1788, allocations: 0 / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.004424/0.1832, allocations: 1.684 MB / 450.1 MB, free: 12.96 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches