Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 100.9 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.001229/0.001229, allocations: 190.5 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.544/1.544, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2618/0.2618, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001664/0.001664, allocations: 69.03 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1598, allocations: 57.8 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003553/0.1634, allocations: 1.697 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1655, allocations: 1.398 MB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.335e-05/0.1656, allocations: 4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.166, allocations: 35.78 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1663, allocations: 59.75 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1665, allocations: 87.72 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1667, allocations: 99.67 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1669, allocations: 8.516 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.167, allocations: 39.8 kB / 444 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1671, allocations: 35.83 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1672, allocations: 8 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1673, allocations: 63.97 kB / 444.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.1674, allocations: 15.92 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.1674, allocations: 35.8 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1677, allocations: 119.6 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1677, allocations: 4 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1677, allocations: 0 / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.1677, allocations: 3.938 kB / 444.2 MB, free: 3.164 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.0006541/0.1684, allocations: 403 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1684, allocations: 11.89 kB / 444.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.1685, allocations: 12.84 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1687, allocations: 201.4 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1688, allocations: 4.375 kB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1688, allocations: 4.125 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.169, allocations: 75.33 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.169, allocations: 3.906 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.169, allocations: 0 / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.169, allocations: 4 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.1691, allocations: 23.98 kB / 445 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1696, allocations: 284.8 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1698, allocations: 62.59 kB / 445.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.1698, allocations: 16.86 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.1699, allocations: 4 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.1701, allocations: 71.38 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1701, allocations: 3.938 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005967/0.1707, allocations: 169.2 kB / 445.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.1707, allocations: 81.11 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1709, allocations: 156.9 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1709, allocations: 29.7 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.171, allocations: 100.1 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.171, allocations: 23.66 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.171, allocations: 25.7 kB / 446 MB, free: 1.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.1711, allocations: 322.8 kB / 446.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.1712, allocations: 23.98 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.1713, allocations: 42.5 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1714, allocations: 61.73 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1714, allocations: 0 / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001624/0.1716, allocations: 97.53 kB / 446.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1716, allocations: 8 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1716, allocations: 0 / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1716, allocations: 0 / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.1717, allocations: 15.98 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1717, allocations: 4 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1718, allocations: 11.88 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1718, allocations: 8 kB / 446.6 MB, free: 0.5977 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 9.333e-05/0.1719, allocations: 125.7 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1719, allocations: 11.91 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.172, allocations: 8.719 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.172, allocations: 4 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.172, allocations: 0 / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.172, allocations: 7.922 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.1724, allocations: 391.3 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1724, allocations: 384 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.1725, allocations: 8 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1725, allocations: 4 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1725, allocations: 7.938 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1725, allocations: 3.984 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1725, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1728, allocations: 208.2 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1729, allocations: 85.02 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1729, allocations: 7.875 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.173, allocations: 8.188 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.173, allocations: 3.984 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1731, allocations: 7.938 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1732, allocations: 119.2 kB / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1732, allocations: 0 / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1735, allocations: 32 kB / 447.6 MB, free: 15.46 MB / 334.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.00139/0.1748, allocations: 498.1 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1751, allocations: 63.91 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.1751, allocations: 3.938 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.1752, allocations: 31.88 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1756, allocations: 35.25 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.1762, allocations: 199 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1766, allocations: 0.6924 MB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.998e-05/0.1766, allocations: 25.17 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.1767, allocations: 23.44 kB / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1767, allocations: 0 / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Templates: time 0.005856/0.1825, allocations: 1.942 MB / 451.1 MB, free: 12.01 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches