Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001312, allocations: 107.6 kB / 17.21 MB, free: 6.293 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.001711/0.001711, allocations: 194 kB / 18.12 MB, free: 5.383 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.485/1.485, allocations: 222.9 MB / 241.8 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.18 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001958, allocations: 65.27 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.162, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003333/0.1654, allocations: 1.772 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1668, allocations: 0.877 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.1669, allocations: 4 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1673, allocations: 103.8 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1675, allocations: 79.78 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1678, allocations: 95.78 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.168, allocations: 111.7 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1681, allocations: 8 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1682, allocations: 59.75 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1684, allocations: 63.7 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1684, allocations: 4 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1685, allocations: 51.97 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.1686, allocations: 31.91 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.1687, allocations: 39.69 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1689, allocations: 131.9 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1689, allocations: 3.938 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1689, allocations: 0 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1689, allocations: 0 / 471.9 MB, free: 11.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000604/0.1695, allocations: 434.9 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1696, allocations: 16.03 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1696, allocations: 12.78 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1699, allocations: 228.7 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1699, allocations: 384 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1699, allocations: 8.125 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1701, allocations: 53.67 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1701, allocations: 4 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1701, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1701, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.1702, allocations: 31.92 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1706, allocations: 304.7 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1709, allocations: 58.56 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.1709, allocations: 24.97 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.171, allocations: 0 / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.1712, allocations: 79.39 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/0.1712, allocations: 0 / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007529/0.1719, allocations: 248.8 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.172, allocations: 59.34 kB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1722, allocations: 234.3 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1722, allocations: 37.69 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.1723, allocations: 104.1 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1723, allocations: 39.55 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.1724, allocations: 25.7 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1725, allocations: 326.8 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1726, allocations: 35.92 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.1727, allocations: 44.7 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1728, allocations: 81.64 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1728, allocations: 0 / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000225/0.173, allocations: 133.4 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1731, allocations: 8 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1731, allocations: 0 / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1731, allocations: 0 / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1732, allocations: 19.98 kB / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1732, allocations: 7.938 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1732, allocations: 4 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.1733, allocations: 8.031 kB / 474.6 MB, free: 8.535 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 (13): * Single equations (assignments): 13 * 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.0001041/0.1734, allocations: 138.3 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1734, allocations: 11.81 kB / 474.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.1734, allocations: 25.39 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1735, allocations: 4 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1735, allocations: 7.922 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1735, allocations: 0 / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.174, allocations: 459.9 kB / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.174, allocations: 0 / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.174, allocations: 12 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.174, allocations: 0 / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1741, allocations: 8 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1741, allocations: 0 / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1741, allocations: 0 / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1743, allocations: 245.2 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1744, allocations: 88.92 kB / 475.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1744, allocations: 4 kB / 475.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.1745, allocations: 7.984 kB / 475.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1746, allocations: 8 kB / 475.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1746, allocations: 7.984 kB / 475.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1747, allocations: 188.3 kB / 475.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1747, allocations: 0 / 475.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.175, allocations: 31.98 kB / 475.8 MB, free: 7.203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001169/0.1762, allocations: 0.5176 MB / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1764, allocations: 79.84 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1764, allocations: 0 / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.1765, allocations: 43.98 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1768, allocations: 31.91 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.1773, allocations: 338.3 kB / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1776, allocations: 0.7197 MB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.1777, allocations: 20.64 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.1777, allocations: 15.44 kB / 477.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1777, allocations: 0 / 477.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of Templates: time 0.00415/0.1819, allocations: 1.896 MB / 479.4 MB, free: 3.711 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches