Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 102.8 kB / 16.02 MB, free: 76 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.001559/0.001559, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.5032/0.5032, allocations: 43.58 MB / 315 MB, free: 8.938 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.0006087/0.0006091, allocations: 16 kB / 384.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1556, allocations: 58.86 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002298/0.158, allocations: 1.414 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1594, allocations: 0.773 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.1595, allocations: 7.938 kB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1599, allocations: 75.83 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1602, allocations: 63.8 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1604, allocations: 79.84 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1607, allocations: 99.69 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1608, allocations: 12.2 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1609, allocations: 47.78 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1611, allocations: 59.75 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1611, allocations: 4 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1612, allocations: 39.98 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.1613, allocations: 19.92 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.1614, allocations: 65.42 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1616, allocations: 111.8 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1616, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1616, allocations: 0 / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1616, allocations: 0 / 446.3 MB, free: 10.02 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.0006809/0.1623, allocations: 415 kB / 446.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1624, allocations: 8.031 kB / 446.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.1624, allocations: 16.75 kB / 446.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1627, allocations: 208.8 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1628, allocations: 8.375 kB / 447 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1628, allocations: 4.125 kB / 447 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.163, allocations: 57.67 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.163, allocations: 3.938 kB / 447 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.163, allocations: 4 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.163, allocations: 0 / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/0.1631, allocations: 23.92 kB / 447 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1636, allocations: 284.9 kB / 447.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1638, allocations: 62.67 kB / 447.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.1639, allocations: 28.78 kB / 447.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1639, allocations: 4 kB / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.1641, allocations: 67.33 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1641, allocations: 0 / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.1647, allocations: 173.1 kB / 447.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1647, allocations: 59.39 kB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.165, allocations: 214.4 kB / 447.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.165, allocations: 25.7 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1651, allocations: 108.1 kB / 448.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1651, allocations: 23.66 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1651, allocations: 13.7 kB / 448.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1653, allocations: 330.8 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.1653, allocations: 16 kB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.1654, allocations: 33.7 kB / 448.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1655, allocations: 73.62 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1655, allocations: 0 / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1657, allocations: 97.56 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1657, allocations: 11.94 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1657, allocations: 80 / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1658, allocations: 0 / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.1658, allocations: 16 kB / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1659, allocations: 7.984 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.1659, allocations: 11.95 kB / 448.7 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1659, allocations: 4 kB / 448.7 MB, free: 7.414 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.0001144/0.1661, allocations: 125.8 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1661, allocations: 11.89 kB / 448.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.1661, allocations: 17.41 kB / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1661, allocations: 0 / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1661, allocations: 0 / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1662, allocations: 3.938 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1666, allocations: 403.4 kB / 449.2 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1666, allocations: 0 / 449.2 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.1666, allocations: 15.88 kB / 449.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1666, allocations: 0 / 449.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1667, allocations: 7.938 kB / 449.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1667, allocations: 0 / 449.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1667, allocations: 3.938 kB / 449.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1669, allocations: 200.3 kB / 449.4 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.167, allocations: 92.91 kB / 449.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.167, allocations: 12.31 kB / 449.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.1671, allocations: 0 / 449.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1671, allocations: 11.98 kB / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1671, allocations: 4 kB / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1673, allocations: 164.2 kB / 449.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1673, allocations: 4 kB / 449.7 MB, free: 6.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1676, allocations: 27.98 kB / 449.8 MB, free: 6.223 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.001203/0.1688, allocations: 464.1 kB / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.169, allocations: 63.92 kB / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.169, allocations: 0 / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.1691, allocations: 23.98 kB / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1694, allocations: 27.97 kB / 450.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.1699, allocations: 270.2 kB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1703, allocations: 0.716 MB / 451.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.1703, allocations: 17.19 kB / 451.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1704, allocations: 23.36 kB / 451.3 MB, free: 4.609 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1704, allocations: 0 / 451.3 MB, free: 4.609 MB / 382.1 MB Notification: Performance of Templates: time 0.004465/0.1748, allocations: 1.615 MB / 453 MB, free: 2.996 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches