Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") [: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.004834/0.004834, allocations: 178.5 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.177/1.177, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001962/0.001962, allocations: 115.9 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.142/0.142, allocations: 37.98 MB / 294.8 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.388e-06, allocations: 3.156 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08162/0.08165, allocations: 48.71 MB / 398.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.3089, allocations: 75.04 MB / 473.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001608/0.3091, allocations: 67.78 kB / 473.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01003/0.3191, allocations: 4.149 MB / 477.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3192, allocations: 3.875 kB / 477.5 MB, free: 13.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003254/0.3195, allocations: 439 kB / 477.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3196, allocations: 11.56 kB / 477.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.3196, allocations: 11.62 kB / 477.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3198, allocations: 209.9 kB / 478.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3198, allocations: 0 / 478.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3199, allocations: 3.938 kB / 478.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.325e-05/0.3199, allocations: 30 kB / 478.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.499e-05/0.32, allocations: 53.52 kB / 478.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.32, allocations: 2.203 kB / 478.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3201, allocations: 0 / 478.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3201, allocations: 0 / 478.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3204, allocations: 294.3 kB / 478.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.3205, allocations: 51.38 kB / 478.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.3205, allocations: 15.83 kB / 478.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3205, allocations: 4 kB / 478.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.526e-05/0.3206, allocations: 60.08 kB / 478.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3206, allocations: 0 / 478.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003221/0.3209, allocations: 128.2 kB / 478.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.321, allocations: 55.34 kB / 478.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3211, allocations: 209.7 kB / 479 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3211, allocations: 29.61 kB / 479.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.3212, allocations: 95.61 kB / 479.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.3212, allocations: 21.33 kB / 479.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.3212, allocations: 0 / 479.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.3213, allocations: 327.3 kB / 479.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.3213, allocations: 27.86 kB / 479.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.3213, allocations: 24.59 kB / 479.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.3214, allocations: 34.38 kB / 479.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3214, allocations: 0 / 479.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000147/0.3216, allocations: 116.7 kB / 479.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.3216, allocations: 3.844 kB / 479.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3216, allocations: 4 kB / 479.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3216, allocations: 3.75 kB / 479.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.3217, allocations: 10.72 kB / 479.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.3217, allocations: 160 / 479.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.3217, allocations: 3.938 kB / 479.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3218, allocations: 3.938 kB / 479.7 MB, free: 11.73 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 (8): * Single equations (assignments): 7 * 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.44e-05/0.3218, allocations: 111.9 kB / 479.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.3218, allocations: 15.56 kB / 479.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.322, allocations: 109.4 kB / 479.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.322, allocations: 0 / 479.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.322, allocations: 0 / 479.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.322, allocations: 0 / 479.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.3223, allocations: 371.5 kB / 480.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3223, allocations: 3.844 kB / 480.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.3224, allocations: 11.05 kB / 480.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3224, allocations: 0 / 480.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3224, allocations: 4 kB / 480.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3224, allocations: 7.75 kB / 480.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3224, allocations: 3.984 kB / 480.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001285/0.3225, allocations: 189.1 kB / 480.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3226, allocations: 88.8 kB / 480.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3226, allocations: 7.688 kB / 480.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3227, allocations: 2.766 kB / 480.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3227, allocations: 10.7 kB / 480.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3228, allocations: 7.688 kB / 480.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001133/0.3229, allocations: 172.6 kB / 480.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000255/0.3231, allocations: 39 kB / 480.8 MB, free: 10.96 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 (8): * Single equations (assignments): 7 * 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.0004419/0.3236, allocations: 272.6 kB / 481.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3237, allocations: 84.67 kB / 481.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3237, allocations: 0 / 481.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.3238, allocations: 29.83 kB / 481.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.324, allocations: 13.44 kB / 481.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.3244, allocations: 187.3 kB / 481.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3246, allocations: 0.7383 MB / 482.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3246, allocations: 0 / 482.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of Templates: time 0.003609/0.3282, allocations: 1.638 MB / 483.8 MB, free: 9.75 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)