Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 103.8 kB / 17.01 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 197.9 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.7 MB / 246.4 MB, free: 9.785 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.2 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12 kB / 418.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 63.56 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002755/0.1574, allocations: 1.619 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1591, allocations: 0.9635 MB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1593, allocations: 4 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.1598, allocations: 39.77 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1602, allocations: 75.69 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1604, allocations: 79.78 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1607, allocations: 123.6 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1609, allocations: 25.48 kB / 485.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.161, allocations: 43.78 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1612, allocations: 43.72 kB / 485.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1612, allocations: 8 kB / 485.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1613, allocations: 39.98 kB / 485.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.1614, allocations: 23.84 kB / 485.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.1614, allocations: 49.58 kB / 485.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1616, allocations: 108 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1616, allocations: 3.984 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1616, allocations: 0 / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1616, allocations: 0 / 485.6 MB, free: 1.25 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.0007141/0.1624, allocations: 456.5 kB / 486.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1624, allocations: 12.02 kB / 486.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.1625, allocations: 15.91 kB / 486.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1627, allocations: 236.2 kB / 486.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1628, allocations: 0 / 486.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1628, allocations: 11.98 kB / 486.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1631, allocations: 106.6 kB / 486.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1631, allocations: 7.875 kB / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1631, allocations: 4 kB / 486.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1631, allocations: 3.984 kB / 486.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1633, allocations: 51.97 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.1639, allocations: 0.5087 MB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1642, allocations: 82.66 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.1643, allocations: 48.84 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1644, allocations: 3.938 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.1648, allocations: 79.38 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1648, allocations: 0 / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003946/0.1652, allocations: 153.6 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1652, allocations: 59.48 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1655, allocations: 202.1 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1655, allocations: 25.7 kB / 487.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1656, allocations: 119.9 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.1656, allocations: 31.62 kB / 487.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.1656, allocations: 4 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1658, allocations: 326.8 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.1659, allocations: 27.98 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.166, allocations: 75.45 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1661, allocations: 35.98 kB / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1661, allocations: 0 / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002592/0.1664, allocations: 141.3 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1664, allocations: 4.125 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1664, allocations: 4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1665, allocations: 4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1666, allocations: 27.92 kB / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1666, allocations: 3.953 kB / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.1667, allocations: 19.84 kB / 488.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1667, allocations: 4 kB / 488.5 MB, free: 14.14 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1668, allocations: 129.8 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1668, allocations: 15.91 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.1669, allocations: 13.41 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1669, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.1669, allocations: 3.984 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1669, allocations: 7.953 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1671, allocations: 217.4 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1671, allocations: 0 / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.1672, allocations: 12 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1672, allocations: 3.984 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1672, allocations: 4 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1672, allocations: 4 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1672, allocations: 4.094 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.1676, allocations: 192.7 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.1677, allocations: 92.94 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1677, allocations: 4 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.1678, allocations: 12.06 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1678, allocations: 3.984 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1679, allocations: 4 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.168, allocations: 144.4 kB / 489.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.168, allocations: 0 / 489.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1682, allocations: 31.92 kB / 489.4 MB, free: 13.16 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 (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.001007/0.1692, allocations: 409.8 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1695, allocations: 75.91 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1695, allocations: 7.938 kB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.1696, allocations: 39.91 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1699, allocations: 35.8 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1705, allocations: 292.8 kB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1708, allocations: 0.7203 MB / 490.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.1709, allocations: 13.42 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.171, allocations: 19.42 kB / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.171, allocations: 4 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004787/0.1758, allocations: 1.724 MB / 492.7 MB, free: 9.934 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches