Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 192.1 kB / 16.25 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 222.1 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3555/0.3555, allocations: 39.93 MB / 309.4 MB, free: 9.59 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.91 kB / 377.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1344, allocations: 56.89 MB / 434 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003194/0.1377, allocations: 1.744 MB / 435.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1389, allocations: 0.7923 MB / 436.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.139, allocations: 7.938 kB / 436.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1394, allocations: 43.88 kB / 436.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1396, allocations: 51.83 kB / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1398, allocations: 79.83 kB / 436.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.14, allocations: 95.7 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1401, allocations: 20.2 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.1402, allocations: 39.8 kB / 436.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.1403, allocations: 39.78 kB / 436.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1403, allocations: 4 kB / 436.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.703e-05/0.1404, allocations: 39.98 kB / 437 MB, free: 1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1405, allocations: 35.83 kB / 437 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.1405, allocations: 31.75 kB / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1407, allocations: 135.8 kB / 437.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1408, allocations: 0 / 437.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1408, allocations: 0 / 437.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1408, allocations: 0 / 437.2 MB, free: 0.8008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005391/0.1413, allocations: 450.2 kB / 437.6 MB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1414, allocations: 11.89 kB / 437.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.1414, allocations: 12.84 kB / 437.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1416, allocations: 219.7 kB / 437.8 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1416, allocations: 4.375 kB / 437.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1417, allocations: 8.109 kB / 437.8 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1418, allocations: 53.67 kB / 437.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1418, allocations: 0 / 437.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1419, allocations: 4 kB / 437.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1419, allocations: 4 kB / 437.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.1419, allocations: 19.92 kB / 437.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1423, allocations: 300.8 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1425, allocations: 54.69 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1426, allocations: 20.84 kB / 438.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1426, allocations: 11.88 kB / 438.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.1427, allocations: 71.39 kB / 438.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1428, allocations: 0 / 438.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.1433, allocations: 177 kB / 438.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1433, allocations: 55.41 kB / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1436, allocations: 255.7 kB / 438.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1436, allocations: 33.7 kB / 438.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.1437, allocations: 116.1 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1437, allocations: 31.62 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1438, allocations: 17.72 kB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1439, allocations: 334.8 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.144, allocations: 15.98 kB / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.144, allocations: 37.7 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.1441, allocations: 65.64 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1442, allocations: 0 / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1443, allocations: 105.4 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1444, allocations: 4 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1444, allocations: 4 kB / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1444, allocations: 0 / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.1445, allocations: 15.98 kB / 439.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1445, allocations: 0 / 439.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.1446, allocations: 11.97 kB / 439.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1446, allocations: 4 kB / 439.6 MB, free: 14.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001086/0.1447, allocations: 129.8 kB / 439.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1447, allocations: 15.81 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1448, allocations: 21.39 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1448, allocations: 0 / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1448, allocations: 0 / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1448, allocations: 11.88 kB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1452, allocations: 411.4 kB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1452, allocations: 0 / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1452, allocations: 11.94 kB / 440.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1453, allocations: 0 / 440.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1453, allocations: 3.938 kB / 440.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1453, allocations: 4.375 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1453, allocations: 3.984 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1455, allocations: 204.5 kB / 440.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1456, allocations: 88.92 kB / 440.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1456, allocations: 11.88 kB / 440.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.1457, allocations: 8 kB / 440.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.1457, allocations: 11.92 kB / 440.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1457, allocations: 4 kB / 440.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1459, allocations: 203 kB / 440.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1459, allocations: 7.938 kB / 440.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1462, allocations: 27.98 kB / 440.8 MB, free: 12.82 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009704/0.1471, allocations: 461.1 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1473, allocations: 67.89 kB / 441.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1473, allocations: 0 / 441.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.1474, allocations: 28 kB / 441.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1477, allocations: 27.83 kB / 441.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.1482, allocations: 327.7 kB / 441.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1486, allocations: 0.708 MB / 442.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.411e-05/0.1486, allocations: 25.17 kB / 442.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1487, allocations: 19.44 kB / 442.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1487, allocations: 0 / 442.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004381/0.1531, allocations: 1.697 MB / 444.1 MB, free: 9.445 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)