Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.4 MB, free: 10.69 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.2398/0.2398, allocations: 46.13 MB / 343.7 MB, free: 11.77 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.00232/0.00232, allocations: 87.47 kB / 416.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 62.44 MB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003935/0.1536, allocations: 1.785 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1561, allocations: 1.024 MB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1562, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.1567, allocations: 47.83 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.1571, allocations: 75.69 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1573, allocations: 67.86 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1576, allocations: 91.77 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1577, allocations: 11.98 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1578, allocations: 47.72 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.655e-05/0.1579, allocations: 35.8 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1579, allocations: 0 / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1581, allocations: 47.97 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.1582, allocations: 23.91 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.1583, allocations: 31.69 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1586, allocations: 119.8 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1586, allocations: 0 / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1586, allocations: 4 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1586, allocations: 0 / 482.8 MB, free: 2.262 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.0009202/0.1595, allocations: 419 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1596, allocations: 12.88 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.1597, allocations: 8.844 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.1601, allocations: 212 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1601, allocations: 8.375 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1602, allocations: 4.125 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1603, allocations: 61.59 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1604, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1604, allocations: 0 / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1604, allocations: 4 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.1605, allocations: 23.97 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.161, allocations: 284.9 kB / 483.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1613, allocations: 62.61 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.1613, allocations: 20.8 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1614, allocations: 4 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.1617, allocations: 71.33 kB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1617, allocations: 0 / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006228/0.1623, allocations: 181.3 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1624, allocations: 51.41 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1626, allocations: 214.9 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1627, allocations: 25.7 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.1628, allocations: 108.1 kB / 484.5 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1628, allocations: 19.7 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.1629, allocations: 21.72 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1631, allocations: 330.8 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1631, allocations: 20 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.1632, allocations: 37.77 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1635, allocations: 73.77 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1635, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1637, allocations: 97.44 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1637, allocations: 8 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1637, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1637, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.1638, allocations: 15.98 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1639, allocations: 4 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.1639, allocations: 11.97 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1639, allocations: 4 kB / 485.2 MB, free: 15.66 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.0001654/0.1641, allocations: 129.7 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.1641, allocations: 11.91 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.1642, allocations: 21.39 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1642, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1642, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1642, allocations: 3.938 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.1648, allocations: 399.2 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1648, allocations: 3.984 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.1648, allocations: 8 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1649, allocations: 0 / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1649, allocations: 7.938 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1649, allocations: 0 / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1649, allocations: 192 / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1652, allocations: 208.2 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.1653, allocations: 100.8 kB / 486 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1653, allocations: 3.938 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1654, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.1654, allocations: 11.98 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1655, allocations: 4 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1656, allocations: 152.3 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1656, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1659, allocations: 24 kB / 486.2 MB, free: 14.47 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.001746/0.1677, allocations: 461.5 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.1679, allocations: 63.91 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1679, allocations: 0 / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.168, allocations: 36.06 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1684, allocations: 23.98 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.169, allocations: 264.8 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1694, allocations: 0.7043 MB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.1695, allocations: 16.86 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1695, allocations: 23.42 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1695, allocations: 4 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.005217/0.1748, allocations: 1.669 MB / 489.5 MB, free: 11.34 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches