Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.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.CombiTable2D.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20") [: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.003138/0.003138, allocations: 173.4 kB / 7.448 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.031/1.031, 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.001781/0.001781, allocations: 116.3 kB / 217.7 MB, free: 8.164 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.1645/0.1645, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 0 / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.0914, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/0.4017, allocations: 74.87 MB / 473.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.402, allocations: 68.89 kB / 473.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01492/0.4169, allocations: 5.677 MB / 478.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.417, allocations: 7.781 kB / 478.8 MB, free: 13.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000756/0.4177, allocations: 0.681 MB / 479.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4178, allocations: 7.719 kB / 479.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.4179, allocations: 41.84 kB / 479.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.4184, allocations: 296.8 kB / 479.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4184, allocations: 3.906 kB / 479.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.4185, allocations: 7.875 kB / 479.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001762/0.4187, allocations: 55.7 kB / 479.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4188, allocations: 100.3 kB / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4189, allocations: 0 / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.4189, allocations: 3.938 kB / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4189, allocations: 3.969 kB / 480 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.4196, allocations: 441.4 kB / 480.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4197, allocations: 78.05 kB / 480.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.4198, allocations: 27.33 kB / 480.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.4198, allocations: 3.906 kB / 480.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.4198, allocations: 33.88 kB / 480.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4198, allocations: 0 / 480.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000806/0.4206, allocations: 305.9 kB / 480.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.4207, allocations: 51.41 kB / 480.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.4211, allocations: 407.4 kB / 481.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4212, allocations: 25.7 kB / 481.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.4212, allocations: 133.4 kB / 481.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.4213, allocations: 49.05 kB / 481.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.4213, allocations: 3.906 kB / 481.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.4214, allocations: 344.8 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.4215, allocations: 52 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.667e-05/0.4216, allocations: 48.86 kB / 482 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.4216, allocations: 55.69 kB / 482 MB, free: 11.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4217, allocations: 0 / 482 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002729/0.4219, allocations: 192.2 kB / 482.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.422, allocations: 3.969 kB / 482.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.422, allocations: 7.016 kB / 482.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.422, allocations: 4 kB / 482.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4222, allocations: 34.05 kB / 482.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4222, allocations: 6.906 kB / 482.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.4223, allocations: 3.875 kB / 482.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.4223, allocations: 11.06 kB / 482.3 MB, free: 11.29 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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 8.983e-05/0.4224, allocations: 108.8 kB / 482.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.4225, allocations: 38.23 kB / 482.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.4229, allocations: 221.7 kB / 482.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4229, allocations: 0 / 482.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4229, allocations: 3.906 kB / 482.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4229, allocations: 3.875 kB / 482.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.4236, allocations: 0.5863 MB / 483.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4236, allocations: 0 / 483.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.4237, allocations: 41.09 kB / 483.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4237, allocations: 3.875 kB / 483.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4237, allocations: 3.938 kB / 483.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4237, allocations: 0 / 483.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4237, allocations: 3.875 kB / 483.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000259/0.424, allocations: 271.1 kB / 483.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.4242, allocations: 125.2 kB / 483.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.4242, allocations: 0 / 483.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4243, allocations: 7.844 kB / 483.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.4244, allocations: 8.609 kB / 483.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4244, allocations: 9.844 kB / 483.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002672/0.4247, allocations: 318.9 kB / 484 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000354/0.425, allocations: 84.81 kB / 484.1 MB, free: 10.42 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009285/0.426, allocations: 447.9 kB / 484.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4263, allocations: 259.3 kB / 484.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4263, allocations: 0 / 484.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.4264, allocations: 62.5 kB / 484.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4267, allocations: 37.84 kB / 484.9 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.4276, allocations: 453.5 kB / 485.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.4281, allocations: 0.8162 MB / 486.2 MB, free: 25.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4281, allocations: 3.938 kB / 486.2 MB, free: 25.09 MB / 346.7 MB Notification: Performance of Templates: time 0.006738/0.4348, allocations: 3.286 MB / 489.4 MB, free: 24.73 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1)