Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 99.7 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.001801/0.001801, 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.798/1.798, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4019/0.4019, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005624/0.0005624, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1447, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00293/0.1477, allocations: 1.366 MB / 435.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1493, allocations: 0.742 MB / 436 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.1494, allocations: 0 / 436 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1497, allocations: 27.91 kB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1499, allocations: 47.81 kB / 436.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1502, allocations: 71.78 kB / 436.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1503, allocations: 59.86 kB / 436.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.1504, allocations: 20.2 kB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.1505, allocations: 35.84 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.1506, allocations: 23.84 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1506, allocations: 4 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.1507, allocations: 23.94 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.1508, allocations: 15.98 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.1508, allocations: 41.58 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.151, allocations: 96.08 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.151, allocations: 0 / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.151, allocations: 0 / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.151, allocations: 0 / 436.5 MB, free: 2.98 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.0005621/0.1516, allocations: 387 kB / 436.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1516, allocations: 8.031 kB / 436.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.1517, allocations: 19.7 kB / 436.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.152, allocations: 206.9 kB / 437.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.152, allocations: 8 kB / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.152, allocations: 0 / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1522, allocations: 53.67 kB / 437.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1522, allocations: 3.938 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1523, allocations: 0 / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1523, allocations: 4 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.1524, allocations: 23.94 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1528, allocations: 284.9 kB / 437.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.153, allocations: 58.66 kB / 437.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1531, allocations: 4 kB / 437.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.1533, allocations: 71.45 kB / 437.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.1533, allocations: 0 / 437.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006589/0.154, allocations: 169.2 kB / 437.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.154, allocations: 63.34 kB / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1542, allocations: 174.2 kB / 438 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1543, allocations: 37.69 kB / 438 MB, free: 1.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.1543, allocations: 100.1 kB / 438.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1544, allocations: 27.69 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1544, allocations: 0 / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1545, allocations: 326.8 kB / 438.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.298e-05/0.1546, allocations: 16 kB / 438.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.1546, allocations: 41.7 kB / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.1547, allocations: 23.98 kB / 438.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1547, allocations: 0 / 438.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1549, allocations: 101.4 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1549, allocations: 4 kB / 438.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.155, allocations: 7.953 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.155, allocations: 0 / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1551, allocations: 20.02 kB / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1551, allocations: 0 / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.1552, allocations: 4 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1552, allocations: 8 kB / 438.7 MB, free: 0.5469 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 (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.000105/0.1553, allocations: 126.8 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.1553, allocations: 7.906 kB / 438.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1554, allocations: 12.72 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1554, allocations: 7.953 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1554, allocations: 3.984 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1554, allocations: 4 kB / 438.9 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.1558, allocations: 387.3 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1559, allocations: 7.938 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.1559, allocations: 7.953 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1559, allocations: 4 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1559, allocations: 0 / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1559, allocations: 0 / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1559, allocations: 4.234 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1562, allocations: 225.8 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.1563, allocations: 89.02 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1563, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.1564, allocations: 3.984 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1564, allocations: 8 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1565, allocations: 8.375 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1566, allocations: 144 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1566, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1569, allocations: 24 kB / 439.8 MB, free: 15.38 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.001059/0.1579, allocations: 477 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1581, allocations: 59.91 kB / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1581, allocations: 0 / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.1582, allocations: 31.92 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1585, allocations: 27.94 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.159, allocations: 234.5 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1593, allocations: 0.7043 MB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.1594, allocations: 21.17 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.1594, allocations: 11.44 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1594, allocations: 0 / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.004488/0.1639, allocations: 1.591 MB / 442.9 MB, free: 12.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) Environment - environmentSimulation: