Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 109.6 kB / 17.33 MB, free: 6.004 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.001171/0.001171, allocations: 189.4 kB / 18.25 MB, free: 5.094 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.388/1.388, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2224/0.2224, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 73.23 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 60.81 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005061/0.1537, allocations: 1.76 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1561, allocations: 0.8653 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1562, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.1567, allocations: 35.83 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.157, allocations: 55.83 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1575, allocations: 87.83 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1577, allocations: 103.7 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1579, allocations: 12.23 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.158, allocations: 35.8 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1581, allocations: 39.78 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1582, allocations: 4 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1583, allocations: 39.98 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.1584, allocations: 23.92 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.1585, allocations: 43.72 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.1588, allocations: 107.9 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1588, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1588, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1589, allocations: 0 / 471.9 MB, free: 11.53 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.000734/0.1596, allocations: 418.9 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1597, allocations: 19.91 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.1597, allocations: 8.844 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1601, allocations: 216.8 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1601, allocations: 384 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1601, allocations: 8.125 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1604, allocations: 53.67 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1604, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1604, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1605, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1606, allocations: 23.92 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.1612, allocations: 288.8 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1615, allocations: 58.67 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.1616, allocations: 16.86 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1616, allocations: 4 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.1619, allocations: 79.31 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1619, allocations: 0 / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008787/0.1628, allocations: 173.1 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.1629, allocations: 55.41 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.1632, allocations: 195.3 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1632, allocations: 25.7 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.1633, allocations: 108.1 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.1634, allocations: 23.7 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.1635, allocations: 25.72 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1637, allocations: 326.8 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1638, allocations: 23.98 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.164, allocations: 33.7 kB / 474.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1642, allocations: 65.72 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1642, allocations: 3.984 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003346/0.1646, allocations: 97.58 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1646, allocations: 11.94 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1646, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1646, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1648, allocations: 15.98 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.1648, allocations: 4 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.1649, allocations: 11.88 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1649, allocations: 4 kB / 474.3 MB, free: 8.934 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.0001696/0.1651, allocations: 126 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.1652, allocations: 19.8 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.1653, allocations: 21.34 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1653, allocations: 0 / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1653, allocations: 0 / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.1653, allocations: 11.92 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1661, allocations: 379.3 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1661, allocations: 0 / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.1662, allocations: 19.97 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.1662, allocations: 4 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1662, allocations: 3.938 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1662, allocations: 0 / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1662, allocations: 4.375 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.1667, allocations: 208.2 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.1668, allocations: 81.02 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1669, allocations: 15.94 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.167, allocations: 0 / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.1671, allocations: 7.984 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.1671, allocations: 8 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.1674, allocations: 152.8 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1674, allocations: 0 / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.1679, allocations: 24 kB / 475.3 MB, free: 7.766 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.001852/0.1697, allocations: 474.1 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1701, allocations: 55.91 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1701, allocations: 0 / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1703, allocations: 36.11 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.1709, allocations: 31.02 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.1716, allocations: 267 kB / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1721, allocations: 0.7041 MB / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.905e-05/0.1722, allocations: 12.88 kB / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1722, allocations: 19.44 kB / 476.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1722, allocations: 0 / 476.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Templates: time 0.008082/0.1803, allocations: 1.695 MB / 478.6 MB, free: 4.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches