Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009857/0.0009856, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.259/1.259, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.00157/0.00157, allocations: 110.5 kB / 223.2 MB, free: 4.051 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.1855/0.1855, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3.002e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08489, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4476, allocations: 75.78 MB / 481.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4479, allocations: 70.03 kB / 481.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.4596, allocations: 4.262 MB / 485.8 MB, free: 18.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4596, allocations: 0 / 485.8 MB, free: 18.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4597, allocations: 3.875 kB / 485.8 MB, free: 18.13 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.0003792/0.46, allocations: 432.3 kB / 486.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4601, allocations: 11.66 kB / 486.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.4602, allocations: 7.75 kB / 486.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4604, allocations: 201.7 kB / 486.5 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4605, allocations: 0 / 486.5 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.4605, allocations: 11.22 kB / 486.5 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.4607, allocations: 46.45 kB / 486.5 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4607, allocations: 0 / 486.5 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4607, allocations: 4 kB / 486.5 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.4607, allocations: 0 / 486.5 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.4608, allocations: 17.22 kB / 486.5 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.4612, allocations: 304.9 kB / 486.8 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4614, allocations: 46.8 kB / 486.9 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.4615, allocations: 16.39 kB / 486.9 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.4615, allocations: 7.938 kB / 486.9 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.4616, allocations: 56.64 kB / 487 MB, free: 17.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.4617, allocations: 0 / 487 MB, free: 17.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004548/0.4621, allocations: 119.9 kB / 487.1 MB, free: 17.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4622, allocations: 51.41 kB / 487.1 MB, free: 16.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4623, allocations: 208.1 kB / 487.3 MB, free: 16.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4624, allocations: 33.23 kB / 487.4 MB, free: 16.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.4624, allocations: 109.1 kB / 487.5 MB, free: 16.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.4624, allocations: 16.91 kB / 487.5 MB, free: 16.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.4624, allocations: 0 / 487.5 MB, free: 16.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.4625, allocations: 323.1 kB / 487.8 MB, free: 16.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.4625, allocations: 22.38 kB / 487.8 MB, free: 16.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.4626, allocations: 26.75 kB / 487.8 MB, free: 16.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.4626, allocations: 55.5 kB / 487.9 MB, free: 16.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4626, allocations: 0 / 487.9 MB, free: 16.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001467/0.4628, allocations: 130.8 kB / 488 MB, free: 16.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.4628, allocations: 33.23 kB / 488.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4629, allocations: 5.734 kB / 488.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4629, allocations: 0 / 488.1 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.4629, allocations: 15.75 kB / 488.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4629, allocations: 2.016 kB / 488.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.463, allocations: 11.41 kB / 488.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.463, allocations: 7.859 kB / 488.1 MB, free: 16.29 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 4.265e-05/0.4631, allocations: 105.3 kB / 488.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.4631, allocations: 9.438 kB / 488.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.4633, allocations: 96.47 kB / 488.3 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4633, allocations: 3.938 kB / 488.3 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4633, allocations: 3.906 kB / 488.3 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4633, allocations: 0 / 488.3 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.4636, allocations: 367 kB / 488.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4636, allocations: 3.938 kB / 488.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.4636, allocations: 5.516 kB / 488.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4636, allocations: 0 / 488.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4636, allocations: 7.406 kB / 488.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4637, allocations: 4 kB / 488.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4637, allocations: 0 / 488.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.4638, allocations: 184.5 kB / 488.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.4639, allocations: 90.97 kB / 489 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4639, allocations: 3.312 kB / 489 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.464, allocations: 3.844 kB / 489 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.464, allocations: 1.828 kB / 489 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.464, allocations: 3.875 kB / 489 MB, free: 15.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.4641, allocations: 184.1 kB / 489.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4641, allocations: 0 / 489.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.4644, allocations: 40.33 kB / 489.2 MB, free: 15.48 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.0006713/0.4651, allocations: 331.5 kB / 489.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.4652, allocations: 115.7 kB / 489.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4652, allocations: 4 kB / 489.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.4653, allocations: 22.5 kB / 489.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.4655, allocations: 19.56 kB / 489.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.4658, allocations: 175.6 kB / 489.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.466, allocations: 0.7111 MB / 490.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.4661, allocations: 14.7 kB / 490.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.4661, allocations: 15.28 kB / 490.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4661, allocations: 0 / 490.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of Templates: time 0.00401/0.4701, allocations: 1.615 MB / 492.2 MB, free: 14.22 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)