Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [: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.003415/0.003415, allocations: 179.3 kB / 7.448 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.248/1.248, 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.002062/0.002062, allocations: 123.8 kB / 217.7 MB, free: 8.121 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.775e-06, allocations: 0 / 261.7 MB, free: 26.61 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06664/0.06666, allocations: 38.77 MB / 300.5 MB, free: 3.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.3043, allocations: 83.91 MB / 384.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.3046, allocations: 80.2 kB / 384.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.3944/0.699, allocations: 88.39 MB / 472.9 MB, free: 70.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002707/0.6993, allocations: 87.17 kB / 473 MB, free: 70.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01668/0.716, allocations: 4.488 MB / 477.5 MB, free: 69.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.7161, allocations: 11.91 kB / 477.5 MB, free: 69.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.7277, allocations: 2.187 MB / 479.7 MB, free: 69.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/0.7452, allocations: 5.587 MB / 485.3 MB, free: 68.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.7456, allocations: 152.2 kB / 485.4 MB, free: 68.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/0.7481, allocations: 273.4 kB / 485.7 MB, free: 68.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01215/0.7603, allocations: 6.965 MB / 492.6 MB, free: 68.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.7804, allocations: 10.41 MB / 0.4913 GB, free: 65.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.7807, allocations: 64.19 kB / 0.4913 GB, free: 65.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001789/0.7825, allocations: 33.84 kB / 0.4913 GB, free: 65.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.7844, allocations: 1.248 MB / 0.4926 GB, free: 65.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/0.8376, allocations: 52.83 MB / 0.5442 GB, free: 27.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/0.8417, allocations: 2.555 MB / 0.5466 GB, free: 26.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002987/0.8447, allocations: 1.685 MB / 0.5483 GB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.8565, allocations: 5.889 MB / 0.554 GB, free: 22.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.8566, allocations: 49.83 kB / 0.5541 GB, free: 22.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 5.269e-06/0.8566, allocations: 0 / 0.5541 GB, free: 22.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=177): time 0.02795/0.8846, allocations: 12.11 MB / 0.5659 GB, free: 12.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.8846, allocations: 153.5 kB / 0.5661 GB, free: 11.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/0.8898, allocations: 3.235 MB / 0.5692 GB, free: 9.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003639/0.8902, allocations: 25.7 kB / 0.5692 GB, free: 9.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.8916, allocations: 3.225 MB / 0.5724 GB, free: 6.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006785/0.8923, allocations: 0.6984 MB / 0.5731 GB, free: 5.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.8925, allocations: 0 / 0.5731 GB, free: 5.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.8928, allocations: 0.5862 MB / 0.5736 GB, free: 4.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.8953, allocations: 2.046 MB / 0.5756 GB, free: 3.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/0.9006, allocations: 6.212 MB / 0.5817 GB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/0.9064, allocations: 3.546 MB / 0.5852 GB, free: 8.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.9065, allocations: 44 kB / 0.5852 GB, free: 8.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01785/0.9244, allocations: 7.859 MB / 0.5929 GB, free: 1.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.9244, allocations: 4 kB / 0.5929 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1574/1.082, allocations: 2.658 MB / 0.5955 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/1.085, allocations: 0.9464 MB / 0.5964 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006077/1.091, allocations: 1.603 MB / 0.598 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/1.095, allocations: 3.868 MB / 0.6018 GB, free: 107 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/1.101, allocations: 325.1 kB / 0.6021 GB, free: 107 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/1.103, allocations: 420.2 kB / 0.6025 GB, free: 107 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002311/1.105, allocations: 489.7 kB / 0.6029 GB, free: 106.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.106, allocations: 332.6 kB / 0.6033 GB, free: 106.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006896/1.113, allocations: 2.906 MB / 0.6061 GB, free: 106.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004588/1.118, allocations: 2.419 MB / 0.6085 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/1.118, allocations: 7.734 kB / 0.6085 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/1.118, allocations: 3.703 kB / 0.6085 GB, free: 106.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/1.138, allocations: 8.714 MB / 0.617 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/1.138, allocations: 10.66 kB / 0.617 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.14, allocations: 308.2 kB / 0.6173 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/1.142, allocations: 0.9066 MB / 0.6182 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/1.143, allocations: 35 kB / 0.6182 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/1.147, allocations: 4.385 MB / 0.6225 GB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007328/1.148, allocations: 1.367 MB / 0.6238 GB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008769/1.157, allocations: 6.516 MB / 0.6302 GB, free: 100.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.158, allocations: 0.6091 MB / 0.6308 GB, free: 99.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000922/1.159, allocations: 23.16 kB / 0.6308 GB, free: 99.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.162, allocations: 105.6 kB / 0.6309 GB, free: 99.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.162, allocations: 121.7 kB / 0.631 GB, free: 99.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.162, allocations: 65.31 kB / 0.6311 GB, free: 99.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.004605/1.167, allocations: 2.138 MB / 0.6332 GB, free: 99.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007597/1.174, allocations: 0.9687 MB / 0.6341 GB, free: 99.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008844/1.175, allocations: 171.1 kB / 0.6343 GB, free: 99.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/1.186, allocations: 5.269 MB / 0.6394 GB, free: 99.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/1.186, allocations: 3.531 kB / 0.6394 GB, free: 99.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/1.19, allocations: 1.959 MB / 0.6413 GB, free: 98.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.193, allocations: 349.5 kB / 0.6417 GB, free: 98.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.217, allocations: 8.586 MB / 0.6501 GB, free: 96.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008079/1.225, allocations: 3.774 MB / 0.6537 GB, free: 95.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/1.225, allocations: 0 / 0.6537 GB, free: 95.72 MB / 362.7 MB Notification: Performance of Templates: time 0.0735/1.298, allocations: 35.93 MB / 0.6888 GB, free: 70.57 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)