Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.253/0.253, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 86.59 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1656, allocations: 62.46 MB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00363/0.1693, allocations: 1.72 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1713, allocations: 1.025 MB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.1714, allocations: 0 / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1717, allocations: 51.75 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.1721, allocations: 91.59 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1723, allocations: 79.67 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1725, allocations: 103.7 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1726, allocations: 23.98 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.1729, allocations: 39.8 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/0.173, allocations: 35.72 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.173, allocations: 4 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1731, allocations: 39.98 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.1732, allocations: 19.92 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.1732, allocations: 51.66 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1736, allocations: 119.9 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1736, allocations: 0 / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1736, allocations: 0 / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1736, allocations: 4 kB / 483.5 MB, free: 1.816 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.00074/0.1744, allocations: 438.7 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1744, allocations: 8.031 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1745, allocations: 12.83 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1747, allocations: 221.6 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1747, allocations: 384 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1748, allocations: 12.12 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1749, allocations: 49.67 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.175, allocations: 4 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.175, allocations: 4 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.175, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.1751, allocations: 27.92 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1755, allocations: 288.8 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1757, allocations: 62.61 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.1758, allocations: 24.84 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1758, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1761, allocations: 75.23 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1761, allocations: 0 / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006266/0.1767, allocations: 169.1 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.1768, allocations: 59.39 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1771, allocations: 238.2 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1771, allocations: 29.7 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.1772, allocations: 108.1 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1772, allocations: 23.66 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.1773, allocations: 21.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1774, allocations: 330.8 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1775, allocations: 23.98 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.1776, allocations: 37.72 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.1777, allocations: 65.48 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1777, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1779, allocations: 101.6 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.178, allocations: 4 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.178, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.178, allocations: 7.984 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.1781, allocations: 19.97 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1781, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.1782, allocations: 15.83 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1782, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.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.0001312/0.1783, allocations: 129.8 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1783, allocations: 11.91 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.1784, allocations: 17.41 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1784, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1784, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1784, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.1789, allocations: 407.2 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1789, allocations: 384 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.179, allocations: 15.92 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.179, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.179, allocations: 7.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.179, allocations: 4.188 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.179, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1793, allocations: 208.5 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1794, allocations: 88.92 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1794, allocations: 3.938 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1795, allocations: 7.984 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1795, allocations: 8 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1795, allocations: 4 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1797, allocations: 176.4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1797, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.18, allocations: 24 kB / 487 MB, free: 13.94 MB / 366.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.001697/0.1817, allocations: 467.8 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1819, allocations: 63.91 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1819, allocations: 0 / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.182, allocations: 23.98 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1824, allocations: 40.66 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.1829, allocations: 263.5 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1833, allocations: 0.7119 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.1833, allocations: 17.19 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.1834, allocations: 23.42 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1834, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.005716/0.1891, allocations: 1.748 MB / 490.4 MB, free: 10.72 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches