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.00101/0.001009, allocations: 164.5 kB / 7.636 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.34/1.34, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001649/0.001649, 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.1795/0.1795, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.257e-05, allocations: 5.375 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09513, allocations: 48.73 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.4523, allocations: 75.1 MB / 473.8 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4525, allocations: 69.66 kB / 473.9 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.4645, allocations: 4.095 MB / 478 MB, free: 33.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4645, allocations: 0 / 478 MB, free: 33.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.4645, allocations: 1.375 kB / 478 MB, free: 33.33 MB / 346.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.0004471/0.465, allocations: 422.9 kB / 478.4 MB, free: 32.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4651, allocations: 8.25 kB / 478.4 MB, free: 32.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.4651, allocations: 9.406 kB / 478.4 MB, free: 32.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.4654, allocations: 203.1 kB / 478.6 MB, free: 32.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4654, allocations: 3.938 kB / 478.6 MB, free: 32.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.4655, allocations: 4.125 kB / 478.6 MB, free: 32.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.197e-05/0.4655, allocations: 15.69 kB / 478.7 MB, free: 32.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.591e-05/0.4656, allocations: 39.89 kB / 478.7 MB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4656, allocations: 7.047 kB / 478.7 MB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.4657, allocations: 4 kB / 478.7 MB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4657, allocations: 1.375 kB / 478.7 MB, free: 32.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.466, allocations: 270.9 kB / 479 MB, free: 32.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.4662, allocations: 42.52 kB / 479 MB, free: 32.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.4662, allocations: 16.23 kB / 479 MB, free: 32.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.4662, allocations: 0 / 479 MB, free: 32.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.531e-05/0.4663, allocations: 62.34 kB / 479.1 MB, free: 32.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.4664, allocations: 1.375 kB / 479.1 MB, free: 32.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003602/0.4667, allocations: 106.2 kB / 479.2 MB, free: 32.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.4668, allocations: 54.84 kB / 479.3 MB, free: 32.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4669, allocations: 178 kB / 479.4 MB, free: 32.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4669, allocations: 26.98 kB / 479.5 MB, free: 32.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.467, allocations: 99.77 kB / 479.5 MB, free: 32.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.467, allocations: 18.28 kB / 479.6 MB, free: 32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.467, allocations: 0.75 kB / 479.6 MB, free: 32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.4671, allocations: 325 kB / 479.9 MB, free: 31.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.4671, allocations: 20.94 kB / 479.9 MB, free: 31.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.4672, allocations: 22.84 kB / 479.9 MB, free: 31.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.744e-05/0.4672, allocations: 24.58 kB / 480 MB, free: 31.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4672, allocations: 1.219 kB / 480 MB, free: 31.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001555/0.4674, allocations: 96.48 kB / 480 MB, free: 31.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4674, allocations: 34.61 kB / 480.1 MB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4674, allocations: 5.125 kB / 480.1 MB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4675, allocations: 0 / 480.1 MB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.83e-05/0.4675, allocations: 8.062 kB / 480.1 MB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4675, allocations: 4 kB / 480.1 MB, free: 31.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.4676, allocations: 3.375 kB / 480.1 MB, free: 31.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.4676, allocations: 5.969 kB / 480.1 MB, free: 31.6 MB / 346.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.58e-05/0.4677, allocations: 110.9 kB / 480.2 MB, free: 31.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4677, allocations: 8.938 kB / 480.2 MB, free: 31.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.4679, allocations: 96.98 kB / 480.3 MB, free: 31.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4679, allocations: 1.125 kB / 480.3 MB, free: 31.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4679, allocations: 1.156 kB / 480.3 MB, free: 31.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4679, allocations: 0 / 480.3 MB, free: 31.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.4683, allocations: 331.5 kB / 480.6 MB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4683, allocations: 1.828 kB / 480.6 MB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.4683, allocations: 9.344 kB / 480.7 MB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4683, allocations: 0 / 480.7 MB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4683, allocations: 3.719 kB / 480.7 MB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4683, allocations: 0 / 480.7 MB, free: 31.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4684, allocations: 5.719 kB / 480.7 MB, free: 31.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4685, allocations: 173.5 kB / 480.8 MB, free: 31.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.4686, allocations: 88.58 kB / 480.9 MB, free: 30.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4686, allocations: 1.812 kB / 480.9 MB, free: 30.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.4687, allocations: 1.781 kB / 480.9 MB, free: 30.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.4687, allocations: 4.094 kB / 480.9 MB, free: 30.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.4687, allocations: 8.672 kB / 480.9 MB, free: 30.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4689, allocations: 142.5 kB / 481.1 MB, free: 30.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4689, allocations: 0 / 481.1 MB, free: 30.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.4692, allocations: 32.86 kB / 481.1 MB, free: 30.84 MB / 346.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.0006913/0.4699, allocations: 302 kB / 481.4 MB, free: 30.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.4701, allocations: 106.4 kB / 481.5 MB, free: 30.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4701, allocations: 4 kB / 481.5 MB, free: 30.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.4702, allocations: 28.06 kB / 481.5 MB, free: 30.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.4704, allocations: 17.17 kB / 481.6 MB, free: 30.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.4708, allocations: 156.3 kB / 481.7 MB, free: 30.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.471, allocations: 0.7014 MB / 482.4 MB, free: 29.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.554e-05/0.4711, allocations: 16.3 kB / 482.4 MB, free: 29.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.4711, allocations: 23.19 kB / 482.4 MB, free: 29.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4711, allocations: 0 / 482.4 MB, free: 29.76 MB / 346.7 MB Notification: Performance of Templates: time 0.004078/0.4752, allocations: 1.485 MB / 483.9 MB, free: 29.58 MB / 346.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)