Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") [: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.002448/0.002448, allocations: 177.3 kB / 7.453 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.37 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.001966/0.001966, allocations: 119.8 kB / 217.7 MB, free: 8.137 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.1649/0.1649, allocations: 37.99 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.108e-06/9.138e-06, allocations: 2.469 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09544, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4219, allocations: 75.04 MB / 473.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.4222, allocations: 67.73 kB / 473.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01002/0.4322, allocations: 3.712 MB / 477 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4323, allocations: 4 kB / 477 MB, free: 13.55 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.0003964/0.4327, allocations: 420.5 kB / 477.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4327, allocations: 11.75 kB / 477.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.4328, allocations: 7.812 kB / 477.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.433, allocations: 196.8 kB / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.4331, allocations: 0 / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.4331, allocations: 3.906 kB / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.119e-05/0.4332, allocations: 12.83 kB / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.058e-05/0.4333, allocations: 50 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4333, allocations: 3.938 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4333, allocations: 2.719 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4333, allocations: 3.875 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.4337, allocations: 269.2 kB / 478 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.434, allocations: 38.02 kB / 478 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.434, allocations: 15.95 kB / 478.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.434, allocations: 4.406 kB / 478.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.4341, allocations: 56.78 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.4341, allocations: 0 / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003237/0.4345, allocations: 98.3 kB / 478.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.4345, allocations: 54.08 kB / 478.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4346, allocations: 169.6 kB / 478.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4347, allocations: 29.55 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.4347, allocations: 98.31 kB / 478.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4347, allocations: 14.33 kB / 478.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.4347, allocations: 0 / 478.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.4348, allocations: 320.8 kB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.4349, allocations: 20.31 kB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.4349, allocations: 18.62 kB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.435, allocations: 25.59 kB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.435, allocations: 0 / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001422/0.4351, allocations: 94.48 kB / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4351, allocations: 7.594 kB / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4351, allocations: 0 / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4352, allocations: 3.969 kB / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.4352, allocations: 10.91 kB / 479.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.4352, allocations: 11.98 kB / 479.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.4353, allocations: 3.938 kB / 479.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4353, allocations: 3.969 kB / 479.1 MB, free: 11.85 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.241e-05/0.4354, allocations: 111.5 kB / 479.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.4354, allocations: 11.81 kB / 479.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.4356, allocations: 90.73 kB / 479.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4356, allocations: 0 / 479.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4356, allocations: 0 / 479.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4356, allocations: 0 / 479.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.4358, allocations: 322.3 kB / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4358, allocations: 3.906 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.4359, allocations: 7.719 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4359, allocations: 4 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4359, allocations: 5.484 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4359, allocations: 4.031 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4359, allocations: 3.938 kB / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001303/0.4361, allocations: 163.4 kB / 479.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.4361, allocations: 95.33 kB / 479.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4362, allocations: 3.906 kB / 479.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.4362, allocations: 0 / 479.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.4363, allocations: 11.08 kB / 479.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4363, allocations: 0 / 479.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.302e-05/0.4364, allocations: 132.5 kB / 480 MB, free: 11.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000285/0.4367, allocations: 33.92 kB / 480.1 MB, free: 11.09 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.0006902/0.4374, allocations: 277 kB / 480.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.4376, allocations: 76.08 kB / 480.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4376, allocations: 0 / 480.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.4377, allocations: 20.88 kB / 480.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.438, allocations: 15.36 kB / 480.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.4384, allocations: 143.4 kB / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/0.4389, allocations: 0.7208 MB / 481.3 MB, free: 26.08 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4389, allocations: 3.938 kB / 481.3 MB, free: 26.07 MB / 346.7 MB Notification: Performance of Templates: time 0.005068/0.444, allocations: 1.454 MB / 482.8 MB, free: 25.9 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)