Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.486/1.486, allocations: 205.4 MB / 223.1 MB, free: 5.75 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.4377/0.4377, allocations: 43.57 MB / 315 MB, free: 8.723 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.0007304/0.0007304, allocations: 16 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.166, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002566/0.1687, allocations: 1.418 MB / 444.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1701, allocations: 0.7731 MB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.1702, allocations: 3.938 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1705, allocations: 31.89 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1707, allocations: 47.83 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.171, allocations: 71.86 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1712, allocations: 99.67 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1713, allocations: 16.2 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.1714, allocations: 35.8 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.1715, allocations: 31.78 kB / 446 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1715, allocations: 4 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.1716, allocations: 35.98 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.1717, allocations: 19.92 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.1718, allocations: 57.44 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.172, allocations: 111.9 kB / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.172, allocations: 0 / 446.2 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.172, allocations: 4 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.172, allocations: 0 / 446.2 MB, free: 9.922 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.0007445/0.1728, allocations: 403 kB / 446.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1728, allocations: 8.031 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.1729, allocations: 8.844 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1731, allocations: 216 kB / 446.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1731, allocations: 8.312 kB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1732, allocations: 8.125 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1734, allocations: 53.67 kB / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1734, allocations: 3.938 kB / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1734, allocations: 0 / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1734, allocations: 0 / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.1735, allocations: 23.92 kB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.1739, allocations: 280.9 kB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1741, allocations: 58.69 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.1742, allocations: 24.84 kB / 447.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1742, allocations: 0 / 447.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1744, allocations: 75.23 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1744, allocations: 4 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.175, allocations: 169.3 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1751, allocations: 51.41 kB / 447.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1753, allocations: 190.1 kB / 447.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1753, allocations: 29.7 kB / 447.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1754, allocations: 104.1 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1754, allocations: 19.72 kB / 447.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1754, allocations: 13.72 kB / 447.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1756, allocations: 334.8 kB / 448.2 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.1756, allocations: 15.98 kB / 448.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.128e-05/0.1757, allocations: 37.7 kB / 448.3 MB, free: 7.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1758, allocations: 61.72 kB / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1758, allocations: 0 / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.176, allocations: 97.58 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.176, allocations: 8.031 kB / 448.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.176, allocations: 3.938 kB / 448.5 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1761, allocations: 0 / 448.5 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.1762, allocations: 23.98 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1762, allocations: 0 / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.1762, allocations: 7.938 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1762, allocations: 0 / 448.5 MB, free: 7.391 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.0001066/0.1763, allocations: 129.8 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.1764, allocations: 7.906 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1764, allocations: 16.72 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1764, allocations: 4.172 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1764, allocations: 0 / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1765, allocations: 11.88 kB / 448.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1769, allocations: 395.2 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1769, allocations: 3.984 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1769, allocations: 11.94 kB / 449.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.177, allocations: 4.031 kB / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.177, allocations: 7.938 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.177, allocations: 0 / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.177, allocations: 0 / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1772, allocations: 204.3 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.1773, allocations: 88.92 kB / 449.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1773, allocations: 8.312 kB / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1774, allocations: 11.98 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1774, allocations: 4 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1774, allocations: 8 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1776, allocations: 144 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1776, allocations: 3.938 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1778, allocations: 20 kB / 449.6 MB, free: 6.227 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.001184/0.179, allocations: 472.6 kB / 450 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1792, allocations: 55.98 kB / 450.1 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1792, allocations: 3.938 kB / 450.1 MB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.1793, allocations: 27.98 kB / 450.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.1797, allocations: 24.42 kB / 450.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.1803, allocations: 242.7 kB / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1806, allocations: 0.7198 MB / 451.1 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.905e-05/0.1807, allocations: 8.891 kB / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1807, allocations: 19.42 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1807, allocations: 0 / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of Templates: time 0.005202/0.1859, allocations: 1.616 MB / 452.7 MB, free: 3.023 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches