Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003437/0.003437, allocations: 173.2 kB / 7.449 MB, free: 2.508 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.073/1.073, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001724/0.001724, allocations: 109 kB / 217.7 MB, free: 8.145 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.1584/0.1584, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.279e-05/1.283e-05, allocations: 1.656 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 48.71 MB / 398.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4599, allocations: 75 MB / 473.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4602, allocations: 68.05 kB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01051/0.4707, allocations: 3.561 MB / 476.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4708, allocations: 0 / 476.8 MB, free: 13.47 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.0004425/0.4712, allocations: 406.7 kB / 477.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4713, allocations: 8.594 kB / 477.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.4713, allocations: 18.92 kB / 477.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4716, allocations: 197.5 kB / 477.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4716, allocations: 0 / 477.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.4716, allocations: 3.875 kB / 477.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.95e-05/0.4717, allocations: 13.31 kB / 477.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.094e-05/0.4718, allocations: 45.98 kB / 477.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4719, allocations: 0 / 477.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4719, allocations: 7.844 kB / 477.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4719, allocations: 2.625 kB / 477.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.4722, allocations: 263.2 kB / 477.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.4724, allocations: 46.89 kB / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.4725, allocations: 11.97 kB / 477.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4725, allocations: 3.688 kB / 477.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.277e-05/0.4726, allocations: 53.52 kB / 477.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.4726, allocations: 4 kB / 477.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000374/0.473, allocations: 104.4 kB / 478 MB, free: 12.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.473, allocations: 51.41 kB / 478.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4732, allocations: 155.9 kB / 478.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.4732, allocations: 25.7 kB / 478.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.4732, allocations: 93.77 kB / 478.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4732, allocations: 14.12 kB / 478.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.4733, allocations: 0 / 478.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.4733, allocations: 327.9 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.4734, allocations: 18.81 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.4734, allocations: 21.39 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.4735, allocations: 24.42 kB / 478.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4735, allocations: 0 / 478.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001504/0.4736, allocations: 96.94 kB / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4737, allocations: 7.875 kB / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4737, allocations: 0 / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4737, allocations: 0 / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.634e-05/0.4737, allocations: 7.75 kB / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4737, allocations: 0 / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.4738, allocations: 7.875 kB / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4738, allocations: 7.078 kB / 478.8 MB, free: 11.79 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 5.71e-05/0.4739, allocations: 112.8 kB / 479 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.4739, allocations: 11.72 kB / 479 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.4741, allocations: 87.92 kB / 479.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4741, allocations: 0 / 479.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4741, allocations: 0 / 479.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4741, allocations: 7.875 kB / 479.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4744, allocations: 316.9 kB / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4744, allocations: 3.938 kB / 479.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.4744, allocations: 10.94 kB / 479.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4744, allocations: 144 / 479.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.4744, allocations: 0 / 479.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4744, allocations: 0 / 479.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4744, allocations: 3.844 kB / 479.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001294/0.4746, allocations: 174.4 kB / 479.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.4746, allocations: 88.2 kB / 479.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4747, allocations: 4.062 kB / 479.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.4747, allocations: 3.875 kB / 479.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.4748, allocations: 3.141 kB / 479.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.4748, allocations: 3.875 kB / 479.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.437e-05/0.4749, allocations: 125.6 kB / 479.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.4751, allocations: 34.41 kB / 479.8 MB, free: 11.02 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.0005811/0.4757, allocations: 265.3 kB / 480.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.4759, allocations: 71.77 kB / 480.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4759, allocations: 4 kB / 480.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.4759, allocations: 21.75 kB / 480.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4762, allocations: 22.52 kB / 480.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.4765, allocations: 128.4 kB / 480.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.4768, allocations: 0.7212 MB / 481 MB, free: 26.01 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4769, allocations: 0 / 481 MB, free: 26.01 MB / 346.7 MB Notification: Performance of Templates: time 0.004013/0.4809, allocations: 1.442 MB / 482.5 MB, free: 25.84 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)