Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9") [: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.002314/0.002314, allocations: 173.5 kB / 7.446 MB, free: 2.512 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.179/1.179, 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.001626/0.001626, allocations: 111.8 kB / 217.7 MB, free: 8.148 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.157/0.157, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.926e-06/8.967e-06, allocations: 2.688 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3206/0.4269, allocations: 74.99 MB / 473.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4272, allocations: 66.3 kB / 473.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01017/0.4374, allocations: 3.663 MB / 476.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4374, allocations: 0 / 476.9 MB, free: 13.5 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.0003988/0.4378, allocations: 422.3 kB / 477.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4379, allocations: 15.69 kB / 477.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.4379, allocations: 7.781 kB / 477.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.4382, allocations: 203.9 kB / 477.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4382, allocations: 7.156 kB / 477.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4382, allocations: 7.891 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.539e-05/0.4383, allocations: 14.62 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.4384, allocations: 47.25 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4384, allocations: 0.75 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4384, allocations: 0 / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4384, allocations: 0 / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4388, allocations: 275.1 kB / 477.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.439, allocations: 40.55 kB / 478 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.439, allocations: 8.797 kB / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.439, allocations: 0 / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/0.4391, allocations: 63.17 kB / 478 MB, free: 12.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.4391, allocations: 3.938 kB / 478 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003522/0.4395, allocations: 97.97 kB / 478.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4395, allocations: 54.12 kB / 478.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.4397, allocations: 176.5 kB / 478.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4398, allocations: 29.55 kB / 478.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.4398, allocations: 90.67 kB / 478.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.4398, allocations: 14.59 kB / 478.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4398, allocations: 0 / 478.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.4399, allocations: 330.7 kB / 478.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.4399, allocations: 16.94 kB / 478.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.44, allocations: 18.78 kB / 478.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.44, allocations: 25.83 kB / 478.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.44, allocations: 3.969 kB / 478.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001391/0.4402, allocations: 94.42 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4402, allocations: 3.875 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4402, allocations: 0 / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4402, allocations: 3.969 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.4403, allocations: 11.69 kB / 479 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4403, allocations: 8.094 kB / 479 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.4403, allocations: 3.203 kB / 479 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4404, allocations: 7.906 kB / 479 MB, free: 11.8 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 5.188e-05/0.4404, allocations: 112.8 kB / 479.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.4404, allocations: 7.844 kB / 479.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.4406, allocations: 84.12 kB / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4406, allocations: 0 / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4406, allocations: 4 kB / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4406, allocations: 0 / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.4409, allocations: 335.6 kB / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4409, allocations: 3.938 kB / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.441, allocations: 7.719 kB / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.441, allocations: 0 / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.441, allocations: 7.047 kB / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.441, allocations: 3.906 kB / 479.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.441, allocations: 3.906 kB / 479.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001147/0.4411, allocations: 167.7 kB / 479.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.4412, allocations: 91.86 kB / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4412, allocations: 3.906 kB / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.4413, allocations: 0 / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.4413, allocations: 10.97 kB / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.4414, allocations: 0 / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.367e-05/0.4414, allocations: 142.8 kB / 480 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.4417, allocations: 38.66 kB / 480 MB, free: 11.04 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.0005549/0.4423, allocations: 266.3 kB / 480.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.4424, allocations: 80.52 kB / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4424, allocations: 0 / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.4425, allocations: 20.83 kB / 480.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4427, allocations: 14.19 kB / 480.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.443, allocations: 151.8 kB / 480.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.4432, allocations: 0.7192 MB / 481.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4433, allocations: 3.938 kB / 481.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Templates: time 0.00368/0.4469, allocations: 1.483 MB / 482.7 MB, free: 9.832 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)