Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009405, allocations: 93.56 kB / 17.35 MB, free: 6.371 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.0009466/0.0009468, allocations: 172.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2122/0.2122, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003919, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003101/0.1633, allocations: 1.374 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1652, allocations: 0.8343 MB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1654, allocations: 4 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.1658, allocations: 51.86 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1662, allocations: 63.8 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.1665, allocations: 98.08 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1668, allocations: 87.7 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.1669, allocations: 8 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.167, allocations: 43.83 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1672, allocations: 43.78 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1672, allocations: 0 / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1674, allocations: 39.91 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.1674, allocations: 11.98 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.1675, allocations: 57.45 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1678, allocations: 95.91 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1678, allocations: 4 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1678, allocations: 4 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1678, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006601/0.1685, allocations: 383.2 kB / 475.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.1685, allocations: 12.03 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.1686, allocations: 8.844 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1689, allocations: 204.1 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1689, allocations: 4.375 kB / 475.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1689, allocations: 4.125 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1691, allocations: 49.67 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1691, allocations: 0 / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1692, allocations: 4 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1692, allocations: 0 / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.1693, allocations: 15.98 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1695, allocations: 185.5 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1698, allocations: 50.56 kB / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.1699, allocations: 28.78 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.1699, allocations: 0 / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.1702, allocations: 75.31 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.164e-06/0.1702, allocations: 0 / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003391/0.1706, allocations: 93.52 kB / 476.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1706, allocations: 51.41 kB / 476.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1709, allocations: 198.1 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1709, allocations: 25.7 kB / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.171, allocations: 104.1 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.171, allocations: 15.81 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1711, allocations: 9.719 kB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.1713, allocations: 322.8 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.1714, allocations: 15.98 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.1714, allocations: 29.72 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1716, allocations: 57.89 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1716, allocations: 0 / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001743/0.1718, allocations: 77.53 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1718, allocations: 6.344 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1718, allocations: 4 kB / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1718, allocations: 0 / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.1719, allocations: 15.92 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1719, allocations: 4.031 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.172, allocations: 4 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.172, allocations: 4 kB / 477.1 MB, free: 8.266 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001271/0.1721, allocations: 128.6 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1722, allocations: 11.91 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.1722, allocations: 8.312 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1722, allocations: 3.984 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1722, allocations: 0 / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1723, allocations: 3.984 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1725, allocations: 193.5 kB / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1725, allocations: 0 / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.1725, allocations: 4 kB / 477.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1725, allocations: 0 / 477.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1725, allocations: 0 / 477.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1725, allocations: 4 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1725, allocations: 0 / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1728, allocations: 112.9 kB / 477.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.1728, allocations: 100.9 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1729, allocations: 4 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.1729, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.173, allocations: 7.984 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.173, allocations: 8.125 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1731, allocations: 135.2 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1734, allocations: 19.98 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001222/0.1746, allocations: 401.2 kB / 478.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1748, allocations: 43.92 kB / 478.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1748, allocations: 0 / 478.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.1749, allocations: 16 kB / 478.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1752, allocations: 27.91 kB / 478.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.1758, allocations: 221 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1761, allocations: 0.7005 MB / 479.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.1762, allocations: 20.78 kB / 479.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1762, allocations: 11.44 kB / 479.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1762, allocations: 4 kB / 479.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Templates: time 0.005302/0.1815, allocations: 1.409 MB / 480.7 MB, free: 4.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches