Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001061/0.001061, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.28/1.28, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001992/0.001992, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1838/0.1838, allocations: 37.97 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.948e-05, allocations: 5.5 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09035, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4461, allocations: 75.1 MB / 473.8 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4464, allocations: 70.48 kB / 473.9 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.4577, allocations: 3.987 MB / 477.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4578, allocations: 0 / 477.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4578, allocations: 1.375 kB / 477.9 MB, free: 17.46 MB / 330.7 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.0004788/0.4583, allocations: 410.3 kB / 478.3 MB, free: 17.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4584, allocations: 11.78 kB / 478.3 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.4585, allocations: 8.188 kB / 478.3 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.4587, allocations: 198.4 kB / 478.5 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4587, allocations: 3.938 kB / 478.5 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.4588, allocations: 6.844 kB / 478.5 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.567e-05/0.4589, allocations: 18.25 kB / 478.5 MB, free: 16.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.459, allocations: 41.67 kB / 478.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.459, allocations: 0 / 478.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.459, allocations: 0 / 478.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.459, allocations: 1.406 kB / 478.6 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4593, allocations: 277.9 kB / 478.9 MB, free: 16.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4595, allocations: 45.8 kB / 478.9 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.4596, allocations: 12.39 kB / 478.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4596, allocations: 1.281 kB / 478.9 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.4597, allocations: 54.62 kB / 479 MB, free: 16.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4597, allocations: 0 / 479 MB, free: 16.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003785/0.4601, allocations: 107 kB / 479.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.4601, allocations: 54.36 kB / 479.1 MB, free: 16.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4603, allocations: 156.8 kB / 479.3 MB, free: 16.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4603, allocations: 26.86 kB / 479.3 MB, free: 16.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.4604, allocations: 102.6 kB / 479.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.4604, allocations: 13.59 kB / 479.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.4604, allocations: 1.188 kB / 479.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.4605, allocations: 320.9 kB / 479.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.4606, allocations: 23.22 kB / 479.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.4606, allocations: 19.28 kB / 479.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.4607, allocations: 21.5 kB / 479.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.4607, allocations: 0 / 479.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001615/0.4609, allocations: 96.98 kB / 479.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.4609, allocations: 34.83 kB / 479.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4609, allocations: 0 / 479.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.461, allocations: 240 / 479.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.461, allocations: 15.03 kB / 479.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4611, allocations: 3.672 kB / 479.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.4611, allocations: 9.812 kB / 480 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.4611, allocations: 11.84 kB / 480 MB, free: 15.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 5.814e-05/0.4612, allocations: 107.2 kB / 480.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.4612, allocations: 9.219 kB / 480.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.4614, allocations: 83.77 kB / 480.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4614, allocations: 1.281 kB / 480.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4614, allocations: 0 / 480.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4614, allocations: 7.078 kB / 480.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.4617, allocations: 330.8 kB / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4617, allocations: 0 / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.4617, allocations: 12.11 kB / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4618, allocations: 1.25 kB / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4618, allocations: 1.25 kB / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.4618, allocations: 0 / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4618, allocations: 0 / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.4619, allocations: 175.2 kB / 480.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.462, allocations: 90.77 kB / 480.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.462, allocations: 2.953 kB / 480.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.4621, allocations: 1.312 kB / 480.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.4621, allocations: 4.734 kB / 480.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4621, allocations: 2.531 kB / 480.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.079e-05/0.4622, allocations: 123.5 kB / 480.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4622, allocations: 0 / 480.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.4625, allocations: 35.53 kB / 480.9 MB, free: 14.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006175/0.4631, allocations: 300.3 kB / 481.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.4633, allocations: 109.8 kB / 481.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4633, allocations: 0 / 481.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.4633, allocations: 25.14 kB / 481.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4636, allocations: 15.64 kB / 481.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.4639, allocations: 131.2 kB / 481.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.4647, allocations: 0.706 MB / 482.2 MB, free: 29.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.4648, allocations: 12.75 kB / 482.2 MB, free: 29.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.4648, allocations: 15.61 kB / 482.2 MB, free: 29.9 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4648, allocations: 0 / 482.2 MB, free: 29.9 MB / 346.7 MB Notification: Performance of Templates: time 0.004324/0.4692, allocations: 1.443 MB / 483.7 MB, free: 29.72 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)