Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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",fileNamePrefix="Modelica_3.2.3_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.3+maint.om/package.mo): time 0.0009735/0.0009734, allocations: 176 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008532/0.0008528, allocations: 86.31 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.07425, allocations: 47.57 MB / 362.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.321, allocations: 96.44 MB / 459 MB, free: 7.234 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3212, allocations: 89.31 kB / 459.1 MB, free: 7.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2329/0.5541, allocations: 90.68 MB / 0.5369 GB, free: 8.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.5543, allocations: 96.11 kB / 0.537 GB, free: 8.773 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01605/0.5704, allocations: 4.582 MB / 0.5414 GB, free: 4.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5705, allocations: 8.031 kB / 0.5414 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.5822, allocations: 2.209 MB / 0.5436 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.5971, allocations: 5.661 MB / 0.5491 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.5974, allocations: 156 kB / 0.5493 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/0.5994, allocations: 287.8 kB / 0.5496 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01284/0.6122, allocations: 7.164 MB / 0.5565 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.6313, allocations: 10.62 MB / 0.5669 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.6315, allocations: 67.33 kB / 0.567 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/0.6321, allocations: 36 kB / 0.567 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001816/0.6339, allocations: 1.28 MB / 0.5683 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2015/0.8354, allocations: 53.5 MB / 0.6205 GB, free: 52.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.8382, allocations: 2.635 MB / 0.6231 GB, free: 51.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.8399, allocations: 1.74 MB / 0.6248 GB, free: 51.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008225/0.8481, allocations: 6.693 MB / 0.6313 GB, free: 49.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8482, allocations: 53.34 kB / 0.6314 GB, free: 49.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 3.506e-06/0.8482, allocations: 3.25 kB / 0.6314 GB, free: 49.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.02325/0.8715, allocations: 12.09 MB / 0.6432 GB, free: 45.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.8715, allocations: 144.7 kB / 0.6433 GB, free: 45.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/0.8773, allocations: 3.269 MB / 0.6465 GB, free: 45.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003711/0.8777, allocations: 25.7 kB / 0.6465 GB, free: 45.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.8799, allocations: 3.266 MB / 0.6497 GB, free: 43.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/0.8808, allocations: 0.7519 MB / 0.6505 GB, free: 43.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.8812, allocations: 0 / 0.6505 GB, free: 43.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004288/0.8816, allocations: 0.5912 MB / 0.651 GB, free: 42.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.8851, allocations: 2.092 MB / 0.6531 GB, free: 42.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/0.8895, allocations: 6.282 MB / 0.6592 GB, free: 37.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/0.8937, allocations: 3.584 MB / 0.6627 GB, free: 36.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/0.8938, allocations: 43.88 kB / 0.6628 GB, free: 36.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=900) (initialization): time 0.01428/0.9081, allocations: 8.072 MB / 0.6706 GB, free: 34.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9081, allocations: 5.969 kB / 0.6706 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005345/0.9135, allocations: 2.674 MB / 0.6733 GB, free: 33.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.9172, allocations: 1.033 MB / 0.6743 GB, free: 33.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/0.9228, allocations: 1.601 MB / 0.6758 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.9265, allocations: 4.173 MB / 0.6799 GB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/0.9327, allocations: 315 kB / 0.6802 GB, free: 28.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/0.9347, allocations: 430.8 kB / 0.6806 GB, free: 27.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (862): * Single equations (assignments): 853 * 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.002228/0.937, allocations: 480.5 kB / 0.6811 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009723/0.938, allocations: 351.4 kB / 0.6814 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006278/0.9442, allocations: 3.009 MB / 0.6843 GB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00433/0.9486, allocations: 2.525 MB / 0.6868 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.9487, allocations: 4 kB / 0.6868 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.9487, allocations: 10.36 kB / 0.6868 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/0.9673, allocations: 9.017 MB / 0.6956 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-05/0.9674, allocations: 15.91 kB / 0.6956 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.9691, allocations: 334.7 kB / 0.696 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/0.972, allocations: 0.903 MB / 0.6969 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003511/0.9723, allocations: 39.62 kB / 0.6969 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.9763, allocations: 4.388 MB / 0.7012 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006362/0.977, allocations: 1.378 MB / 0.7025 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007633/0.9846, allocations: 6.839 MB / 0.7092 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.9862, allocations: 0.6244 MB / 0.7098 GB, free: 1.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008216/0.987, allocations: 22.89 kB / 0.7098 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.9891, allocations: 105.8 kB / 0.7099 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.9893, allocations: 124.8 kB / 0.71 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.9895, allocations: 71.17 kB / 0.7101 GB, free: 1.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004506/0.994, allocations: 2.167 MB / 0.7122 GB, free: 15.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007719/1.002, allocations: 1.004 MB / 0.7132 GB, free: 14.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (169): * Single equations (assignments): 162 * 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.0007834/1.003, allocations: 192.8 kB / 0.7134 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/1.014, allocations: 5.494 MB / 0.7188 GB, free: 9.348 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.014, allocations: 4 kB / 0.7188 GB, free: 9.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00402/1.018, allocations: 2.018 MB / 0.7207 GB, free: 7.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.02, allocations: 355.3 kB / 0.7211 GB, free: 7.195 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.041, allocations: 8.868 MB / 0.7297 GB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005552/1.047, allocations: 3.853 MB / 0.7335 GB, free: 12.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/1.047, allocations: 0 / 0.7335 GB, free: 12.47 MB / 458.7 MB Notification: Performance of Templates: time 0.2575/1.304, allocations: 37.45 MB / 0.7701 GB, free: 103.8 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches