Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") [: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.001621/0.00162, allocations: 181.9 kB / 7.454 MB, free: 1.555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.102/1.102, allocations: 170.6 MB / 178.4 MB, free: 3.957 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001782/0.001782, allocations: 111.9 kB / 217.7 MB, free: 12.7 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1767/0.1767, allocations: 37.98 MB / 294.8 MB, free: 68 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 8.395e-06/8.425e-06, allocations: 4 kB / 349.5 MB, free: 29.12 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 48.69 MB / 398.2 MB, free: 12.4 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4523, allocations: 75.03 MB / 473.2 MB, free: 8.453 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4526, allocations: 72.38 kB / 473.3 MB, free: 8.441 MB / 306.8 MB Notification: Performance of FrontEnd: time 0.01066/0.4633, allocations: 3.653 MB / 477 MB, free: 6.613 MB / 306.8 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4634, allocations: 7.719 kB / 477 MB, free: 6.609 MB / 306.8 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.0003996/0.4638, allocations: 410.7 kB / 477.4 MB, free: 6.164 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4638, allocations: 11.97 kB / 477.4 MB, free: 6.152 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.4639, allocations: 11.84 kB / 477.4 MB, free: 6.141 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4641, allocations: 197 kB / 477.6 MB, free: 5.914 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.4641, allocations: 0 / 477.6 MB, free: 5.914 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.4642, allocations: 4 kB / 477.6 MB, free: 5.91 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.803e-05/0.4642, allocations: 15.61 kB / 477.6 MB, free: 5.898 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.4643, allocations: 45.38 kB / 477.7 MB, free: 5.852 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4643, allocations: 0 / 477.7 MB, free: 5.852 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4644, allocations: 3.906 kB / 477.7 MB, free: 5.848 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4644, allocations: 4 kB / 477.7 MB, free: 5.844 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.4647, allocations: 269.7 kB / 477.9 MB, free: 5.562 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4649, allocations: 37.38 kB / 478 MB, free: 5.523 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.4649, allocations: 16.88 kB / 478 MB, free: 5.508 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.4649, allocations: 3.984 kB / 478 MB, free: 5.504 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.465, allocations: 55.22 kB / 478 MB, free: 5.441 MB / 306.8 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.465, allocations: 0 / 478 MB, free: 5.441 MB / 306.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003603/0.4654, allocations: 95.39 kB / 478.1 MB, free: 5.352 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.4654, allocations: 58.66 kB / 478.2 MB, free: 5.285 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4655, allocations: 151.3 kB / 478.3 MB, free: 5.145 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4656, allocations: 29.7 kB / 478.4 MB, free: 5.109 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.4656, allocations: 92 kB / 478.5 MB, free: 5.02 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.4656, allocations: 11.81 kB / 478.5 MB, free: 5.008 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.4656, allocations: 0 / 478.5 MB, free: 5.008 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.4657, allocations: 326.8 kB / 478.8 MB, free: 4.684 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.4657, allocations: 19.75 kB / 478.8 MB, free: 4.672 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.4658, allocations: 21.56 kB / 478.8 MB, free: 4.66 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.4658, allocations: 25.89 kB / 478.9 MB, free: 4.641 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4658, allocations: 0 / 478.9 MB, free: 4.641 MB / 306.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001346/0.466, allocations: 96.27 kB / 478.9 MB, free: 4.555 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.466, allocations: 7.125 kB / 479 MB, free: 4.551 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.466, allocations: 0 / 479 MB, free: 4.551 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.466, allocations: 4 kB / 479 MB, free: 4.547 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.4661, allocations: 10.94 kB / 479 MB, free: 4.539 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4661, allocations: 4 kB / 479 MB, free: 4.535 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.4661, allocations: 4.031 kB / 479 MB, free: 4.531 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4662, allocations: 7.938 kB / 479 MB, free: 4.523 MB / 306.8 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.428e-05/0.4662, allocations: 112.8 kB / 479.1 MB, free: 4.406 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.4662, allocations: 7.906 kB / 479.1 MB, free: 4.398 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.4664, allocations: 81.67 kB / 479.2 MB, free: 4.324 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4664, allocations: 4 kB / 479.2 MB, free: 4.32 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4664, allocations: 4 kB / 479.2 MB, free: 4.316 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4664, allocations: 0 / 479.2 MB, free: 4.316 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.4667, allocations: 330.1 kB / 479.5 MB, free: 3.977 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4667, allocations: 0 / 479.5 MB, free: 3.977 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.4667, allocations: 8 kB / 479.5 MB, free: 3.969 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4667, allocations: 0 / 479.5 MB, free: 3.969 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4667, allocations: 0 / 479.5 MB, free: 3.969 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4667, allocations: 0 / 479.5 MB, free: 3.969 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4667, allocations: 0 / 479.5 MB, free: 3.969 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001258/0.4669, allocations: 177.2 kB / 479.7 MB, free: 3.793 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.4669, allocations: 85.02 kB / 479.8 MB, free: 3.691 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.467, allocations: 4 kB / 479.8 MB, free: 3.688 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.467, allocations: 0 / 479.8 MB, free: 3.688 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.4671, allocations: 7.984 kB / 479.8 MB, free: 3.68 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.4671, allocations: 0 / 479.8 MB, free: 3.68 MB / 306.8 MB Notification: Performance of sort global known variables: time 6.833e-05/0.4672, allocations: 123.4 kB / 479.9 MB, free: 3.574 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.0002614/0.4674, allocations: 47.08 kB / 480 MB, free: 3.531 MB / 306.8 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.0005603/0.468, allocations: 268.9 kB / 480.2 MB, free: 3.305 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.4681, allocations: 80.94 kB / 480.3 MB, free: 3.234 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4682, allocations: 0 / 480.3 MB, free: 3.234 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.4682, allocations: 18.94 kB / 480.3 MB, free: 3.219 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.4684, allocations: 18.73 kB / 480.3 MB, free: 3.203 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.4687, allocations: 128.6 kB / 480.5 MB, free: 3.066 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.4689, allocations: 0.7152 MB / 481.2 MB, free: 2.324 MB / 306.8 MB Notification: Performance of SimCode: time 2.91e-07/0.4689, allocations: 0 / 481.2 MB, free: 2.324 MB / 306.8 MB Notification: Performance of Templates: time 0.003544/0.4725, allocations: 1.441 MB / 482.6 MB, free: 0.918 MB / 306.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)