Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41") [: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.004406/0.004406, allocations: 180.5 kB / 7.45 MB, free: 2.508 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.216/1.216, 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.001751/0.001751, allocations: 119.8 kB / 217.7 MB, free: 8.133 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.1369/0.1369, allocations: 37.98 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.616e-06, allocations: 2.219 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07547/0.0755, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2627/0.3383, allocations: 75.04 MB / 473.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.3386, allocations: 69.08 kB / 473.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01115/0.3498, allocations: 3.767 MB / 477.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.3499, allocations: 0 / 477.1 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.0004402/0.3503, allocations: 417.5 kB / 477.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3504, allocations: 11.44 kB / 477.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.3505, allocations: 15.69 kB / 477.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3507, allocations: 210.3 kB / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.3508, allocations: 0 / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3508, allocations: 10.91 kB / 477.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.428e-05/0.3509, allocations: 10.81 kB / 477.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.859e-05/0.351, allocations: 43.2 kB / 477.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.351, allocations: 0 / 477.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.351, allocations: 0 / 477.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.351, allocations: 0 / 477.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3514, allocations: 280.2 kB / 478.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3516, allocations: 39.83 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.3516, allocations: 15.22 kB / 478.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3517, allocations: 0 / 478.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.3517, allocations: 53.67 kB / 478.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3517, allocations: 0 / 478.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003634/0.3521, allocations: 106.9 kB / 478.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.3521, allocations: 51.41 kB / 478.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3523, allocations: 179.8 kB / 478.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.3523, allocations: 25.7 kB / 478.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.3524, allocations: 90.88 kB / 478.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3524, allocations: 18.09 kB / 478.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.3524, allocations: 0 / 478.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.3525, allocations: 323.6 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.3525, allocations: 21.56 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.3526, allocations: 21.95 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.3526, allocations: 24.39 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3526, allocations: 0 / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001469/0.3528, allocations: 99.33 kB / 479.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3528, allocations: 7.938 kB / 479.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3528, allocations: 7.938 kB / 479.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3528, allocations: 0 / 479.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.3529, allocations: 10.97 kB / 479.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3529, allocations: 3.938 kB / 479.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.353, allocations: 7.875 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.353, allocations: 0 / 479.2 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.091e-05/0.353, allocations: 108.8 kB / 479.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.3531, allocations: 10.92 kB / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.3532, allocations: 82.92 kB / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3532, allocations: 3.719 kB / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3533, allocations: 0 / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3533, allocations: 7.094 kB / 479.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.3536, allocations: 331.1 kB / 479.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3536, allocations: 0 / 479.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.3536, allocations: 7.812 kB / 479.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3536, allocations: 3.875 kB / 479.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3536, allocations: 2.906 kB / 479.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3536, allocations: 0 / 479.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3537, allocations: 3.906 kB / 479.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001331/0.3538, allocations: 169.1 kB / 479.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.3538, allocations: 92.67 kB / 480 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3539, allocations: 0 / 480 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.354, allocations: 9.594 kB / 480 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.354, allocations: 0 / 480 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.354, allocations: 7.906 kB / 480 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.313e-05/0.3541, allocations: 139.9 kB / 480.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.3544, allocations: 37.58 kB / 480.1 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.0005844/0.355, allocations: 274.1 kB / 480.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3552, allocations: 70.39 kB / 480.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3552, allocations: 4 kB / 480.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.3552, allocations: 21.31 kB / 480.5 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.000249/0.3555, allocations: 16.94 kB / 480.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.3558, allocations: 156.2 kB / 480.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.356, allocations: 0.7191 MB / 481.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.356, allocations: 0 / 481.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Templates: time 0.003946/0.36, allocations: 1.473 MB / 482.9 MB, free: 9.848 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)