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.0008012/0.0008012, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001047, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.18 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 12.28 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 63.56 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002239/0.1472, allocations: 1.536 MB / 484.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1489, allocations: 1.071 MB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.149, allocations: 3.938 kB / 485.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.1495, allocations: 303.4 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.1499, allocations: 231.4 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1501, allocations: 87.78 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.1504, allocations: 251.4 kB / 486.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.1505, allocations: 17.66 kB / 486.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1507, allocations: 119.5 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1509, allocations: 199.4 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1509, allocations: 0 / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.151, allocations: 39.98 kB / 486.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1512, allocations: 139.6 kB / 487 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1513, allocations: 176.4 kB / 487.2 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1517, allocations: 358.9 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1517, allocations: 0 / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1518, allocations: 4 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1518, allocations: 0 / 487.6 MB, free: 15.66 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.0008917/0.1527, allocations: 0.6805 MB / 488.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1527, allocations: 8.875 kB / 488.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.1528, allocations: 48.38 kB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.1534, allocations: 455.7 kB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1534, allocations: 384 / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1534, allocations: 8.125 kB / 488.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.1536, allocations: 87.36 kB / 488.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1536, allocations: 0 / 488.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1537, allocations: 0 / 488.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1537, allocations: 4 kB / 488.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1538, allocations: 31.92 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1542, allocations: 386.3 kB / 489.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.1545, allocations: 109.2 kB / 489.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.1546, allocations: 41.64 kB / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1546, allocations: 0 / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1549, allocations: 120.9 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1549, allocations: 0 / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005616/0.1554, allocations: 193.4 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.1555, allocations: 81.05 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1566, allocations: 1.058 MB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1566, allocations: 25.7 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1568, allocations: 240.1 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1569, allocations: 23.66 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1569, allocations: 21.7 kB / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1571, allocations: 370.8 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.11e-05/0.1572, allocations: 27.98 kB / 491.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.1573, allocations: 55.41 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1575, allocations: 91.42 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1575, allocations: 3.938 kB / 491.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002805/0.1578, allocations: 168.9 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1578, allocations: 10.55 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1578, allocations: 4 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1578, allocations: 4 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.158, allocations: 23.94 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.158, allocations: 7.984 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.1581, allocations: 11.84 kB / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1581, allocations: 4 kB / 491.9 MB, free: 11.03 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.0002506/0.1583, allocations: 229.7 kB / 492.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.1584, allocations: 51.34 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.1585, allocations: 64.14 kB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1585, allocations: 3.938 kB / 492.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1585, allocations: 0 / 492.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1585, allocations: 0 / 492.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.1589, allocations: 353.4 kB / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1589, allocations: 0 / 492.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1589, allocations: 7.984 kB / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1589, allocations: 4 kB / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1589, allocations: 0 / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1589, allocations: 0 / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1589, allocations: 8.125 kB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1593, allocations: 217.1 kB / 492.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.1594, allocations: 136.4 kB / 493 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.1594, allocations: 8 kB / 493 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.1595, allocations: 7.984 kB / 493 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1596, allocations: 11.98 kB / 493 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1596, allocations: 4 kB / 493 MB, free: 9.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008038/0.1604, allocations: 0.7839 MB / 493.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1604, allocations: 4 kB / 493.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1607, allocations: 44 kB / 493.8 MB, free: 9.012 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.00105/0.1618, allocations: 408.2 kB / 494.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.162, allocations: 83.89 kB / 494.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1621, allocations: 4.125 kB / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1622, allocations: 39.98 kB / 494.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.1627, allocations: 66.2 kB / 494.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1641, allocations: 0.9713 MB / 495.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1646, allocations: 0.8468 MB / 496.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1648, allocations: 62.94 kB / 496.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.1648, allocations: 35.42 kB / 496.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1648, allocations: 0 / 496.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of Templates: time 0.008809/0.1737, allocations: 3.501 MB / 499.8 MB, free: 3.09 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches