Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001147/0.001147, allocations: 169.8 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.332/1.332, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001613/0.001613, allocations: 107.4 kB / 223.2 MB, free: 4.109 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.1784/0.1784, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.934e-05, allocations: 8 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.087, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.4343, allocations: 75.76 MB / 481.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4346, allocations: 67.77 kB / 481.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.4459, allocations: 4.126 MB / 485.7 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4459, allocations: 0 / 485.7 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.4459, allocations: 3.969 kB / 485.7 MB, free: 18.14 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.0003445/0.4463, allocations: 423.9 kB / 486.1 MB, free: 17.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4463, allocations: 11.44 kB / 486.1 MB, free: 17.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.4463, allocations: 7.812 kB / 486.1 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.4465, allocations: 206 kB / 486.3 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4466, allocations: 3.844 kB / 486.3 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4466, allocations: 0 / 486.3 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.4467, allocations: 47.25 kB / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4467, allocations: 0 / 486.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4467, allocations: 4 kB / 486.4 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4467, allocations: 0 / 486.4 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.297e-05/0.4468, allocations: 17.72 kB / 486.4 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.4471, allocations: 299.4 kB / 486.7 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.4472, allocations: 37.7 kB / 486.7 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.4473, allocations: 20.42 kB / 486.7 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.4473, allocations: 7.984 kB / 486.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.015e-05/0.4474, allocations: 61.17 kB / 486.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.4474, allocations: 0 / 486.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003109/0.4477, allocations: 109.9 kB / 486.9 MB, free: 17.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.4477, allocations: 55.34 kB / 486.9 MB, free: 17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4479, allocations: 186.9 kB / 487.1 MB, free: 16.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4479, allocations: 25.7 kB / 487.2 MB, free: 16.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.4479, allocations: 107.2 kB / 487.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.448, allocations: 17.52 kB / 487.3 MB, free: 16.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.448, allocations: 0 / 487.3 MB, free: 16.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.448, allocations: 322 kB / 487.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.4481, allocations: 23.22 kB / 487.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.4481, allocations: 28.27 kB / 487.6 MB, free: 16.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.4482, allocations: 54.73 kB / 487.7 MB, free: 16.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4482, allocations: 0 / 487.7 MB, free: 16.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.4483, allocations: 132.4 kB / 487.8 MB, free: 16.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4483, allocations: 31.73 kB / 487.9 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4483, allocations: 7.875 kB / 487.9 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4484, allocations: 0 / 487.9 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.4484, allocations: 13.58 kB / 487.9 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4484, allocations: 0 / 487.9 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.4485, allocations: 3.875 kB / 487.9 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4485, allocations: 3.953 kB / 487.9 MB, free: 16.31 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.234e-05/0.4485, allocations: 107 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.4486, allocations: 7.812 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.4487, allocations: 99.8 kB / 488.1 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4487, allocations: 6.078 kB / 488.1 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4487, allocations: 0 / 488.1 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4487, allocations: 0 / 488.1 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.449, allocations: 362.4 kB / 488.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.449, allocations: 0 / 488.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.449, allocations: 7.875 kB / 488.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4491, allocations: 1.922 kB / 488.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.4491, allocations: 3.938 kB / 488.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4491, allocations: 4 kB / 488.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4491, allocations: 0 / 488.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.4492, allocations: 179.5 kB / 488.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.4492, allocations: 90.62 kB / 488.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4493, allocations: 5.656 kB / 488.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.4493, allocations: 0 / 488.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4494, allocations: 9.859 kB / 488.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.4494, allocations: 3.969 kB / 488.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.598e-05/0.4495, allocations: 156.3 kB / 488.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4495, allocations: 3.938 kB / 488.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.4497, allocations: 34.94 kB / 488.9 MB, free: 15.51 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.0006199/0.4504, allocations: 335 kB / 489.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.4505, allocations: 108.5 kB / 489.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4505, allocations: 4 kB / 489.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.4506, allocations: 26.28 kB / 489.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.4508, allocations: 13.38 kB / 489.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.451, allocations: 159.2 kB / 489.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4511, allocations: 0.7003 MB / 490.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.612e-05/0.4512, allocations: 15.09 kB / 490.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4512, allocations: 22.97 kB / 490.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4512, allocations: 0 / 490.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Templates: time 0.003509/0.4548, allocations: 1.558 MB / 491.9 MB, free: 14.25 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)