Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 104.8 kB / 15.98 MB, free: 5.871 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.001581/0.001581, allocations: 195.8 kB / 16.91 MB, free: 5.734 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.927/1.927, allocations: 205.1 MB / 222.8 MB, free: 4.582 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.445/0.445, allocations: 43.5 MB / 313.6 MB, free: 8.273 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.001541/0.001542, allocations: 74.55 kB / 382.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1656, allocations: 57.78 MB / 440 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003701/0.1693, allocations: 1.753 MB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1709, allocations: 0.796 MB / 442.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.171, allocations: 0 / 442.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.1714, allocations: 43.81 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1717, allocations: 39.84 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.172, allocations: 87.84 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1722, allocations: 99.69 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1723, allocations: 12.22 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.1724, allocations: 43.78 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.1725, allocations: 27.84 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1725, allocations: 4 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.1726, allocations: 39.98 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1727, allocations: 23.86 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.1727, allocations: 39.67 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.173, allocations: 119.9 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.173, allocations: 4 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.173, allocations: 0 / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.173, allocations: 0 / 443.1 MB, free: 11.34 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.0005889/0.1736, allocations: 414.9 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.1737, allocations: 11.89 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1737, allocations: 12.84 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.174, allocations: 212.7 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.174, allocations: 4.375 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.174, allocations: 8.062 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1742, allocations: 57.67 kB / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1742, allocations: 0 / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1742, allocations: 0 / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1742, allocations: 0 / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.723e-05/0.1743, allocations: 19.98 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1747, allocations: 288.9 kB / 444.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1749, allocations: 58.62 kB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.175, allocations: 20.84 kB / 444.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.175, allocations: 0 / 444.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.1752, allocations: 67.39 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.1753, allocations: 4 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005632/0.1758, allocations: 181.1 kB / 444.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1759, allocations: 51.41 kB / 444.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1761, allocations: 195.3 kB / 444.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1761, allocations: 29.7 kB / 444.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.1762, allocations: 100.1 kB / 444.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1762, allocations: 19.72 kB / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1763, allocations: 29.7 kB / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1764, allocations: 330.8 kB / 445.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.1765, allocations: 23.88 kB / 445.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.1765, allocations: 33.7 kB / 445.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1766, allocations: 57.7 kB / 445.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1767, allocations: 0 / 445.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.1768, allocations: 113.4 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1769, allocations: 8.031 kB / 445.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1769, allocations: 192 / 445.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1769, allocations: 8.359 kB / 445.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.177, allocations: 15.94 kB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.177, allocations: 0 / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.1771, allocations: 15.92 kB / 445.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1771, allocations: 0 / 445.5 MB, free: 8.762 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 9.774e-05/0.1772, allocations: 133.7 kB / 445.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1772, allocations: 7.906 kB / 445.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.1773, allocations: 25.39 kB / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1773, allocations: 0 / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1773, allocations: 0 / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1773, allocations: 3.938 kB / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.1778, allocations: 395.2 kB / 446 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1778, allocations: 0 / 446 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.1778, allocations: 11.98 kB / 446 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1778, allocations: 32 / 446 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1779, allocations: 11.94 kB / 446.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1779, allocations: 0 / 446.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1779, allocations: 0 / 446.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1781, allocations: 204.5 kB / 446.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.1782, allocations: 88.92 kB / 446.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1782, allocations: 7.922 kB / 446.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.1783, allocations: 12 kB / 446.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1783, allocations: 4 kB / 446.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1784, allocations: 7.984 kB / 446.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1785, allocations: 148.9 kB / 446.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1785, allocations: 0 / 446.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1788, allocations: 31.98 kB / 446.5 MB, free: 7.586 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.001083/0.1799, allocations: 472.6 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1801, allocations: 63.91 kB / 447.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1801, allocations: 0 / 447.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.1801, allocations: 27.94 kB / 447.1 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1805, allocations: 31.95 kB / 447.1 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.181, allocations: 255.2 kB / 447.4 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1813, allocations: 0.708 MB / 448.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.1814, allocations: 25.17 kB / 448.1 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.1814, allocations: 11.44 kB / 448.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1814, allocations: 4 kB / 448.1 MB, free: 5.984 MB / 382.1 MB Notification: Performance of Templates: time 0.004825/0.1862, allocations: 1.673 MB / 449.8 MB, free: 4.316 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches