Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 75.89 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1542, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003631/0.1579, allocations: 1.945 MB / 483.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1597, allocations: 1.052 MB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1599, allocations: 7.938 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1602, allocations: 47.7 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.1605, allocations: 95.48 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1608, allocations: 95.7 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.161, allocations: 139.5 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1612, allocations: 37.47 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.1613, allocations: 59.72 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1614, allocations: 51.7 kB / 485 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1614, allocations: 8 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1615, allocations: 43.98 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1616, allocations: 27.86 kB / 485.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.1617, allocations: 47.67 kB / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1619, allocations: 163.4 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.162, allocations: 0 / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.162, allocations: 4 kB / 485.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.162, allocations: 4 kB / 485.3 MB, free: 0.6797 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006864/0.1627, allocations: 484.4 kB / 485.7 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1627, allocations: 8.031 kB / 485.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.1628, allocations: 20.73 kB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1633, allocations: 237.5 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1633, allocations: 8.359 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.1633, allocations: 12.12 kB / 486 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1637, allocations: 108.2 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1637, allocations: 3.938 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1637, allocations: 4 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1637, allocations: 0 / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1639, allocations: 47.97 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.1647, allocations: 0.5048 MB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.1651, allocations: 86.66 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1652, allocations: 36.84 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1652, allocations: 7.938 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.1655, allocations: 83.36 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1655, allocations: 0 / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000472/0.166, allocations: 145.7 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.1661, allocations: 55.34 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1663, allocations: 203.1 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1663, allocations: 25.8 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1665, allocations: 124 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1665, allocations: 31.55 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1666, allocations: 29.7 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1667, allocations: 326.8 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.1668, allocations: 23.98 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1669, allocations: 76.2 kB / 487.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1671, allocations: 96.2 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1671, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/0.1674, allocations: 133.4 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1674, allocations: 11.94 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1674, allocations: 3.984 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1674, allocations: 0 / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1675, allocations: 27.88 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1676, allocations: 3.984 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1676, allocations: 20.06 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1676, allocations: 4 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000107/0.1678, allocations: 121.8 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1678, allocations: 19.8 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.1678, allocations: 13.41 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1678, allocations: 3.938 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1679, allocations: 4 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1679, allocations: 0 / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1681, allocations: 217.5 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1681, allocations: 4 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.1681, allocations: 11.94 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1682, allocations: 0 / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1682, allocations: 8.094 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1682, allocations: 7.875 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1682, allocations: 0 / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1686, allocations: 180.9 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1686, allocations: 92.89 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1686, allocations: 0 / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.1687, allocations: 11.92 kB / 488.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1688, allocations: 11.98 kB / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1688, allocations: 7.984 kB / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1689, allocations: 144.4 kB / 489.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 0 / 489.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.1691, allocations: 24 kB / 489.1 MB, free: 12.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009498/0.1701, allocations: 405 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.1704, allocations: 83.83 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1704, allocations: 0 / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.1705, allocations: 35.98 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1708, allocations: 50.72 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1713, allocations: 259.9 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1716, allocations: 0.7123 MB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.1717, allocations: 21.41 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.1717, allocations: 19.44 kB / 490.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1717, allocations: 0 / 490.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004844/0.1766, allocations: 1.894 MB / 492.5 MB, free: 9.133 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches