Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.0013/0.0013, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.487/1.487, allocations: 222.9 MB / 243 MB, free: 15.07 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.25/0.25, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.12 kB / 409.9 MB, free: 26.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004576/0.1573, allocations: 1.706 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1598, allocations: 0.8808 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1599, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1603, allocations: 43.75 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1606, allocations: 59.77 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.1611, allocations: 107.6 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1614, allocations: 91.7 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1615, allocations: 16.22 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1617, allocations: 35.78 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.1618, allocations: 31.86 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1618, allocations: 8 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.162, allocations: 39.97 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.1621, allocations: 27.86 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.1622, allocations: 31.75 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1625, allocations: 115.6 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1625, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1625, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1625, allocations: 0 / 473.9 MB, free: 10.42 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007137/0.1632, allocations: 414.9 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1633, allocations: 12.03 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.1634, allocations: 16.78 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.1638, allocations: 218.6 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1638, allocations: 384 / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1638, allocations: 8.125 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1641, allocations: 57.66 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1641, allocations: 0 / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1641, allocations: 3.984 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1641, allocations: 0 / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1643, allocations: 19.98 kB / 474.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.1648, allocations: 296.7 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1651, allocations: 50.69 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.95e-05/0.1652, allocations: 24.84 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1652, allocations: 0 / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1654, allocations: 67.39 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.1654, allocations: 0 / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008034/0.1663, allocations: 181.1 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1663, allocations: 51.41 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1666, allocations: 199.3 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1667, allocations: 29.64 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.1668, allocations: 108.1 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.1668, allocations: 23.72 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.1669, allocations: 21.7 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1671, allocations: 326.8 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.1672, allocations: 20 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1673, allocations: 37.7 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1675, allocations: 61.7 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1675, allocations: 384 / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003179/0.1679, allocations: 97.52 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1679, allocations: 8 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1679, allocations: 0 / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.168, allocations: 0 / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1681, allocations: 19.94 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1681, allocations: 7.938 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.1682, allocations: 11.92 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1683, allocations: 4 kB / 476.2 MB, free: 7.828 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 (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.0001384/0.1684, allocations: 121.9 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1685, allocations: 16 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.1686, allocations: 21.39 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1686, allocations: 3.938 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1686, allocations: 4 kB / 476.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1686, allocations: 3.938 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.1693, allocations: 383.3 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1693, allocations: 8.031 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.1694, allocations: 15.98 kB / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1694, allocations: 0 / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1695, allocations: 3.938 kB / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1695, allocations: 0 / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1695, allocations: 4 kB / 476.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.1699, allocations: 212.3 kB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.17, allocations: 85.02 kB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1701, allocations: 11.92 kB / 477.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1702, allocations: 0 / 477.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.1703, allocations: 4 kB / 477.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.1703, allocations: 11.98 kB / 477.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1705, allocations: 147.9 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1705, allocations: 0 / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.171, allocations: 24 kB / 477.3 MB, free: 6.664 MB / 350.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.001876/0.1729, allocations: 465.7 kB / 477.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1732, allocations: 55.91 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1732, allocations: 64 / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1734, allocations: 39.92 kB / 477.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.1739, allocations: 39.84 kB / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.1746, allocations: 235.1 kB / 478.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1751, allocations: 0.7002 MB / 478.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.1752, allocations: 25.23 kB / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.1753, allocations: 15.44 kB / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1753, allocations: 0 / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of Templates: time 0.007468/0.1827, allocations: 1.703 MB / 480.6 MB, free: 3.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches