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.001392/0.001392, allocations: 107.9 kB / 17.64 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 210.4 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 80.53 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1439, allocations: 62.43 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004565/0.1485, allocations: 1.938 MB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1508, allocations: 1.06 MB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.1511, allocations: 7.938 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.1516, allocations: 43.69 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.1522, allocations: 95.48 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1526, allocations: 95.7 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.1529, allocations: 147.5 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1531, allocations: 29.55 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1532, allocations: 55.72 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1534, allocations: 51.7 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1534, allocations: 8 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1536, allocations: 47.92 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.1537, allocations: 23.92 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.1538, allocations: 51.66 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.1541, allocations: 159.7 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1542, allocations: 0 / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1542, allocations: 0 / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1542, allocations: 3.984 kB / 483.8 MB, free: 1.453 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.0009023/0.1551, allocations: 476.5 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.1552, allocations: 8.031 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.1553, allocations: 16.75 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.1556, allocations: 237.5 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1557, allocations: 8.375 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1557, allocations: 12.06 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1561, allocations: 112.2 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1561, allocations: 0 / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.1561, allocations: 0 / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1561, allocations: 4 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.1563, allocations: 51.91 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.1572, allocations: 0.5126 MB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.1577, allocations: 86.67 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1578, allocations: 36.83 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1578, allocations: 4 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.1582, allocations: 87.25 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.1582, allocations: 4 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004964/0.1587, allocations: 145.4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1588, allocations: 55.34 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.159, allocations: 198.2 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.159, allocations: 29.69 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.1592, allocations: 116 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1592, allocations: 27.56 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.1593, allocations: 33.7 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1594, allocations: 326.8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.1595, allocations: 23.98 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1597, allocations: 75.89 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.1599, allocations: 100.1 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1599, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00029/0.1602, allocations: 137.3 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1602, allocations: 8.594 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1602, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1602, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1603, allocations: 27.92 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1604, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.1604, allocations: 19.88 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1605, allocations: 4 kB / 486.8 MB, free: 14.24 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.0001068/0.1606, allocations: 132 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.1606, allocations: 19.8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1607, allocations: 17.41 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1607, allocations: 3.938 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1607, allocations: 7.938 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1607, allocations: 3.984 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1609, allocations: 217.5 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1609, allocations: 0 / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.161, allocations: 8 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.161, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.161, allocations: 11.98 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.161, allocations: 3.938 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.161, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.1614, allocations: 180.9 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.1615, allocations: 92.89 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.1615, allocations: 0 / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1616, allocations: 15.92 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1617, allocations: 7.984 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1617, allocations: 8.062 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1618, allocations: 144.4 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 0 / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1621, allocations: 24 kB / 487.6 MB, free: 13.26 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.001019/0.1631, allocations: 392.2 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.1634, allocations: 91.77 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1634, allocations: 4.25 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.1635, allocations: 31.98 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1638, allocations: 52.25 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.1644, allocations: 267.5 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1646, allocations: 0.7084 MB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1647, allocations: 21.42 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.1648, allocations: 23.42 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1648, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004829/0.1696, allocations: 1.89 MB / 491.1 MB, free: 9.898 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