Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") [: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.003373/0.003373, allocations: 176.7 kB / 7.452 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.315/1.315, 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.001694/0.001694, allocations: 108.4 kB / 217.7 MB, free: 8.156 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.1524/0.1524, allocations: 37.97 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.658e-06, allocations: 1.5 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.4185, allocations: 75.03 MB / 473.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.4187, allocations: 64.56 kB / 473.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009853/0.4285, allocations: 3.852 MB / 477.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.4286, allocations: 4.594 kB / 477.2 MB, free: 13.4 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.0002654/0.4288, allocations: 416.3 kB / 477.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.453e-05/0.4289, allocations: 17.11 kB / 477.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.4289, allocations: 11.75 kB / 477.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.4291, allocations: 208 kB / 477.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-06/0.4291, allocations: 0 / 477.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.4291, allocations: 3.844 kB / 477.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.806e-05/0.4292, allocations: 15.19 kB / 477.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.581e-05/0.4293, allocations: 45.22 kB / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.4293, allocations: 0 / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.4293, allocations: 0 / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-06/0.4293, allocations: 0 / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.4296, allocations: 285 kB / 478.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.4297, allocations: 41.05 kB / 478.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.4297, allocations: 12.02 kB / 478.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.4298, allocations: 0 / 478.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.4298, allocations: 51.58 kB / 478.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4298, allocations: 4 kB / 478.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002771/0.4301, allocations: 111.6 kB / 478.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.397e-05/0.4301, allocations: 51.41 kB / 478.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4303, allocations: 189.7 kB / 478.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.4303, allocations: 29.64 kB / 478.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.4303, allocations: 89.48 kB / 478.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.4303, allocations: 18.25 kB / 478.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4304, allocations: 3.812 kB / 478.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.4304, allocations: 321 kB / 479 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.4305, allocations: 22.66 kB / 479.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.4305, allocations: 25.09 kB / 479.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.4305, allocations: 21.2 kB / 479.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4305, allocations: 0 / 479.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001428/0.4307, allocations: 94.92 kB / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.4307, allocations: 6.656 kB / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.4307, allocations: 0 / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4307, allocations: 3.969 kB / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.4308, allocations: 13.05 kB / 479.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.4308, allocations: 7.281 kB / 479.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.4308, allocations: 4.094 kB / 479.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.4309, allocations: 7.281 kB / 479.3 MB, free: 11.68 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 3.863e-05/0.4309, allocations: 104.3 kB / 479.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.4309, allocations: 14.03 kB / 479.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.4311, allocations: 88.86 kB / 479.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4311, allocations: 0 / 479.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.4311, allocations: 3.188 kB / 479.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4311, allocations: 4 kB / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.4313, allocations: 332.3 kB / 479.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4314, allocations: 0 / 479.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.4314, allocations: 10.34 kB / 479.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4314, allocations: 3.094 kB / 479.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4314, allocations: 3.188 kB / 479.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4314, allocations: 0 / 479.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4314, allocations: 0 / 479.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001137/0.4316, allocations: 172.6 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.4316, allocations: 87.36 kB / 480.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4316, allocations: 7.344 kB / 480.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.4317, allocations: 3.25 kB / 480.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.4317, allocations: 2.484 kB / 480.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4317, allocations: 3.375 kB / 480.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.198e-05/0.4318, allocations: 147.1 kB / 480.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.4321, allocations: 43.83 kB / 480.3 MB, free: 10.93 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.0004219/0.4325, allocations: 274.6 kB / 480.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4327, allocations: 73.91 kB / 480.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4327, allocations: 4 kB / 480.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.4327, allocations: 18.06 kB / 480.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4329, allocations: 17.5 kB / 480.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.4332, allocations: 161 kB / 480.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.4334, allocations: 0.7222 MB / 481.5 MB, free: 25.91 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4334, allocations: 0 / 481.5 MB, free: 25.91 MB / 346.7 MB Notification: Performance of Templates: time 0.003117/0.4366, allocations: 1.504 MB / 483 MB, free: 25.73 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)