Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 104.7 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4308/0.4308, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1375, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00422/0.1418, allocations: 2.065 MB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1435, allocations: 0.8819 MB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1437, allocations: 7.938 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.1441, allocations: 39.83 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1445, allocations: 55.69 kB / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1449, allocations: 103.8 kB / 490.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.1452, allocations: 183.5 kB / 490.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1453, allocations: 37.92 kB / 490.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1455, allocations: 83.56 kB / 490.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1457, allocations: 63.69 kB / 490.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1457, allocations: 8 kB / 490.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1458, allocations: 51.91 kB / 490.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.1459, allocations: 35.84 kB / 490.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.146, allocations: 71.53 kB / 490.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1463, allocations: 183.4 kB / 490.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1463, allocations: 0 / 490.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1463, allocations: 0 / 490.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1464, allocations: 0 / 490.9 MB, free: 8.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009866/0.1473, allocations: 0.5565 MB / 491.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1474, allocations: 12.03 kB / 491.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.1475, allocations: 20.75 kB / 491.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1478, allocations: 244.8 kB / 491.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1478, allocations: 4.375 kB / 491.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.1478, allocations: 20.03 kB / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.1483, allocations: 148.1 kB / 491.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1483, allocations: 3.938 kB / 491.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1483, allocations: 4 kB / 491.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1483, allocations: 4 kB / 491.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.1488, allocations: 115.8 kB / 492 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.1494, allocations: 0.5399 MB / 492.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.1501, allocations: 170.5 kB / 492.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1504, allocations: 76.73 kB / 492.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1504, allocations: 0 / 492.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.1509, allocations: 135.3 kB / 492.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.487e-06/0.1509, allocations: 0 / 492.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008522/0.1517, allocations: 253.3 kB / 493.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.1518, allocations: 67.28 kB / 493.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.152, allocations: 223.1 kB / 493.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1521, allocations: 33.7 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.1522, allocations: 120.3 kB / 493.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.1522, allocations: 31.69 kB / 493.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/0.1523, allocations: 37.7 kB / 493.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1524, allocations: 334.8 kB / 494 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1527, allocations: 71.89 kB / 494 MB, free: 5.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.1529, allocations: 100.2 kB / 494.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.1534, allocations: 197.8 kB / 494.3 MB, free: 4.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1534, allocations: 0 / 494.3 MB, free: 4.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006575/0.1541, allocations: 254.9 kB / 494.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.1541, allocations: 33.7 kB / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1541, allocations: 0 / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1542, allocations: 4 kB / 494.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1544, allocations: 43.84 kB / 494.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1544, allocations: 0 / 494.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1546, allocations: 39.94 kB / 494.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1546, allocations: 8 kB / 494.7 MB, free: 4.504 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.00014/0.1548, allocations: 137.8 kB / 494.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.1548, allocations: 19.8 kB / 494.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.1549, allocations: 25.39 kB / 494.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1549, allocations: 3.938 kB / 494.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1549, allocations: 0 / 494.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1549, allocations: 0 / 494.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1551, allocations: 241.5 kB / 495.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1551, allocations: 0 / 495.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.1553, allocations: 19.98 kB / 495.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1553, allocations: 0 / 495.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1553, allocations: 11.92 kB / 495.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.1553, allocations: 7.938 kB / 495.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1553, allocations: 3.938 kB / 495.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/0.1598, allocations: 2.054 MB / 497.2 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.1599, allocations: 100.8 kB / 497.3 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1599, allocations: 4 kB / 497.3 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.16, allocations: 23.97 kB / 497.4 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1601, allocations: 11.97 kB / 497.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1602, allocations: 12.06 kB / 497.4 MB, free: 1.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1603, allocations: 164.6 kB / 497.5 MB, free: 1.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1603, allocations: 0 / 497.5 MB, free: 1.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.1607, allocations: 52 kB / 497.6 MB, free: 1.391 MB / 378.7 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008876/0.1615, allocations: 417.9 kB / 498 MB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.1622, allocations: 219.3 kB / 498.2 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1622, allocations: 0 / 498.2 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.1625, allocations: 83.86 kB / 498.3 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1628, allocations: 43.89 kB / 498.3 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.1636, allocations: 0.493 MB / 498.8 MB, free: 144 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.164, allocations: 0.7245 MB / 499.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1641, allocations: 29.52 kB / 499.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.1642, allocations: 19.44 kB / 499.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1642, allocations: 0 / 499.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of Templates: time 0.006571/0.1708, allocations: 2.997 MB / 0.4908 GB, free: 12.36 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)