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.001084/0.001084, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 205.5 kB / 18.29 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.419/1.419, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002157/0.1417, allocations: 1.536 MB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1437, allocations: 1.068 MB / 485.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.1438, allocations: 0 / 485.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.1443, allocations: 299.4 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.1447, allocations: 235.4 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.145, allocations: 95.78 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1453, allocations: 247.4 kB / 486.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.1453, allocations: 9.688 kB / 486.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.1455, allocations: 127.4 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.1457, allocations: 195.4 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1458, allocations: 4 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1459, allocations: 35.98 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.146, allocations: 143.5 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1462, allocations: 176.6 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.1466, allocations: 358.8 kB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1466, allocations: 0 / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1466, allocations: 4 kB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1466, allocations: 0 / 487.6 MB, free: 15.63 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.0009894/0.1476, allocations: 0.6829 MB / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1477, allocations: 12.88 kB / 488.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.1478, allocations: 44.38 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.1484, allocations: 455.8 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1484, allocations: 8.375 kB / 488.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1484, allocations: 4.125 kB / 488.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1486, allocations: 87.36 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1487, allocations: 7.938 kB / 488.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1487, allocations: 0 / 488.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1487, allocations: 0 / 488.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1488, allocations: 31.97 kB / 488.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1492, allocations: 378.3 kB / 489.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.1495, allocations: 109.2 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1496, allocations: 45.62 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1497, allocations: 0 / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.1499, allocations: 109 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1499, allocations: 0 / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004971/0.1504, allocations: 196.9 kB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1505, allocations: 85.09 kB / 489.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1516, allocations: 1.05 MB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1517, allocations: 33.7 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1518, allocations: 232.1 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.1519, allocations: 39.62 kB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.152, allocations: 9.719 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1521, allocations: 370.8 kB / 491.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.1522, allocations: 27.98 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1523, allocations: 70.59 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1525, allocations: 95.8 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1525, allocations: 0 / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003078/0.1528, allocations: 172.8 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1528, allocations: 8 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1529, allocations: 4.062 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1529, allocations: 0 / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.153, allocations: 23.98 kB / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.153, allocations: 0 / 491.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1531, allocations: 15.84 kB / 491.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1531, allocations: 11.97 kB / 492 MB, free: 10.98 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.0002283/0.1534, allocations: 225.7 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.1534, allocations: 51.34 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/0.1535, allocations: 64.14 kB / 492.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1536, allocations: 3.984 kB / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.1536, allocations: 4 kB / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1536, allocations: 0 / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.1539, allocations: 341.4 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1539, allocations: 0 / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.1539, allocations: 8 kB / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.154, allocations: 0 / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.154, allocations: 11.98 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.154, allocations: 0 / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.154, allocations: 3.984 kB / 492.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1543, allocations: 205.3 kB / 492.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1545, allocations: 148.4 kB / 493 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.1545, allocations: 4 kB / 493 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.1546, allocations: 4 kB / 493 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.1547, allocations: 11.98 kB / 493 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1547, allocations: 12 kB / 493 MB, free: 9.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008333/0.1555, allocations: 0.7839 MB / 493.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1555, allocations: 0 / 493.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1558, allocations: 47.98 kB / 493.9 MB, free: 8.977 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.000974/0.1568, allocations: 410.9 kB / 494.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1571, allocations: 79.91 kB / 494.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1571, allocations: 4.125 kB / 494.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1572, allocations: 44.28 kB / 494.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.1576, allocations: 70.34 kB / 494.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1589, allocations: 0.9714 MB / 495.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1594, allocations: 0.843 MB / 496.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.1595, allocations: 62.94 kB / 496.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.1596, allocations: 27.44 kB / 496.4 MB, free: 6.547 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1596, allocations: 0 / 496.4 MB, free: 6.547 MB / 366.1 MB Notification: Performance of Templates: time 0.008179/0.1678, allocations: 3.503 MB / 499.9 MB, free: 3.055 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