Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 99.86 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.001501/0.001501, allocations: 177.3 kB / 15.94 MB, free: 228 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.828/1.828, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.3351/0.3351, allocations: 38.03 MB / 308.4 MB, free: 10.32 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.0005723/0.0005724, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002391/0.1434, allocations: 1.362 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.145, allocations: 0.7421 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1452, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.1456, allocations: 75.81 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.1459, allocations: 67.78 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1463, allocations: 79.72 kB / 436.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1465, allocations: 63.86 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1466, allocations: 20.19 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1468, allocations: 39.84 kB / 436.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1469, allocations: 43.83 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1469, allocations: 4 kB / 436.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.147, allocations: 31.92 kB / 436.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.1471, allocations: 19.91 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.1471, allocations: 45.58 kB / 436.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1473, allocations: 80.11 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1473, allocations: 0 / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1473, allocations: 4 kB / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1473, allocations: 0 / 436.6 MB, free: 2.887 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.000635/0.148, allocations: 414.8 kB / 437 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.148, allocations: 8.031 kB / 437 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.1481, allocations: 15.86 kB / 437 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1484, allocations: 203.6 kB / 437.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1485, allocations: 4 kB / 437.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1485, allocations: 0 / 437.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1487, allocations: 57.67 kB / 437.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1487, allocations: 3.938 kB / 437.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1487, allocations: 4 kB / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1487, allocations: 0 / 437.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.1488, allocations: 23.88 kB / 437.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.1493, allocations: 288.9 kB / 437.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1495, allocations: 58.67 kB / 437.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1496, allocations: 0 / 437.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.1498, allocations: 71.44 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1498, allocations: 0 / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.1504, allocations: 177.1 kB / 437.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.1505, allocations: 59.41 kB / 438 MB, free: 1.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1508, allocations: 218.3 kB / 438.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1508, allocations: 25.7 kB / 438.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.1509, allocations: 108 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1509, allocations: 19.73 kB / 438.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.1509, allocations: 4 kB / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1511, allocations: 326.8 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.1511, allocations: 15.98 kB / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.1512, allocations: 37.7 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.334e-05/0.1513, allocations: 24 kB / 438.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1513, allocations: 0 / 438.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1515, allocations: 105.4 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1515, allocations: 7.984 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.1515, allocations: 8.141 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1515, allocations: 0 / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.1516, allocations: 19.88 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1517, allocations: 0 / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.1517, allocations: 8.031 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1517, allocations: 15.97 kB / 438.9 MB, free: 388 kB / 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 (10): * Single equations (assignments): 10 * 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.0001107/0.1519, allocations: 118.9 kB / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1519, allocations: 15.81 kB / 439 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.152, allocations: 17.39 kB / 439 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.152, allocations: 7.953 kB / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.152, allocations: 0 / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.152, allocations: 0 / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.1525, allocations: 391.7 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1525, allocations: 7.922 kB / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.1526, allocations: 19.95 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1526, allocations: 0 / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1526, allocations: 4 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1526, allocations: 0 / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1526, allocations: 0 / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1529, allocations: 222.2 kB / 439.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.153, allocations: 92.91 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.153, allocations: 0 / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.1531, allocations: 8 kB / 439.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1531, allocations: 7.984 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1532, allocations: 4 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1533, allocations: 160.2 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1533, allocations: 0 / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1536, allocations: 23.98 kB / 440 MB, free: 15.19 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 (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.001118/0.1547, allocations: 468.7 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1549, allocations: 55.92 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1549, allocations: 0 / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.155, allocations: 31.92 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1553, allocations: 27.92 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.1558, allocations: 254.2 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.1561, allocations: 0.7121 MB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.213e-05/0.1562, allocations: 17.19 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1562, allocations: 19.42 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1562, allocations: 0 / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of Templates: time 0.004576/0.1608, allocations: 1.602 MB / 443.1 MB, free: 11.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) Environment - environmentSimulation: