Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001795/0.001795, allocations: 171.5 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.423/1.423, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001512/0.001512, allocations: 115.4 kB / 218 MB, free: 8.402 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.1937/0.1937, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.845e-05, allocations: 4.625 kB / 350 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.08922, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4347, allocations: 75.1 MB / 473.8 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.435, allocations: 67.23 kB / 473.9 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0116/0.4466, allocations: 4.106 MB / 478 MB, free: 17.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4467, allocations: 0 / 478 MB, free: 17.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4467, allocations: 1.281 kB / 478 MB, free: 17.47 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.0005064/0.4472, allocations: 419.2 kB / 478.4 MB, free: 17.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4473, allocations: 15.41 kB / 478.4 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.4474, allocations: 8.75 kB / 478.4 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4476, allocations: 205.6 kB / 478.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4477, allocations: 0 / 478.6 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4477, allocations: 2.969 kB / 478.7 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.987e-05/0.4478, allocations: 14 kB / 478.7 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.4479, allocations: 48.17 kB / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4479, allocations: 3.938 kB / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4479, allocations: 5.781 kB / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4479, allocations: 0 / 478.7 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.4482, allocations: 272.6 kB / 479 MB, free: 16.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.4484, allocations: 41.56 kB / 479 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.4485, allocations: 12.2 kB / 479 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4485, allocations: 0 / 479 MB, free: 16.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.4486, allocations: 65.97 kB / 479.1 MB, free: 16.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4486, allocations: 0 / 479.1 MB, free: 16.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003747/0.449, allocations: 108.6 kB / 479.2 MB, free: 16.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.449, allocations: 51.41 kB / 479.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.4492, allocations: 179.2 kB / 479.4 MB, free: 16.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4492, allocations: 27.42 kB / 479.5 MB, free: 16.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.4493, allocations: 99.97 kB / 479.6 MB, free: 16.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.4493, allocations: 14.5 kB / 479.6 MB, free: 16.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.4493, allocations: 0 / 479.6 MB, free: 16.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.4494, allocations: 329.9 kB / 479.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.4494, allocations: 19.94 kB / 479.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.062e-05/0.4495, allocations: 23.28 kB / 479.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.4495, allocations: 23.16 kB / 480 MB, free: 15.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4495, allocations: 0 / 480 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001718/0.4497, allocations: 94.19 kB / 480.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.4498, allocations: 33.08 kB / 480.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4498, allocations: 1.453 kB / 480.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4498, allocations: 0 / 480.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.4498, allocations: 17.47 kB / 480.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4499, allocations: 5.141 kB / 480.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.4499, allocations: 2.406 kB / 480.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4499, allocations: 5.328 kB / 480.1 MB, free: 15.74 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.718e-05/0.45, allocations: 114.8 kB / 480.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.45, allocations: 7.562 kB / 480.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.4502, allocations: 91.55 kB / 480.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4502, allocations: 0 / 480.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4502, allocations: 5.125 kB / 480.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4502, allocations: 0 / 480.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.4505, allocations: 344.4 kB / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.4505, allocations: 0 / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.4506, allocations: 8.547 kB / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4506, allocations: 0 / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4506, allocations: 1.438 kB / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4506, allocations: 1.125 kB / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4506, allocations: 0 / 480.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.4508, allocations: 178.9 kB / 480.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.4508, allocations: 92.59 kB / 480.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4509, allocations: 2.859 kB / 480.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.4509, allocations: 2.156 kB / 480.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.451, allocations: 4.078 kB / 481 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.451, allocations: 2.188 kB / 481 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.4511, allocations: 143.9 kB / 481.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4511, allocations: 0 / 481.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.4514, allocations: 38.2 kB / 481.1 MB, free: 14.97 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.0006124/0.452, allocations: 288.3 kB / 481.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.4522, allocations: 111.8 kB / 481.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4522, allocations: 0 / 481.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.4522, allocations: 17.2 kB / 481.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.4525, allocations: 27.58 kB / 481.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.4528, allocations: 156.5 kB / 481.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.453, allocations: 0.7012 MB / 482.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.453, allocations: 19.5 kB / 482.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.4531, allocations: 19.89 kB / 482.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4531, allocations: 0 / 482.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of Templates: time 0.004097/0.4572, allocations: 1.49 MB / 483.9 MB, free: 13.71 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)