Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006935/0.0006935, allocations: 94.78 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4252/0.4252, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.000351, allocations: 16 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4308, allocations: 62.95 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.5574, allocations: 90.89 MB / 0.6052 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5577, allocations: 75.95 kB / 0.6053 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.5769, allocations: 7.258 MB / 0.6124 GB, free: 7.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5769, allocations: 3.938 kB / 0.6124 GB, free: 7.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.5769, allocations: 0 / 0.6124 GB, free: 7.156 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005892/0.5775, allocations: 439 kB / 0.6128 GB, free: 6.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5776, allocations: 8.031 kB / 0.6128 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.5776, allocations: 12.75 kB / 0.6128 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.5779, allocations: 215.7 kB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.578, allocations: 4.375 kB / 0.613 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.578, allocations: 8.359 kB / 0.6131 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.5782, allocations: 67.52 kB / 0.6131 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5782, allocations: 0 / 0.6131 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.5782, allocations: 8 kB / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5782, allocations: 0 / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.5783, allocations: 19.98 kB / 0.6131 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5787, allocations: 296.8 kB / 0.6134 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.5789, allocations: 58.67 kB / 0.6135 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.579, allocations: 24.86 kB / 0.6135 GB, free: 5.859 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.579, allocations: 3.984 kB / 0.6135 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.5792, allocations: 71.33 kB / 0.6136 GB, free: 5.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.5792, allocations: 0 / 0.6136 GB, free: 5.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.5798, allocations: 177.2 kB / 0.6138 GB, free: 5.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5798, allocations: 81.05 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.58, allocations: 174.3 kB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.58, allocations: 25.7 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.5801, allocations: 100.1 kB / 0.6141 GB, free: 5.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.5801, allocations: 19.66 kB / 0.6141 GB, free: 5.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.5801, allocations: 4 kB / 0.6141 GB, free: 5.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.5802, allocations: 326.8 kB / 0.6144 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.5803, allocations: 23.98 kB / 0.6145 GB, free: 4.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.5804, allocations: 50.5 kB / 0.6145 GB, free: 4.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.5805, allocations: 61.64 kB / 0.6146 GB, free: 4.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5805, allocations: 0 / 0.6146 GB, free: 4.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.5807, allocations: 101.6 kB / 0.6147 GB, free: 4.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5807, allocations: 4 kB / 0.6147 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5807, allocations: 0 / 0.6147 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5807, allocations: 0 / 0.6147 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.5808, allocations: 23.92 kB / 0.6147 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5809, allocations: 4.062 kB / 0.6147 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.5809, allocations: 8 kB / 0.6147 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.5809, allocations: 0 / 0.6147 GB, free: 4.539 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.436e-05/0.581, allocations: 128.4 kB / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.5811, allocations: 11.81 kB / 0.6148 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.5813, allocations: 118.7 kB / 0.615 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5813, allocations: 3.984 kB / 0.615 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5813, allocations: 0 / 0.615 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5813, allocations: 4 kB / 0.615 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.5818, allocations: 415.2 kB / 0.6154 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5818, allocations: 0 / 0.6154 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.5818, allocations: 16 kB / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5819, allocations: 0 / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5819, allocations: 0 / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.994e-06/0.5819, allocations: 7.938 kB / 0.6154 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5819, allocations: 3.938 kB / 0.6154 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.5821, allocations: 208.3 kB / 0.6156 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.5822, allocations: 93.3 kB / 0.6157 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.5822, allocations: 7.922 kB / 0.6157 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.5823, allocations: 11.88 kB / 0.6157 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.5823, allocations: 11.98 kB / 0.6157 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.5824, allocations: 7.938 kB / 0.6157 GB, free: 3.398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.5825, allocations: 127.2 kB / 0.6158 GB, free: 3.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5825, allocations: 0 / 0.6158 GB, free: 3.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.5828, allocations: 59.92 kB / 0.6159 GB, free: 3.215 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001297/0.5841, allocations: 0.5569 MB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.5843, allocations: 63.91 kB / 0.6165 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5844, allocations: 0 / 0.6165 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.5844, allocations: 31.94 kB / 0.6165 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5848, allocations: 26.95 kB / 0.6166 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.5853, allocations: 251.9 kB / 0.6168 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.5855, allocations: 0.7004 MB / 0.6175 GB, free: 1.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.5856, allocations: 15.44 kB / 0.6175 GB, free: 1.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5856, allocations: 0 / 0.6175 GB, free: 1.703 MB / 426.7 MB Notification: Performance of Templates: time 0.004576/0.5902, allocations: 2.4 MB / 0.6198 GB, free: 15.3 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89 --alarm=480 > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)