Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21") [: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.004015/0.004015, allocations: 177.3 kB / 7.453 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.364/1.364, 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.001848/0.001847, allocations: 108.4 kB / 217.7 MB, free: 8.16 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.161/0.161, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.472e-05, allocations: 1.125 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09406, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/0.4006, allocations: 73.96 MB / 472.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4009, allocations: 70.95 kB / 472.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01258/0.4135, allocations: 4.824 MB / 477.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4136, allocations: 3.875 kB / 477.1 MB, free: 13.02 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.0003804/0.414, allocations: 415 kB / 477.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.414, allocations: 7.75 kB / 477.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.414, allocations: 7.812 kB / 477.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.4142, allocations: 184.1 kB / 477.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4143, allocations: 3.984 kB / 477.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4143, allocations: 11.84 kB / 477.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.039e-05/0.4144, allocations: 11.12 kB / 477.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/0.4145, allocations: 52.08 kB / 477.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4145, allocations: 0 / 477.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4145, allocations: 0 / 477.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.4145, allocations: 7.906 kB / 477.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.4148, allocations: 260.3 kB / 478 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.415, allocations: 24.78 kB / 478 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.415, allocations: 12.67 kB / 478 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4151, allocations: 11.31 kB / 478.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4151, allocations: 33.75 kB / 478.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4151, allocations: 0 / 478.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004149/0.4155, allocations: 100.2 kB / 478.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.4156, allocations: 80.95 kB / 478.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.4157, allocations: 110.6 kB / 478.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.4157, allocations: 25.7 kB / 478.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.4157, allocations: 84.05 kB / 478.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.4157, allocations: 18.72 kB / 478.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.4157, allocations: 3.844 kB / 478.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.4158, allocations: 318.8 kB / 478.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.4158, allocations: 11.62 kB / 478.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.4159, allocations: 27.95 kB / 478.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.4159, allocations: 11.5 kB / 478.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4159, allocations: 0 / 478.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001002/0.416, allocations: 71.41 kB / 478.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.416, allocations: 3.969 kB / 478.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.416, allocations: 0 / 478.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4161, allocations: 0 / 478.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.4161, allocations: 18.97 kB / 479 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4162, allocations: 3.938 kB / 479 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.4162, allocations: 6.25 kB / 479 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4162, allocations: 3.938 kB / 479 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 (6): * Single equations (assignments): 5 * 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.371e-05/0.4163, allocations: 104.9 kB / 479.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.4163, allocations: 7.906 kB / 479.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.4165, allocations: 71.44 kB / 479.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4165, allocations: 3.938 kB / 479.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4165, allocations: 0 / 479.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4165, allocations: 3.906 kB / 479.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.4167, allocations: 293.2 kB / 479.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4167, allocations: 384 / 479.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.4168, allocations: 18.91 kB / 479.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4168, allocations: 4 kB / 479.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.4168, allocations: 0 / 479.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4168, allocations: 7.781 kB / 479.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4169, allocations: 0 / 479.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.901e-05/0.417, allocations: 161.6 kB / 479.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.417, allocations: 88.08 kB / 479.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.417, allocations: 0 / 479.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.4171, allocations: 7.875 kB / 479.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.4172, allocations: 7.297 kB / 479.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.4172, allocations: 0 / 479.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.979e-05/0.4172, allocations: 101 kB / 479.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.4175, allocations: 19.44 kB / 479.8 MB, free: 10.54 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 (5): * Single equations (assignments): 5 * 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.0004896/0.418, allocations: 262.2 kB / 480.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.4181, allocations: 61.78 kB / 480.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4181, allocations: 0 / 480.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.4182, allocations: 15.38 kB / 480.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.4184, allocations: 3.781 kB / 480.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.4187, allocations: 92.47 kB / 480.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.419, allocations: 0.705 MB / 481 MB, free: 25.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.419, allocations: 3.938 kB / 481 MB, free: 25.54 MB / 346.7 MB Notification: Performance of Templates: time 0.003895/0.4229, allocations: 1.21 MB / 482.2 MB, free: 25.39 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1)