Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.00197/0.00197, allocations: 190.5 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.089/1.089, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001836/0.001836, allocations: 119.9 kB / 247.8 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.13e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06823/0.06825, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.2707, allocations: 89.54 MB / 431.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.2709, allocations: 85.67 kB / 431.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2453/0.5163, allocations: 88.56 MB / 0.5081 GB, free: 4.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002077/0.5166, allocations: 88 kB / 0.5081 GB, free: 4.105 MB / 394.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.1209/0.6375, allocations: 4.48 MB / 0.5125 GB, free: 116.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.6375, allocations: 11.47 kB / 0.5125 GB, free: 116.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.6492, allocations: 2.198 MB / 0.5147 GB, free: 116.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.6622, allocations: 5.606 MB / 0.5201 GB, free: 115.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.6624, allocations: 156.2 kB / 0.5203 GB, free: 115.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.6637, allocations: 270.7 kB / 0.5206 GB, free: 115.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01014/0.6739, allocations: 6.962 MB / 0.5273 GB, free: 115.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.6879, allocations: 10.4 MB / 0.5375 GB, free: 112.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.6881, allocations: 70.23 kB / 0.5376 GB, free: 112.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006592/0.6888, allocations: 33.09 kB / 0.5376 GB, free: 112.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/0.6904, allocations: 1.244 MB / 0.5388 GB, free: 112.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.7376, allocations: 52.83 MB / 0.5904 GB, free: 77.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.7409, allocations: 2.562 MB / 0.5929 GB, free: 75.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.7431, allocations: 1.687 MB / 0.5946 GB, free: 75.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009839/0.753, allocations: 5.881 MB / 0.6003 GB, free: 71.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.753, allocations: 51.12 kB / 0.6004 GB, free: 71.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 5.68e-06/0.7531, allocations: 6.078 kB / 0.6004 GB, free: 71.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=177): time 0.02768/0.7807, allocations: 12.12 MB / 0.6122 GB, free: 66.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.7808, allocations: 142.4 kB / 0.6123 GB, free: 66.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004591/0.7854, allocations: 3.243 MB / 0.6155 GB, free: 65.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003093/0.7858, allocations: 25.7 kB / 0.6155 GB, free: 65.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.7871, allocations: 3.223 MB / 0.6187 GB, free: 62.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007276/0.7878, allocations: 0.6976 MB / 0.6193 GB, free: 62.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.7881, allocations: 0 / 0.6193 GB, free: 62.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003496/0.7884, allocations: 0.5826 MB / 0.6199 GB, free: 62.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.7911, allocations: 2.054 MB / 0.6219 GB, free: 61.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.7951, allocations: 6.221 MB / 0.628 GB, free: 53.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/0.7998, allocations: 3.537 MB / 0.6315 GB, free: 50.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-05/0.7999, allocations: 44 kB / 0.6315 GB, free: 50.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01467/0.8145, allocations: 7.95 MB / 0.6393 GB, free: 43.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8146, allocations: 8.188 kB / 0.6393 GB, free: 43.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005175/0.8198, allocations: 2.586 MB / 0.6418 GB, free: 41.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.8234, allocations: 1.016 MB / 0.6428 GB, free: 40.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005873/0.8293, allocations: 1.592 MB / 0.6443 GB, free: 39.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.8331, allocations: 4.164 MB / 0.6484 GB, free: 35.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/0.8393, allocations: 325.9 kB / 0.6487 GB, free: 35.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009975/0.8403, allocations: 422 kB / 0.6491 GB, free: 34.81 MB / 394.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 (841): * Single equations (assignments): 832 * 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 {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 prepare postOptimizeDAE: time 0.0009435/0.8412, allocations: 488.6 kB / 0.6496 GB, free: 34.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/0.8418, allocations: 335.7 kB / 0.6499 GB, free: 34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/0.8475, allocations: 2.905 MB / 0.6527 GB, free: 31.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004498/0.852, allocations: 2.421 MB / 0.6551 GB, free: 29.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.852, allocations: 0 / 0.6551 GB, free: 29.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.8521, allocations: 10.56 kB / 0.6551 GB, free: 29.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.8685, allocations: 8.721 MB / 0.6636 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.8686, allocations: 15.42 kB / 0.6636 GB, free: 22.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.8702, allocations: 309 kB / 0.6639 GB, free: 22.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/0.8733, allocations: 0.9099 MB / 0.6648 GB, free: 21.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.8736, allocations: 35.05 kB / 0.6649 GB, free: 21.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.8777, allocations: 4.383 MB / 0.6691 GB, free: 16.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006235/0.8783, allocations: 1.382 MB / 0.6705 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007589/0.8859, allocations: 6.516 MB / 0.6769 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.8873, allocations: 0.5981 MB / 0.6774 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/0.8878, allocations: 23.98 kB / 0.6775 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.8897, allocations: 103.9 kB / 0.6776 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.8899, allocations: 116.4 kB / 0.6777 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.8901, allocations: 63.97 kB / 0.6777 GB, free: 7.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002825/0.8929, allocations: 2.136 MB / 0.6798 GB, free: 5.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004953/0.8979, allocations: 0.9756 MB / 0.6808 GB, free: 4.586 MB / 394.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.000422/0.8983, allocations: 186 kB / 0.681 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1167/1.015, allocations: 5.383 MB / 0.6862 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.015, allocations: 2 kB / 0.6862 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004421/1.02, allocations: 1.96 MB / 0.6881 GB, free: 102.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.022, allocations: 346.6 kB / 0.6885 GB, free: 102.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.037, allocations: 8.585 MB / 0.6968 GB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004524/1.042, allocations: 3.763 MB / 0.7005 GB, free: 99.83 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/1.042, allocations: 0 / 0.7005 GB, free: 99.83 MB / 394.7 MB Notification: Performance of Templates: time 0.06796/1.11, allocations: 36.51 MB / 0.7362 GB, free: 97.84 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)