Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002241/0.002241, allocations: 110.3 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002739/0.002739, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.253/2.253, allocations: 227.3 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3578/0.3578, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 75.95 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1525, allocations: 62.45 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004422/0.157, allocations: 1.875 MB / 481.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1595, allocations: 1.096 MB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1597, allocations: 0 / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.1604, allocations: 311.3 kB / 483.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.161, allocations: 231.4 kB / 483.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1614, allocations: 87.84 kB / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.1619, allocations: 251.2 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.162, allocations: 17.66 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1622, allocations: 115.6 kB / 483.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.1626, allocations: 191.5 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1626, allocations: 4 kB / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1628, allocations: 43.91 kB / 484.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.163, allocations: 143.6 kB / 484.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1632, allocations: 146.8 kB / 484.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1637, allocations: 283.9 kB / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1637, allocations: 0 / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1637, allocations: 4 kB / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1637, allocations: 0 / 484.7 MB, free: 0.8984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001378/0.1651, allocations: 0.7462 MB / 485.5 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1652, allocations: 8.875 kB / 485.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1653, allocations: 52.28 kB / 485.5 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.1662, allocations: 459.8 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1662, allocations: 384 / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1663, allocations: 8.125 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1665, allocations: 87.3 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1666, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1666, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1666, allocations: 4 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1668, allocations: 27.98 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.1674, allocations: 382.4 kB / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1678, allocations: 109.2 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.168, allocations: 45.64 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.168, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.1684, allocations: 109 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.1684, allocations: 0 / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000683/0.1691, allocations: 196.9 kB / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.1692, allocations: 85.11 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.1709, allocations: 1.054 MB / 488 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1709, allocations: 25.7 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.1712, allocations: 236.1 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.1713, allocations: 35.56 kB / 488.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.1713, allocations: 29.7 kB / 488.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1715, allocations: 366.8 kB / 488.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1717, allocations: 31.98 kB / 488.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1718, allocations: 63.34 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1721, allocations: 83.92 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1721, allocations: 4 kB / 488.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005304/0.1726, allocations: 176.8 kB / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.1727, allocations: 4 kB / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1727, allocations: 4 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1727, allocations: 0 / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1729, allocations: 23.98 kB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1729, allocations: 0 / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1731, allocations: 15.84 kB / 489.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1731, allocations: 7.938 kB / 489.1 MB, free: 12.19 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.0003062/0.1735, allocations: 234.6 kB / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1736, allocations: 51.34 kB / 489.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1737, allocations: 60.14 kB / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1737, allocations: 0 / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1738, allocations: 0 / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1738, allocations: 0 / 489.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1742, allocations: 349.4 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1742, allocations: 3.984 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.1743, allocations: 8 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1743, allocations: 4 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1744, allocations: 0 / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1744, allocations: 4 kB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1744, allocations: 0 / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.1749, allocations: 205.2 kB / 490 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.1752, allocations: 136.4 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.599e-05/0.1752, allocations: 8.125 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.1754, allocations: 8 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.1755, allocations: 15.92 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.1755, allocations: 8 kB / 490.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.1769, allocations: 0.78 MB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.494e-06/0.177, allocations: 0 / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.1775, allocations: 51.92 kB / 491 MB, free: 10.18 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.001676/0.1792, allocations: 417.8 kB / 491.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1795, allocations: 79.91 kB / 491.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1795, allocations: 0 / 491.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1797, allocations: 44.28 kB / 491.6 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.1804, allocations: 66.28 kB / 491.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1824, allocations: 1.026 MB / 492.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.1831, allocations: 0.8469 MB / 493.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1833, allocations: 31.42 kB / 493.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1833, allocations: 0 / 493.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01291/0.1962, allocations: 5.139 MB / 498.7 MB, free: 2.613 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches