Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01112/0.01112, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.954/1.954, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.3957/0.3957, allocations: 40 MB / 310.7 MB, free: 9.793 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.0005947/0.0005946, allocations: 16 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 57.97 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002493/0.1424, allocations: 1.409 MB / 438.8 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.144, allocations: 0.769 MB / 439.6 MB, free: 12 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1441, allocations: 4 kB / 439.6 MB, free: 8 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1445, allocations: 39.92 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1447, allocations: 51.83 kB / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1451, allocations: 79.78 kB / 439.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1453, allocations: 87.59 kB / 439.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1454, allocations: 20.2 kB / 439.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1455, allocations: 39.78 kB / 439.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.1456, allocations: 23.86 kB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1457, allocations: 8 kB / 439.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1458, allocations: 43.91 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.1458, allocations: 15.92 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.1459, allocations: 61.44 kB / 440.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1462, allocations: 111.9 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1462, allocations: 0 / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1462, allocations: 3.938 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1462, allocations: 0 / 440.2 MB, free: 15.43 MB / 382.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.0006311/0.1469, allocations: 403 kB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1469, allocations: 16.03 kB / 440.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.147, allocations: 8.844 kB / 440.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1473, allocations: 220.6 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1473, allocations: 384 / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1473, allocations: 8.125 kB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1475, allocations: 53.67 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1475, allocations: 0 / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1476, allocations: 0 / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1476, allocations: 0 / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1477, allocations: 23.98 kB / 440.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.1481, allocations: 284.8 kB / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1483, allocations: 58.67 kB / 441.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.1483, allocations: 20.84 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1484, allocations: 8 kB / 441.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.1486, allocations: 75.31 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1486, allocations: 0 / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005323/0.1491, allocations: 165.2 kB / 441.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1492, allocations: 59.34 kB / 441.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1494, allocations: 195.3 kB / 441.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1494, allocations: 29.69 kB / 441.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1494, allocations: 108.1 kB / 441.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1495, allocations: 27.69 kB / 441.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1495, allocations: 9.719 kB / 441.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1496, allocations: 330.8 kB / 442.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.1497, allocations: 19.98 kB / 442.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.1498, allocations: 33.7 kB / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1499, allocations: 61.72 kB / 442.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1499, allocations: 3.938 kB / 442.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.1501, allocations: 101.5 kB / 442.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1501, allocations: 4 kB / 442.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1501, allocations: 7.938 kB / 442.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1501, allocations: 0 / 442.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.1502, allocations: 19.92 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1502, allocations: 192 / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1503, allocations: 7.938 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1503, allocations: 11.97 kB / 442.5 MB, free: 12.86 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.0001022/0.1504, allocations: 129.8 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1505, allocations: 11.91 kB / 442.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1505, allocations: 13.41 kB / 442.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1505, allocations: 0 / 442.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1505, allocations: 0 / 442.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.1505, allocations: 7.922 kB / 442.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.151, allocations: 399.2 kB / 443.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.151, allocations: 0 / 443.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.151, allocations: 8 kB / 443.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.151, allocations: 4 kB / 443.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.151, allocations: 3.938 kB / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.151, allocations: 0 / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.151, allocations: 240 / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1513, allocations: 212.2 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.1513, allocations: 88.92 kB / 443.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1514, allocations: 11.94 kB / 443.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1514, allocations: 3.984 kB / 443.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.1515, allocations: 4 kB / 443.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1515, allocations: 4 kB / 443.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1517, allocations: 156.9 kB / 443.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1517, allocations: 0 / 443.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.152, allocations: 27.98 kB / 443.6 MB, free: 11.69 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.001032/0.153, allocations: 468.8 kB / 444 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1532, allocations: 59.97 kB / 444.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1532, allocations: 0 / 444.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1533, allocations: 39.86 kB / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1536, allocations: 23.92 kB / 444.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.1541, allocations: 254.5 kB / 444.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1544, allocations: 0.7043 MB / 445.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1545, allocations: 21.17 kB / 445.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1545, allocations: 15.44 kB / 445.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1545, allocations: 4 kB / 445.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Templates: time 0.004758/0.1593, allocations: 1.615 MB / 446.8 MB, free: 8.473 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) Environment - environmentSimulation: