Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [: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.001827/0.001827, allocations: 190.6 kB / 8.135 MB, free: 2.211 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.134/1.134, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001795/0.001795, allocations: 114.6 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.432e-06, allocations: 0 / 297.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07142/0.07145, allocations: 44.49 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.2799, allocations: 92.06 MB / 434.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2801, allocations: 79.89 kB / 434.2 MB, free: 2.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.202/0.4821, allocations: 71.38 MB / 0.4937 GB, free: 2.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001773/0.4823, allocations: 72 kB / 0.4938 GB, free: 2.75 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.008515/0.4909, allocations: 3.401 MB / 0.4971 GB, free: 15.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4909, allocations: 8.031 kB / 0.4971 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00957/0.5005, allocations: 1.855 MB / 0.499 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.511, allocations: 3.949 MB / 0.5028 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.5112, allocations: 116 kB / 0.5029 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.5124, allocations: 211.9 kB / 0.5031 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009432/0.5218, allocations: 5.656 MB / 0.5086 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1464/0.6682, allocations: 8.599 MB / 0.517 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.6684, allocations: 50.19 kB / 0.5171 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004975/0.6689, allocations: 30.12 kB / 0.5171 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.6701, allocations: 1.032 MB / 0.5181 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03547/0.7056, allocations: 44.07 MB / 0.5612 GB, free: 30.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.7084, allocations: 2.702 MB / 0.5638 GB, free: 30.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.7103, allocations: 1.794 MB / 0.5656 GB, free: 30.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007422/0.7178, allocations: 5.594 MB / 0.571 GB, free: 28.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.7178, allocations: 49.38 kB / 0.5711 GB, free: 28.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 3.316e-06/0.7178, allocations: 0 / 0.5711 GB, free: 28.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=156): time 0.03593/0.7538, allocations: 15.11 MB / 0.5858 GB, free: 23.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.7538, allocations: 144.2 kB / 0.586 GB, free: 23.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/0.757, allocations: 2.632 MB / 0.5885 GB, free: 22.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.7573, allocations: 32.42 kB / 0.5886 GB, free: 22.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.7583, allocations: 2.623 MB / 0.5911 GB, free: 20.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.7588, allocations: 0.5936 MB / 0.5917 GB, free: 20.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.759, allocations: 0 / 0.5917 GB, free: 20.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.7592, allocations: 0.5397 MB / 0.5922 GB, free: 19.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/0.7617, allocations: 1.841 MB / 0.594 GB, free: 19.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003536/0.7652, allocations: 5.323 MB / 0.5992 GB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.7695, allocations: 3.102 MB / 0.6023 GB, free: 12.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.594e-05/0.7696, allocations: 40.09 kB / 0.6023 GB, free: 12.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01468/0.7843, allocations: 7.281 MB / 0.6094 GB, free: 10.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7844, allocations: 4.312 kB / 0.6094 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/0.7845, allocations: 125.2 kB / 0.6095 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004414/0.7889, allocations: 1.212 MB / 0.6107 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.7935, allocations: 1.295 MB / 0.612 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008192/0.8017, allocations: 5.775 MB / 0.6176 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/0.8063, allocations: 218.6 kB / 0.6178 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006478/0.8069, allocations: 346.8 kB / 0.6182 GB, free: 7.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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],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 (690): * Single equations (assignments): 686 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007067/0.8077, allocations: 425.4 kB / 0.6186 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.8081, allocations: 278.1 kB / 0.6188 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/0.8148, allocations: 3.095 MB / 0.6218 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.534e-05/0.8149, allocations: 13.59 kB / 0.6219 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.8149, allocations: 10.19 kB / 0.6219 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.815, allocations: 10.69 kB / 0.6219 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.8282, allocations: 6.56 MB / 0.6283 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8283, allocations: 3 kB / 0.6283 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.8296, allocations: 220.4 kB / 0.6285 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00645/0.8361, allocations: 1.024 MB / 0.6295 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003973/0.8365, allocations: 5.969 kB / 0.6295 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.8505, allocations: 5.366 MB / 0.6347 GB, free: 16.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.8505, allocations: 11.91 kB / 0.6348 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01649/0.867, allocations: 5.499 MB / 0.6401 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/0.8693, allocations: 0.5378 MB / 0.6407 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/0.8703, allocations: 7.562 kB / 0.6407 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/0.8731, allocations: 65.52 kB / 0.6407 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.8735, allocations: 61.38 kB / 0.6408 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/0.8738, allocations: 43.47 kB / 0.6408 GB, free: 13.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005294/0.8791, allocations: 1.736 MB / 0.6425 GB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008332/0.8875, allocations: 0.7669 MB / 0.6433 GB, free: 10.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006443/0.8881, allocations: 146.3 kB / 0.6434 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01225/0.9004, allocations: 4.458 MB / 0.6478 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9004, allocations: 0 / 0.6478 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/0.9044, allocations: 1.429 MB / 0.6492 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.9067, allocations: 230.6 kB / 0.6494 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/0.9315, allocations: 6.616 MB / 0.6558 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007169/0.9387, allocations: 3.133 MB / 0.6589 GB, free: 13.17 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.9387, allocations: 0 / 0.6589 GB, free: 13.17 MB / 426.7 MB Notification: Performance of Templates: time 0.2141/1.153, allocations: 32.15 MB / 0.6903 GB, free: 144.2 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)