Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009207/0.0009205, allocations: 95.73 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.7 MB / 246.8 MB, free: 9.754 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.17 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 8 kB / 419.5 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 63.57 MB / 483.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003205/0.1586, allocations: 1.528 MB / 484.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.1611, allocations: 1.068 MB / 485.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.1613, allocations: 7.938 kB / 485.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.1621, allocations: 303.4 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007189/0.1628, allocations: 231.4 kB / 486.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.1634, allocations: 91.78 kB / 486.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.1642, allocations: 247.4 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.1643, allocations: 13.67 kB / 486.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.1647, allocations: 123.5 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.1652, allocations: 187.5 kB / 486.9 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.1653, allocations: 8 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.1655, allocations: 43.97 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.1658, allocations: 143.5 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.1661, allocations: 172.5 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.1667, allocations: 358.9 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1667, allocations: 0 / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1667, allocations: 0 / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.1667, allocations: 0 / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001587/0.1683, allocations: 0.6916 MB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.375e-05/0.1684, allocations: 8.875 kB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.1686, allocations: 52.36 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.1696, allocations: 451.8 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.1696, allocations: 4.375 kB / 488.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.1697, allocations: 8.125 kB / 488.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.17, allocations: 83.36 kB / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.17, allocations: 0 / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.1701, allocations: 7.938 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1701, allocations: 4 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1702, allocations: 27.98 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.1709, allocations: 378.3 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1713, allocations: 113.2 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1714, allocations: 41.64 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1715, allocations: 3.938 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.1718, allocations: 109 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1718, allocations: 0 / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006502/0.1725, allocations: 200.9 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.1726, allocations: 77.11 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.1741, allocations: 1.054 MB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1742, allocations: 29.7 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.1744, allocations: 232.1 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.1745, allocations: 35.62 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.1746, allocations: 21.7 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.1748, allocations: 370.8 kB / 491.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.175, allocations: 27.98 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1751, allocations: 55.36 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.1753, allocations: 95.84 kB / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1753, allocations: 0 / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003563/0.1757, allocations: 172.9 kB / 491.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1757, allocations: 4 kB / 491.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1757, allocations: 3.938 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.1757, allocations: 7.984 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1759, allocations: 16 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.1759, allocations: 4.062 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1761, allocations: 23.83 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1761, allocations: 4 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0003287/0.1764, allocations: 230.2 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.1765, allocations: 51.34 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1766, allocations: 56.14 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1766, allocations: 4 kB / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1767, allocations: 0 / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1767, allocations: 0 / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1771, allocations: 349.4 kB / 492.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1771, allocations: 0 / 492.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1771, allocations: 7.984 kB / 492.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1772, allocations: 7.984 kB / 492.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1772, allocations: 4 kB / 492.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1772, allocations: 0 / 492.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1772, allocations: 4 kB / 492.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.1776, allocations: 209.1 kB / 492.9 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.1777, allocations: 144.4 kB / 493 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.1778, allocations: 4 kB / 493 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.1779, allocations: 7.984 kB / 493 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.178, allocations: 11.98 kB / 493 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.178, allocations: 8.125 kB / 493 MB, free: 9.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008936/0.1789, allocations: 0.7839 MB / 493.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1789, allocations: 0 / 493.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1792, allocations: 52 kB / 493.9 MB, free: 8.918 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001254/0.1804, allocations: 409.4 kB / 494.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.1808, allocations: 83.89 kB / 494.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1808, allocations: 0 / 494.3 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.181, allocations: 35.92 kB / 494.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.1815, allocations: 70.83 kB / 494.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.1831, allocations: 0.9714 MB / 495.4 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.1839, allocations: 0.8508 MB / 496.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.184, allocations: 58.95 kB / 496.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.1842, allocations: 27.42 kB / 496.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1842, allocations: 4 kB / 496.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of Templates: time 0.01012/0.1943, allocations: 3.502 MB / 499.9 MB, free: 3.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches