Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001019/0.001019, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3961/0.3961, allocations: 38.04 MB / 308.4 MB, free: 10.34 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.1. 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.0005804/0.0005805, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001999/0.1443, allocations: 1.327 MB / 435.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1455, allocations: 0.7303 MB / 436 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1456, allocations: 0 / 436 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1459, allocations: 51.86 kB / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1461, allocations: 63.73 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1463, allocations: 63.8 kB / 436.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1465, allocations: 63.84 kB / 436.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.1466, allocations: 15.97 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.1467, allocations: 43.83 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.1467, allocations: 39.78 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1468, allocations: 4 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.1468, allocations: 19.98 kB / 436.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.1469, allocations: 11.92 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.147, allocations: 37.64 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.1471, allocations: 80.09 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1471, allocations: 0 / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1471, allocations: 4 kB / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1471, allocations: 0 / 436.5 MB, free: 3.016 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005342/0.1477, allocations: 390.9 kB / 436.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1477, allocations: 8.031 kB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1478, allocations: 11.86 kB / 436.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.148, allocations: 194.9 kB / 437.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.148, allocations: 7.984 kB / 437.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1481, allocations: 7.938 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1482, allocations: 45.69 kB / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1482, allocations: 0 / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1482, allocations: 3.984 kB / 437.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1482, allocations: 4 kB / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.1483, allocations: 15.95 kB / 437.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.1485, allocations: 181.6 kB / 437.3 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1487, allocations: 54.55 kB / 437.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1487, allocations: 4 kB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1489, allocations: 63.48 kB / 437.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1489, allocations: 0 / 437.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002632/0.1492, allocations: 93.58 kB / 437.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1492, allocations: 55.34 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1494, allocations: 186.2 kB / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1495, allocations: 29.7 kB / 437.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1495, allocations: 104.1 kB / 437.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1496, allocations: 15.81 kB / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.1496, allocations: 0 / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1497, allocations: 326.8 kB / 438.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.1498, allocations: 12 kB / 438.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.1499, allocations: 25.7 kB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.347e-05/0.1499, allocations: 28.23 kB / 438.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1499, allocations: 0 / 438.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/0.1501, allocations: 81.53 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1501, allocations: 4 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1501, allocations: 0 / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1501, allocations: 0 / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.1502, allocations: 12 kB / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1502, allocations: 3.938 kB / 438.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1503, allocations: 7.984 kB / 438.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1503, allocations: 7.984 kB / 438.4 MB, free: 0.8477 MB / 366.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.1504, allocations: 122.9 kB / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.1505, allocations: 7.906 kB / 438.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1505, allocations: 16.3 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1505, allocations: 4 kB / 438.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1505, allocations: 3.938 kB / 438.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1505, allocations: 0 / 438.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.1507, allocations: 189.4 kB / 438.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1507, allocations: 0 / 438.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.1507, allocations: 7.969 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1507, allocations: 8 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1508, allocations: 4 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1508, allocations: 0 / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1508, allocations: 0 / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1509, allocations: 105 kB / 438.9 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.151, allocations: 89.02 kB / 439 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.151, allocations: 0 / 439 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.1511, allocations: 11.98 kB / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1511, allocations: 0 / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1511, allocations: 4.125 kB / 439 MB, free: 192 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1513, allocations: 144 kB / 439.1 MB, free: 48 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 3.938 kB / 439.1 MB, free: 44 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.1515, allocations: 16 kB / 439.1 MB, free: 28 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009252/0.1524, allocations: 413.6 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1526, allocations: 43.98 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1526, allocations: 0 / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.1527, allocations: 23.92 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.1529, allocations: 27.88 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.1534, allocations: 205.3 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1537, allocations: 0.7004 MB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.1538, allocations: 16.67 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1538, allocations: 23.42 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1538, allocations: 3.938 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004128/0.158, allocations: 1.379 MB / 442 MB, free: 13.17 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: