Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001213/0.001214, allocations: 169.9 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.527/1.527, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001742/0.001742, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.1946/0.1946, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.823e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08496, allocations: 48.72 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.4387, allocations: 75.71 MB / 481.4 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4389, allocations: 77.27 kB / 481.5 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.4492, allocations: 3.823 MB / 485.3 MB, free: 18.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4493, allocations: 0 / 485.3 MB, free: 18.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4493, allocations: 0 / 485.3 MB, free: 18.1 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.0003885/0.4497, allocations: 409.6 kB / 485.7 MB, free: 17.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4498, allocations: 7.812 kB / 485.7 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.4498, allocations: 8.438 kB / 485.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.45, allocations: 195.6 kB / 485.9 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4501, allocations: 11.62 kB / 485.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.4501, allocations: 0 / 485.9 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.4502, allocations: 44.92 kB / 486 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4502, allocations: 0 / 486 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4503, allocations: 1.547 kB / 486 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4503, allocations: 3.938 kB / 486 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.4503, allocations: 13.36 kB / 486 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.4507, allocations: 288.3 kB / 486.3 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4509, allocations: 49.55 kB / 486.3 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.451, allocations: 8.734 kB / 486.3 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.451, allocations: 3.938 kB / 486.3 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.4511, allocations: 61.27 kB / 486.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4511, allocations: 0 / 486.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003858/0.4515, allocations: 105 kB / 486.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4516, allocations: 59.28 kB / 486.6 MB, free: 16.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4517, allocations: 140.9 kB / 486.7 MB, free: 16.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4517, allocations: 25.7 kB / 486.7 MB, free: 16.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.4518, allocations: 93.23 kB / 486.8 MB, free: 16.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.4518, allocations: 17.97 kB / 486.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.4518, allocations: 3.75 kB / 486.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.4519, allocations: 318.7 kB / 487.2 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.4519, allocations: 19.25 kB / 487.2 MB, free: 16.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.452, allocations: 29.91 kB / 487.2 MB, free: 16.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.452, allocations: 52.02 kB / 487.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.452, allocations: 0 / 487.3 MB, free: 16.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001576/0.4522, allocations: 131.4 kB / 487.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.4522, allocations: 39.03 kB / 487.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4523, allocations: 80 / 487.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4523, allocations: 0 / 487.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.4523, allocations: 10.08 kB / 487.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4523, allocations: 3.984 kB / 487.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.4524, allocations: 7.625 kB / 487.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.4524, allocations: 11.8 kB / 487.5 MB, free: 16.28 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 6.239e-05/0.4525, allocations: 114.8 kB / 487.6 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4525, allocations: 3.906 kB / 487.6 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.4527, allocations: 88.83 kB / 487.7 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4527, allocations: 0 / 487.7 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4527, allocations: 0 / 487.7 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4527, allocations: 0 / 487.7 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.453, allocations: 357.2 kB / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.453, allocations: 0 / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.453, allocations: 9.625 kB / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4531, allocations: 0 / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4531, allocations: 0 / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4531, allocations: 0 / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4531, allocations: 5.859 kB / 488 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.4532, allocations: 174.2 kB / 488.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4533, allocations: 84.89 kB / 488.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.4533, allocations: 9.734 kB / 488.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.4534, allocations: 0 / 488.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.4534, allocations: 10.02 kB / 488.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4534, allocations: 3.875 kB / 488.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.4535, allocations: 119.7 kB / 488.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4535, allocations: 0 / 488.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.4538, allocations: 33.8 kB / 488.4 MB, free: 15.49 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.000836/0.4546, allocations: 329.9 kB / 488.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4549, allocations: 116.8 kB / 488.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4549, allocations: 3.938 kB / 488.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.4549, allocations: 22.03 kB / 488.9 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.00023/0.4552, allocations: 13.06 kB / 488.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.4555, allocations: 112.7 kB / 489 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.4557, allocations: 0.6993 MB / 489.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.4557, allocations: 13.59 kB / 489.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.4558, allocations: 15 kB / 489.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4558, allocations: 0 / 489.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Templates: time 0.004137/0.4599, allocations: 1.47 MB / 491.2 MB, free: 14.23 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)