Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") [: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.003049/0.003049, allocations: 174.8 kB / 7.45 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.079/1.079, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001698/0.001698, allocations: 112.6 kB / 217.7 MB, free: 8.234 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.1822/0.1822, allocations: 37.98 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.017e-06, allocations: 2.906 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09855, allocations: 48.72 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4535, allocations: 74.9 MB / 473.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.4539, allocations: 66.98 kB / 473.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01862/0.4726, allocations: 5.014 MB / 478.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.515e-05/0.4727, allocations: 7.781 kB / 478.2 MB, free: 13.27 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.001042/0.4738, allocations: 0.6538 MB / 478.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4738, allocations: 7.781 kB / 478.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.4741, allocations: 42.62 kB / 478.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.4752, allocations: 435 kB / 479.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4753, allocations: 3.906 kB / 479.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.4753, allocations: 6.406 kB / 479.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/0.4755, allocations: 27.45 kB / 479.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4756, allocations: 57.72 kB / 479.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4757, allocations: 0 / 479.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4757, allocations: 7.219 kB / 479.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.4757, allocations: 0 / 479.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.4763, allocations: 360.5 kB / 479.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.4764, allocations: 57.8 kB / 479.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.4765, allocations: 21.03 kB / 479.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4765, allocations: 4 kB / 479.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.4766, allocations: 83.52 kB / 479.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.696e-06/0.4767, allocations: 0 / 479.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004526/0.4771, allocations: 113.6 kB / 480.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4772, allocations: 84.95 kB / 480.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.4791, allocations: 0.8602 MB / 481 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.4791, allocations: 29.67 kB / 481 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.808e-05/0.4792, allocations: 133.4 kB / 481.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.4793, allocations: 15.62 kB / 481.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.4793, allocations: 0 / 481.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4795, allocations: 365.6 kB / 481.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.4796, allocations: 31.69 kB / 481.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.4797, allocations: 45 kB / 481.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4798, allocations: 42.88 kB / 481.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4798, allocations: 0 / 481.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004359/0.4803, allocations: 169.2 kB / 481.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4803, allocations: 3.969 kB / 481.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4803, allocations: 3.938 kB / 481.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.4804, allocations: 3.875 kB / 481.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4805, allocations: 11 kB / 481.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4805, allocations: 3.906 kB / 481.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4807, allocations: 11.72 kB / 481.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.4807, allocations: 7.906 kB / 481.9 MB, free: 11.28 MB / 330.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 7.613e-05/0.4808, allocations: 119.9 kB / 482 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.4809, allocations: 42.78 kB / 482 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.4812, allocations: 148.2 kB / 482.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4812, allocations: 0 / 482.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4812, allocations: 0 / 482.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4813, allocations: 0 / 482.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.4816, allocations: 338.1 kB / 482.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4816, allocations: 4.125 kB / 482.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.4817, allocations: 15.19 kB / 482.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4817, allocations: 0 / 482.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4817, allocations: 3.875 kB / 482.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4817, allocations: 0 / 482.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4817, allocations: 0 / 482.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003456/0.4821, allocations: 169.4 kB / 482.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.4824, allocations: 183.5 kB / 482.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4825, allocations: 7.312 kB / 482.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4827, allocations: 3.906 kB / 482.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.4828, allocations: 11.19 kB / 482.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4828, allocations: 3.969 kB / 482.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001047/0.4839, allocations: 0.6725 MB / 483.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005/0.4844, allocations: 95.33 kB / 483.7 MB, free: 10.57 MB / 330.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001003/0.4854, allocations: 347.2 kB / 484 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.4857, allocations: 134.8 kB / 484.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4857, allocations: 0 / 484.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.4858, allocations: 24.69 kB / 484.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4863, allocations: 39.73 kB / 484.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4879, allocations: 0.7079 MB / 484.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/0.4887, allocations: 0.8723 MB / 485.8 MB, free: 25.4 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4887, allocations: 0 / 485.8 MB, free: 25.4 MB / 346.7 MB Notification: Performance of Templates: time 0.01201/0.5007, allocations: 3.534 MB / 489.3 MB, free: 25.01 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)