Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") [: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.003487/0.003487, allocations: 182.2 kB / 7.455 MB, free: 2.5 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.227/1.227, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001702/0.001702, allocations: 111.8 kB / 217.7 MB, free: 8.215 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.1541/0.1541, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.095e-06, allocations: 3.438 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07714/0.07716, allocations: 48.7 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/0.3408, allocations: 75.05 MB / 473.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.3411, allocations: 65.14 kB / 473.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01005/0.3512, allocations: 3.887 MB / 477.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3512, allocations: 3.906 kB / 477.2 MB, free: 13.52 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.0003253/0.3515, allocations: 430.5 kB / 477.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3516, allocations: 15.66 kB / 477.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3516, allocations: 11.66 kB / 477.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3518, allocations: 204.2 kB / 477.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3518, allocations: 0 / 477.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3519, allocations: 3.906 kB / 477.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.397e-05/0.3519, allocations: 14.2 kB / 477.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.159e-05/0.352, allocations: 42.78 kB / 477.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.352, allocations: 0 / 477.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.352, allocations: 3.906 kB / 477.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.352, allocations: 0 / 477.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.3523, allocations: 283.6 kB / 478.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3525, allocations: 40.89 kB / 478.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.3525, allocations: 11.92 kB / 478.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3525, allocations: 3.984 kB / 478.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.3526, allocations: 51.86 kB / 478.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3526, allocations: 7.906 kB / 478.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002958/0.3529, allocations: 106.7 kB / 478.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.484e-05/0.3529, allocations: 55.28 kB / 478.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3531, allocations: 206.8 kB / 478.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3531, allocations: 25.7 kB / 478.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.3532, allocations: 98.53 kB / 478.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.3532, allocations: 10.88 kB / 478.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.3532, allocations: 3.906 kB / 478.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.3533, allocations: 329.5 kB / 479.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.3533, allocations: 15.53 kB / 479.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.3533, allocations: 18.97 kB / 479.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.3534, allocations: 26.42 kB / 479.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3534, allocations: 0 / 479.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001379/0.3535, allocations: 98.33 kB / 479.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.3536, allocations: 7.75 kB / 479.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3536, allocations: 0 / 479.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3536, allocations: 0 / 479.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.3536, allocations: 10.59 kB / 479.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.3536, allocations: 7.844 kB / 479.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.3537, allocations: 11.53 kB / 479.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3537, allocations: 3.25 kB / 479.3 MB, free: 11.81 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 4.622e-05/0.3538, allocations: 110.4 kB / 479.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3538, allocations: 11.75 kB / 479.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.3539, allocations: 90.39 kB / 479.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.354, allocations: 2.906 kB / 479.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.354, allocations: 0 / 479.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.354, allocations: 4 kB / 479.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.3542, allocations: 342.4 kB / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3542, allocations: 3.844 kB / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.3543, allocations: 3.781 kB / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3543, allocations: 0 / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.3543, allocations: 3.906 kB / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3543, allocations: 0 / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3543, allocations: 0 / 479.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001105/0.3544, allocations: 170.4 kB / 480.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.3545, allocations: 98.3 kB / 480.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3545, allocations: 3.781 kB / 480.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.3546, allocations: 0 / 480.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3546, allocations: 10.86 kB / 480.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3546, allocations: 0 / 480.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001024/0.3547, allocations: 168.4 kB / 480.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000261/0.355, allocations: 30.33 kB / 480.4 MB, free: 11.05 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.0004516/0.3555, allocations: 285.7 kB / 480.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.3556, allocations: 71.33 kB / 480.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3556, allocations: 4 kB / 480.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.3556, allocations: 21.72 kB / 480.7 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.0002145/0.3558, allocations: 17.05 kB / 480.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.3562, allocations: 174.3 kB / 480.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.3563, allocations: 0.7292 MB / 481.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3563, allocations: 0 / 481.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Templates: time 0.003412/0.3598, allocations: 1.511 MB / 483.2 MB, free: 9.848 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)