Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001083/0.001083, 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.605/1.605, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001719/0.001719, allocations: 107.5 kB / 218 MB, free: 8.348 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.2072/0.2072, allocations: 37.99 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.061e-05, allocations: 5.156 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 48.73 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4497, allocations: 75.06 MB / 473.8 MB, free: 17.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.45, allocations: 67.62 kB / 473.9 MB, free: 17.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.4608, allocations: 3.794 MB / 477.7 MB, free: 17.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4609, allocations: 1.375 kB / 477.7 MB, free: 17.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4609, allocations: 1.375 kB / 477.7 MB, free: 17.3 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.0003629/0.4613, allocations: 399.6 kB / 478.1 MB, free: 16.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4613, allocations: 13.56 kB / 478.1 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.4614, allocations: 8.656 kB / 478.1 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4616, allocations: 200.5 kB / 478.3 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4616, allocations: 1.375 kB / 478.3 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.4617, allocations: 6.75 kB / 478.3 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.276e-05/0.4617, allocations: 19.25 kB / 478.3 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.934e-05/0.4618, allocations: 41.45 kB / 478.3 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4619, allocations: 0 / 478.3 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4619, allocations: 2.531 kB / 478.3 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4619, allocations: 5.359 kB / 478.3 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.4622, allocations: 259.2 kB / 478.6 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.4624, allocations: 52.89 kB / 478.6 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.4624, allocations: 8.984 kB / 478.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.4624, allocations: 1.375 kB / 478.7 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.4625, allocations: 54.98 kB / 478.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4626, allocations: 0 / 478.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000366/0.4629, allocations: 104.8 kB / 478.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.463, allocations: 51.41 kB / 478.9 MB, free: 16.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4631, allocations: 139 kB / 479 MB, free: 16.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4631, allocations: 27.08 kB / 479 MB, free: 16.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.4632, allocations: 92.14 kB / 479.1 MB, free: 16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.4632, allocations: 20.69 kB / 479.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.4632, allocations: 1.375 kB / 479.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.4633, allocations: 323.2 kB / 479.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.4634, allocations: 20.53 kB / 479.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.4634, allocations: 17.69 kB / 479.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.4635, allocations: 27.33 kB / 479.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4635, allocations: 0 / 479.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001577/0.4636, allocations: 95.3 kB / 479.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.4637, allocations: 36.52 kB / 479.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4637, allocations: 6.016 kB / 479.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4637, allocations: 1.375 kB / 479.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.4638, allocations: 6.875 kB / 479.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4638, allocations: 1.375 kB / 479.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.4638, allocations: 5.188 kB / 479.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4638, allocations: 2.75 kB / 479.7 MB, free: 15.59 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.37e-05/0.4639, allocations: 119.2 kB / 479.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.4639, allocations: 8.031 kB / 479.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.4641, allocations: 77.5 kB / 479.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4641, allocations: 1.125 kB / 479.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4641, allocations: 3.219 kB / 479.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4641, allocations: 3.938 kB / 479.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.4644, allocations: 322.4 kB / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4644, allocations: 5.219 kB / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.4645, allocations: 7.297 kB / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4645, allocations: 1.406 kB / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4645, allocations: 1.25 kB / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4645, allocations: 0 / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4645, allocations: 1.375 kB / 480.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.4646, allocations: 171 kB / 480.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4647, allocations: 87.3 kB / 480.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.4647, allocations: 6.953 kB / 480.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.4648, allocations: 2.594 kB / 480.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.4648, allocations: 4.656 kB / 480.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.4648, allocations: 6.438 kB / 480.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.385e-05/0.4649, allocations: 107.3 kB / 480.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4649, allocations: 5.125 kB / 480.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.4652, allocations: 30.5 kB / 480.6 MB, free: 14.83 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.0006167/0.4658, allocations: 304.5 kB / 480.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.466, allocations: 104.7 kB / 481 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.466, allocations: 0 / 481 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.466, allocations: 20.12 kB / 481 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.4662, allocations: 22.69 kB / 481.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.4665, allocations: 102.3 kB / 481.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.4671, allocations: 0.7079 MB / 481.9 MB, free: 29.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.814e-05/0.4672, allocations: 9.719 kB / 481.9 MB, free: 29.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.4672, allocations: 15.89 kB / 481.9 MB, free: 29.76 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4672, allocations: 0 / 481.9 MB, free: 29.76 MB / 346.7 MB Notification: Performance of Templates: time 0.003903/0.4711, allocations: 1.409 MB / 483.3 MB, free: 29.57 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)