Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001113/0.001113, allocations: 169.3 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.318/1.318, 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.001546/0.001546, allocations: 103.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.1807/0.1807, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.399e-05/4.41e-05, allocations: 8 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09736, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4392, allocations: 75.61 MB / 481.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4395, allocations: 70.7 kB / 481.4 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.4498, allocations: 3.827 MB / 485.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4498, allocations: 0 / 485.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4499, allocations: 1.438 kB / 485.2 MB, free: 18.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003363/0.4502, allocations: 399 kB / 485.6 MB, free: 17.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4503, allocations: 13.97 kB / 485.6 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.4503, allocations: 13.55 kB / 485.6 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.4505, allocations: 198 kB / 485.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4505, allocations: 3.438 kB / 485.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.4506, allocations: 7.812 kB / 485.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.105e-05/0.4507, allocations: 33.25 kB / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4507, allocations: 0 / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4507, allocations: 3.875 kB / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4507, allocations: 0 / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.4507, allocations: 13.72 kB / 485.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.4509, allocations: 184.5 kB / 486.1 MB, free: 17.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.451, allocations: 27.75 kB / 486.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.451, allocations: 16.2 kB / 486.1 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.451, allocations: 3.828 kB / 486.1 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/0.4511, allocations: 60.11 kB / 486.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.4511, allocations: 4 kB / 486.2 MB, free: 17.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001471/0.4513, allocations: 58.11 kB / 486.2 MB, free: 17.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.4513, allocations: 51.41 kB / 486.3 MB, free: 17.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.4514, allocations: 159.8 kB / 486.4 MB, free: 16.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4515, allocations: 29.61 kB / 486.5 MB, free: 16.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.4515, allocations: 97.09 kB / 486.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.4515, allocations: 12.75 kB / 486.6 MB, free: 16.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4515, allocations: 0 / 486.6 MB, free: 16.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.4516, allocations: 328 kB / 486.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.4516, allocations: 20.55 kB / 486.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.4516, allocations: 11.38 kB / 486.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.4517, allocations: 56.97 kB / 487 MB, free: 16.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4517, allocations: 0 / 487 MB, free: 16.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001231/0.4518, allocations: 111.1 kB / 487.1 MB, free: 16.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4519, allocations: 36.8 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4519, allocations: 2.203 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.4519, allocations: 0 / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.4519, allocations: 3.938 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.452, allocations: 4 kB / 487.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.452, allocations: 15.5 kB / 487.2 MB, free: 16.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.452, allocations: 5.656 kB / 487.2 MB, free: 16.36 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 (5): * Single equations (assignments): 4 * 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.838e-05/0.4521, allocations: 108.6 kB / 487.3 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.4521, allocations: 7.75 kB / 487.3 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.4522, allocations: 68.28 kB / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4522, allocations: 3.844 kB / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4523, allocations: 0 / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4523, allocations: 8.078 kB / 487.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.835e-05/0.4524, allocations: 180.8 kB / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4524, allocations: 0 / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.4524, allocations: 3.812 kB / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4524, allocations: 3.719 kB / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.4524, allocations: 1.781 kB / 487.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4524, allocations: 3.938 kB / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4524, allocations: 0 / 487.5 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.925e-05/0.4525, allocations: 89.03 kB / 487.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.4526, allocations: 94.53 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.4526, allocations: 8.094 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.4526, allocations: 1.828 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.4527, allocations: 3.875 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4527, allocations: 1.828 kB / 487.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.4527, allocations: 133.7 kB / 487.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4528, allocations: 0 / 487.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.453, allocations: 25.39 kB / 487.9 MB, free: 15.75 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 (4): * Single equations (assignments): 3 * 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.0005842/0.4535, allocations: 293.4 kB / 488.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.4537, allocations: 103.9 kB / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4537, allocations: 0 / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.4537, allocations: 7.75 kB / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.4539, allocations: 16.47 kB / 488.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.4542, allocations: 135.1 kB / 488.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.4543, allocations: 0.7004 MB / 489.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.4544, allocations: 15.69 kB / 489.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.4544, allocations: 11.12 kB / 489.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4544, allocations: 0 / 489.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Templates: time 0.003181/0.4576, allocations: 1.31 MB / 490.5 MB, free: 14.54 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)