Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00077/0.0007701, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000894/0.000894, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002651, allocations: 12 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 63.57 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002533/0.1537, allocations: 1.419 MB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1553, allocations: 0.9401 MB / 484.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.1554, allocations: 0 / 484.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1557, allocations: 39.88 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1559, allocations: 79.62 kB / 484.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.1561, allocations: 55.86 kB / 485 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1563, allocations: 95.7 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.1564, allocations: 11.98 kB / 485.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.1565, allocations: 39.78 kB / 485.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.1566, allocations: 27.86 kB / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1566, allocations: 0 / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1567, allocations: 43.91 kB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.1567, allocations: 19.92 kB / 485.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.1568, allocations: 37.64 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.157, allocations: 96.08 kB / 485.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.157, allocations: 4 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.157, allocations: 0 / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.157, allocations: 0 / 485.3 MB, free: 1.617 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.0006128/0.1576, allocations: 406.8 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1577, allocations: 12.03 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1577, allocations: 7.906 kB / 485.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.158, allocations: 210.7 kB / 485.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.158, allocations: 8 kB / 486 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1581, allocations: 0 / 486 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1582, allocations: 57.61 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1582, allocations: 0 / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1583, allocations: 0 / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1583, allocations: 4 kB / 486 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.1583, allocations: 15.98 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1588, allocations: 288.9 kB / 486.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.159, allocations: 70.59 kB / 486.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.159, allocations: 16.86 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1591, allocations: 3.984 kB / 486.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.1592, allocations: 63.39 kB / 486.5 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.1593, allocations: 8 kB / 486.5 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.1598, allocations: 177.1 kB / 486.6 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1598, allocations: 55.39 kB / 486.7 MB, free: 56 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1601, allocations: 206.8 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1601, allocations: 25.7 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.1602, allocations: 112.1 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.1602, allocations: 19.72 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.1602, allocations: 0 / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1604, allocations: 338.8 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.1604, allocations: 16 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.1605, allocations: 37.64 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.1606, allocations: 20 kB / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1606, allocations: 0 / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1607, allocations: 101.6 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1608, allocations: 8 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1608, allocations: 4.031 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1608, allocations: 3.938 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.1609, allocations: 15.98 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1609, allocations: 7.938 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.161, allocations: 0 / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.161, allocations: 12.33 kB / 487.6 MB, free: 15.11 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.1611, allocations: 132.6 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.1611, allocations: 11.81 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1612, allocations: 17.41 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1612, allocations: 4 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1612, allocations: 4 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1612, allocations: 3.984 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.1618, allocations: 399.3 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1618, allocations: 0 / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.1618, allocations: 11.94 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1618, allocations: 0 / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1618, allocations: 7.984 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1618, allocations: 4.031 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1618, allocations: 3.953 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.1621, allocations: 200.2 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1621, allocations: 85.02 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1622, allocations: 7.984 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1622, allocations: 4 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.1623, allocations: 11.95 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1623, allocations: 7.984 kB / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.1625, allocations: 152.3 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.779e-06/0.1626, allocations: 0 / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1628, allocations: 27.94 kB / 488.7 MB, free: 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.1638, allocations: 463.1 kB / 489.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.164, allocations: 51.97 kB / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.164, allocations: 0 / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1641, allocations: 39.91 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1644, allocations: 19.98 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.1649, allocations: 258.2 kB / 489.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1652, allocations: 0.7121 MB / 490.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.1653, allocations: 16.81 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.1653, allocations: 15.44 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1653, allocations: 0 / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004237/0.1696, allocations: 1.619 MB / 491.9 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches