Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001126/0.001126, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.184/1.184, allocations: 170.6 MB / 178.7 MB, free: 7.051 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: 104.7 kB / 218 MB, free: 15.33 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.1742/0.1742, allocations: 37.98 MB / 295.1 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 8 kB / 350 MB, free: 32.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2895, allocations: 48.68 MB / 398.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4108, allocations: 75.12 MB / 473.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.4112, allocations: 67.97 kB / 473.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.4225, allocations: 3.946 MB / 477.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4225, allocations: 0 / 477.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.4225, allocations: 4 kB / 477.9 MB, free: 3.988 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.0005499/0.4231, allocations: 412.6 kB / 478.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4231, allocations: 8.031 kB / 478.3 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.4232, allocations: 7.906 kB / 478.3 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.4235, allocations: 197.9 kB / 478.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4235, allocations: 0.75 kB / 478.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4236, allocations: 4 kB / 478.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.455e-05/0.4237, allocations: 12 kB / 478.5 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.4238, allocations: 53.55 kB / 478.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4238, allocations: 0 / 478.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4238, allocations: 0 / 478.5 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4238, allocations: 4 kB / 478.5 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.4243, allocations: 265.4 kB / 478.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.4245, allocations: 42.5 kB / 478.8 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.4245, allocations: 16.86 kB / 478.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.4246, allocations: 4 kB / 478.9 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.4247, allocations: 59.42 kB / 478.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4247, allocations: 0 / 478.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.4251, allocations: 97.42 kB / 479 MB, free: 2.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4252, allocations: 55.41 kB / 479.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4253, allocations: 145.2 kB / 479.2 MB, free: 2.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4253, allocations: 29.7 kB / 479.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.4254, allocations: 96.14 kB / 479.3 MB, free: 2.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.4254, allocations: 19.8 kB / 479.4 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.4254, allocations: 0 / 479.4 MB, free: 2.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4256, allocations: 318.8 kB / 479.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.4257, allocations: 19.94 kB / 479.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.4257, allocations: 20 kB / 479.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.4258, allocations: 23.98 kB / 479.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4258, allocations: 0 / 479.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001532/0.4259, allocations: 89.59 kB / 479.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.426, allocations: 45.62 kB / 479.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.426, allocations: 0 / 479.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.426, allocations: 0 / 479.9 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.439e-05/0.4261, allocations: 8 kB / 479.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4261, allocations: 0 / 479.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.4261, allocations: 4 kB / 479.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.4262, allocations: 11.95 kB / 479.9 MB, free: 1.746 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 0.0001292/0.4263, allocations: 105 kB / 480 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.4263, allocations: 7.906 kB / 480 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.4265, allocations: 90.16 kB / 480.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4265, allocations: 7.875 kB / 480.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4266, allocations: 144 / 480.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4266, allocations: 3.984 kB / 480.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.427, allocations: 335.1 kB / 480.4 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.427, allocations: 0 / 480.4 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.427, allocations: 4 kB / 480.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.427, allocations: 0 / 480.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.427, allocations: 8 kB / 480.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.427, allocations: 0 / 480.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.427, allocations: 160 / 480.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.4272, allocations: 179.3 kB / 480.6 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.4273, allocations: 85.02 kB / 480.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.4273, allocations: 0 / 480.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.4274, allocations: 0 / 480.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.4275, allocations: 7.984 kB / 480.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4275, allocations: 8 kB / 480.7 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.4276, allocations: 122.7 kB / 480.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4276, allocations: 0 / 480.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.4279, allocations: 35.98 kB / 480.9 MB, free: 0.6836 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.000899/0.4288, allocations: 296.1 kB / 481.2 MB, free: 428 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.4291, allocations: 115.3 kB / 481.3 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4291, allocations: 0 / 481.3 MB, free: 300 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.4292, allocations: 16 kB / 481.3 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4295, allocations: 15.98 kB / 481.3 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.4299, allocations: 109.1 kB / 481.4 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.4303, allocations: 0.7079 MB / 482.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.4304, allocations: 15.98 kB / 482.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.4304, allocations: 15.38 kB / 482.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4305, allocations: 0 / 482.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of Templates: time 0.004379/0.4348, allocations: 1.431 MB / 483.6 MB, free: 13.94 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)