Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") [: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.002816/0.002816, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.171/1.171, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.001738/0.001738, allocations: 115.8 kB / 217.7 MB, free: 8.129 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.1634/0.1634, allocations: 37.97 MB / 294.8 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.095e-05, allocations: 2.719 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 48.71 MB / 398.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.4309, allocations: 75.31 MB / 473.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.4312, allocations: 66.45 kB / 473.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01619/0.4474, allocations: 6.055 MB / 479.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.4475, allocations: 4 kB / 479.6 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.0004674/0.4479, allocations: 434.4 kB / 480.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.448, allocations: 11.62 kB / 480.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.448, allocations: 7.719 kB / 480.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.4483, allocations: 198.8 kB / 480.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4483, allocations: 2.562 kB / 480.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4483, allocations: 7.812 kB / 480.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.953e-05/0.4484, allocations: 13.55 kB / 480.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.4485, allocations: 64.97 kB / 480.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4485, allocations: 0 / 480.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4486, allocations: 3.875 kB / 480.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4486, allocations: 0 / 480.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.4489, allocations: 262.3 kB / 480.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.4491, allocations: 35.64 kB / 480.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.4491, allocations: 16.39 kB / 480.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.4491, allocations: 4 kB / 480.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/0.4492, allocations: 52.64 kB / 480.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.4492, allocations: 3.984 kB / 480.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004268/0.4497, allocations: 97.2 kB / 480.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.4497, allocations: 77.11 kB / 480.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.4498, allocations: 127.5 kB / 481 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4498, allocations: 25.7 kB / 481.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.4499, allocations: 94.7 kB / 481.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.4499, allocations: 18.28 kB / 481.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.4499, allocations: 0 / 481.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.45, allocations: 316.6 kB / 481.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.45, allocations: 17.5 kB / 481.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.4501, allocations: 32.3 kB / 481.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.4501, allocations: 21.77 kB / 481.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4501, allocations: 32 / 481.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001384/0.4503, allocations: 95.7 kB / 481.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4503, allocations: 3.875 kB / 481.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4503, allocations: 0 / 481.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4503, allocations: 0 / 481.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.4504, allocations: 7.594 kB / 481.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4504, allocations: 4 kB / 481.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.4505, allocations: 13.7 kB / 481.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4505, allocations: 3.875 kB / 481.7 MB, free: 11.64 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 6.008e-05/0.4505, allocations: 108.9 kB / 481.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.4506, allocations: 7.781 kB / 481.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.4508, allocations: 78.59 kB / 481.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.4508, allocations: 3.562 kB / 481.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4508, allocations: 3.938 kB / 481.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4508, allocations: 0 / 481.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.451, allocations: 319.7 kB / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.451, allocations: 0 / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.4511, allocations: 11.09 kB / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4511, allocations: 0 / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4511, allocations: 3.906 kB / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4511, allocations: 0 / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4511, allocations: 0 / 482.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001232/0.4513, allocations: 173.2 kB / 482.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.4513, allocations: 84.86 kB / 482.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4513, allocations: 0 / 482.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.4514, allocations: 11.41 kB / 482.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.4514, allocations: 3.562 kB / 482.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4515, allocations: 3.75 kB / 482.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.142e-05/0.4515, allocations: 104.1 kB / 482.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.4518, allocations: 45.86 kB / 482.6 MB, free: 10.88 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.000659/0.4525, allocations: 335 kB / 482.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.4526, allocations: 67.45 kB / 483 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4526, allocations: 0 / 483 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.4527, allocations: 22.91 kB / 483 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.4529, allocations: 26.53 kB / 483.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.4532, allocations: 100.8 kB / 483.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.4535, allocations: 0.7095 MB / 483.9 MB, free: 25.83 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4535, allocations: 0 / 483.9 MB, free: 25.83 MB / 346.7 MB Notification: Performance of Templates: time 0.004368/0.4579, allocations: 1.699 MB / 485.6 MB, free: 25.62 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)