Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") [: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.003762/0.003762, allocations: 178.3 kB / 7.454 MB, free: 2.484 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.235/1.235, 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.0018/0.0018, allocations: 115.8 kB / 217.7 MB, free: 8.203 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.1724/0.1724, allocations: 37.97 MB / 294.8 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.045e-05, allocations: 1.594 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 48.71 MB / 398.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5207, allocations: 75.3 MB / 473.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.5211, allocations: 72.75 kB / 473.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01676/0.5378, allocations: 6.057 MB / 479.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.5379, allocations: 4 kB / 479.7 MB, free: 13.43 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.0004948/0.5384, allocations: 431.7 kB / 480.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5384, allocations: 11.44 kB / 480.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.5385, allocations: 7.719 kB / 480.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.5387, allocations: 195.8 kB / 480.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.5388, allocations: 4 kB / 480.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.5388, allocations: 3.938 kB / 480.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.634e-05/0.5389, allocations: 17.78 kB / 480.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.539, allocations: 62.69 kB / 480.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.539, allocations: 0 / 480.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.539, allocations: 0 / 480.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.539, allocations: 3.906 kB / 480.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.5393, allocations: 261.9 kB / 480.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.5395, allocations: 34.27 kB / 480.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.5395, allocations: 11.98 kB / 480.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.5396, allocations: 7.078 kB / 480.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/0.5396, allocations: 53.41 kB / 480.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.5396, allocations: 0 / 480.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003597/0.54, allocations: 100 kB / 480.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.54, allocations: 77.11 kB / 480.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5401, allocations: 128.4 kB / 481 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5402, allocations: 25.7 kB / 481.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.5402, allocations: 90.41 kB / 481.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.5402, allocations: 15.62 kB / 481.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5402, allocations: 0 / 481.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.5403, allocations: 317.9 kB / 481.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.5403, allocations: 21.38 kB / 481.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.5404, allocations: 37.06 kB / 481.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.5404, allocations: 21.5 kB / 481.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.5404, allocations: 0 / 481.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001428/0.5406, allocations: 91.27 kB / 481.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5406, allocations: 3.969 kB / 481.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5406, allocations: 7.922 kB / 481.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5406, allocations: 0 / 481.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.5407, allocations: 15.62 kB / 481.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.5407, allocations: 3.609 kB / 481.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.5408, allocations: 11.72 kB / 481.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.5408, allocations: 3.844 kB / 481.7 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 6.234e-05/0.5409, allocations: 101 kB / 481.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.5409, allocations: 7.781 kB / 481.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.5411, allocations: 77.27 kB / 481.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5411, allocations: 0 / 481.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5411, allocations: 7.406 kB / 481.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.5411, allocations: 4 kB / 481.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.5413, allocations: 317.5 kB / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5413, allocations: 0 / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.5414, allocations: 7.344 kB / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5414, allocations: 0 / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5414, allocations: 3.625 kB / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5414, allocations: 0 / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5414, allocations: 0 / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001105/0.5415, allocations: 172.4 kB / 482.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.5416, allocations: 88.17 kB / 482.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.5416, allocations: 3.375 kB / 482.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.5417, allocations: 3.844 kB / 482.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.5417, allocations: 3.703 kB / 482.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.5417, allocations: 3.938 kB / 482.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.062e-05/0.5418, allocations: 105.1 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.5421, allocations: 37.91 kB / 482.6 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.0006193/0.5427, allocations: 343.6 kB / 482.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.5428, allocations: 67.33 kB / 483 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5428, allocations: 0 / 483 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.5429, allocations: 25.94 kB / 483 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5431, allocations: 23.91 kB / 483.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.5434, allocations: 103.7 kB / 483.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.5437, allocations: 0.7127 MB / 483.9 MB, free: 25.86 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5437, allocations: 0 / 483.9 MB, free: 25.86 MB / 346.7 MB Notification: Performance of Templates: time 0.003888/0.5476, allocations: 1.709 MB / 485.6 MB, free: 25.64 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)