Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") [: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.00233/0.00233, allocations: 176.1 kB / 7.452 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.027/1.027, 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.001665/0.001665, 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.1475/0.1475, allocations: 37.97 MB / 294.8 MB, free: 9.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.866e-06/8.906e-06, allocations: 2.844 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.7 MB / 398.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.4208, allocations: 75.03 MB / 473.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4211, allocations: 70.72 kB / 473.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01/0.4311, allocations: 3.71 MB / 477 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.4312, allocations: 0 / 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.0003634/0.4315, allocations: 425.8 kB / 477.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4316, allocations: 7.688 kB / 477.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.4316, allocations: 14.78 kB / 477.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4319, allocations: 191.4 kB / 477.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4319, allocations: 0 / 477.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.4319, allocations: 3.844 kB / 477.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.598e-05/0.432, allocations: 17.52 kB / 477.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.924e-05/0.4321, allocations: 49.7 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4321, allocations: 4 kB / 477.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4321, allocations: 4 kB / 477.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4321, allocations: 3.938 kB / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.4324, allocations: 270.4 kB / 478 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.4326, allocations: 34.42 kB / 478 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.4327, allocations: 15.95 kB / 478 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.4327, allocations: 7.75 kB / 478 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/0.4327, allocations: 60.69 kB / 478.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.4328, allocations: 0 / 478.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003282/0.4331, allocations: 96.25 kB / 478.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.4331, allocations: 53.7 kB / 478.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4333, allocations: 167.9 kB / 478.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.4333, allocations: 28.77 kB / 478.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.4333, allocations: 93.8 kB / 478.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.4333, allocations: 16.23 kB / 478.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4333, allocations: 0 / 478.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.4334, allocations: 325.9 kB / 478.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.4334, allocations: 18.44 kB / 478.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.4335, allocations: 18.53 kB / 478.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.4335, allocations: 25.56 kB / 478.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4335, allocations: 0 / 478.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001343/0.4337, allocations: 94.97 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.4337, allocations: 3.812 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4337, allocations: 4 kB / 479 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.4337, allocations: 3.719 kB / 479 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.574e-05/0.4338, allocations: 8.922 kB / 479 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4338, allocations: 3.906 kB / 479 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.4338, allocations: 7.875 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4338, allocations: 10.11 kB / 479.1 MB, free: 11.84 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.712e-05/0.4339, allocations: 105 kB / 479.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.4339, allocations: 11.59 kB / 479.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.4341, allocations: 90.08 kB / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4341, allocations: 0 / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4341, allocations: 3.75 kB / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4341, allocations: 0 / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.4343, allocations: 321.3 kB / 479.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4344, allocations: 3.906 kB / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.4344, allocations: 7.656 kB / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4344, allocations: 0 / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4344, allocations: 4 kB / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4344, allocations: 0 / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4344, allocations: 0 / 479.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001126/0.4345, allocations: 181.7 kB / 479.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.4346, allocations: 84.73 kB / 479.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.4346, allocations: 3.562 kB / 479.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.4347, allocations: 3.875 kB / 479.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.4347, allocations: 11.16 kB / 479.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4347, allocations: 0 / 479.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.079e-05/0.4348, allocations: 132.8 kB / 480 MB, free: 11.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000255/0.4351, allocations: 33.56 kB / 480 MB, free: 11.08 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.0004743/0.4356, allocations: 270.3 kB / 480.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.4357, allocations: 77.91 kB / 480.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4357, allocations: 0 / 480.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.4357, allocations: 22.75 kB / 480.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.436, allocations: 21.89 kB / 480.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.4363, allocations: 143.4 kB / 480.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.4365, allocations: 0.7278 MB / 481.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4365, allocations: 0 / 481.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Templates: time 0.003311/0.4398, allocations: 1.444 MB / 482.7 MB, free: 9.895 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)