Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [: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 trunk/package.mo): time 0.001708/0.001708, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008779/0.0008781, allocations: 88.27 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.542e-06, allocations: 0 / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 51.48 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.3813, allocations: 94.35 MB / 489 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.3817, allocations: 85.64 kB / 489.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2494/0.6311, allocations: 79.21 MB / 0.5549 GB, free: 4.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.6313, allocations: 80 kB / 0.555 GB, free: 4.648 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01352/0.6448, allocations: 4.153 MB / 0.5591 GB, free: 444 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6449, allocations: 8.031 kB / 0.5591 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009726/0.6546, allocations: 1.909 MB / 0.5609 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009912/0.6645, allocations: 3.749 MB / 0.5646 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.6647, allocations: 140 kB / 0.5647 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.666, allocations: 251.9 kB / 0.565 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/0.6763, allocations: 6.116 MB / 0.571 GB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1709/0.8472, allocations: 9.434 MB / 0.5802 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002016/0.8475, allocations: 58.59 kB / 0.5802 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009572/0.8484, allocations: 36.03 kB / 0.5803 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001721/0.8502, allocations: 1.088 MB / 0.5813 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03924/0.8894, allocations: 49.09 MB / 0.6293 GB, free: 94.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.8919, allocations: 2.306 MB / 0.6315 GB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.8933, allocations: 1.415 MB / 0.6329 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00669/0.9, allocations: 5.295 MB / 0.6381 GB, free: 91.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.9001, allocations: 52.22 kB / 0.6381 GB, free: 91.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 2.935e-06/0.9001, allocations: 0 / 0.6381 GB, free: 91.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.01672/0.9168, allocations: 9.201 MB / 0.6471 GB, free: 87.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.9169, allocations: 148.5 kB / 0.6472 GB, free: 87.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.9204, allocations: 2.996 MB / 0.6502 GB, free: 86.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.9206, allocations: 29.58 kB / 0.6502 GB, free: 86.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.9217, allocations: 3.007 MB / 0.6531 GB, free: 84.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/0.9222, allocations: 0.6369 MB / 0.6538 GB, free: 83.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.9224, allocations: 0 / 0.6538 GB, free: 83.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.9227, allocations: 0.5706 MB / 0.6543 GB, free: 83.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.9248, allocations: 1.917 MB / 0.6562 GB, free: 82.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/0.9282, allocations: 5.93 MB / 0.662 GB, free: 76.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.9317, allocations: 3.359 MB / 0.6653 GB, free: 75.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.565e-05/0.9317, allocations: 41.28 kB / 0.6653 GB, free: 75.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01473/0.9465, allocations: 7.881 MB / 0.673 GB, free: 72.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.9465, allocations: 5.344 kB / 0.673 GB, free: 72.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005946/0.9525, allocations: 2.673 MB / 0.6756 GB, free: 72.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004889/0.9574, allocations: 1.445 MB / 0.677 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/0.9619, allocations: 1.408 MB / 0.6784 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.9668, allocations: 5.333 MB / 0.6836 GB, free: 68.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.972, allocations: 268.4 kB / 0.6839 GB, free: 68.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000999/0.973, allocations: 399.1 kB / 0.6842 GB, free: 68.1 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] spring3.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring1.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real spring2.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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.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 (762): * Single equations (assignments): 752 * 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: 2 * 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: 1 {6 29} Notification: Performance of prepare postOptimizeDAE: time 0.0009144/0.9739, allocations: 470.2 kB / 0.6847 GB, free: 67.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.9744, allocations: 302.5 kB / 0.685 GB, free: 67.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005974/0.9804, allocations: 2.956 MB / 0.6879 GB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005209/0.9856, allocations: 2.534 MB / 0.6903 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.9857, allocations: 5.938 kB / 0.6903 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/0.9857, allocations: 6.75 kB / 0.6903 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.001, allocations: 7.676 MB / 0.6978 GB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.001, allocations: 0 / 0.6978 GB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/1.002, allocations: 179.9 kB / 0.698 GB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/1.006, allocations: 1.351 MB / 0.6993 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/1.006, allocations: 19.52 kB / 0.6994 GB, free: 63.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005311/1.012, allocations: 5.575 MB / 0.7048 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006849/1.012, allocations: 1.366 MB / 0.7061 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008806/1.021, allocations: 5.232 MB / 0.7112 GB, free: 55.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/1.022, allocations: 357 kB / 0.7116 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.023, allocations: 10.53 kB / 0.7116 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.024, allocations: 75.8 kB / 0.7117 GB, free: 54.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.024, allocations: 72.59 kB / 0.7117 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.024, allocations: 46.78 kB / 0.7118 GB, free: 54.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002573/1.027, allocations: 1.962 MB / 0.7137 GB, free: 52.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004642/1.032, allocations: 0.8985 MB / 0.7146 GB, free: 51.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,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: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004478/1.032, allocations: 151.8 kB / 0.7147 GB, free: 51.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00794/1.04, allocations: 5.15 MB / 0.7197 GB, free: 47.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.04, allocations: 0 / 0.7197 GB, free: 47.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/1.043, allocations: 1.903 MB / 0.7216 GB, free: 45.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.045, allocations: 298.5 kB / 0.7219 GB, free: 45.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.059, allocations: 7.468 MB / 0.7292 GB, free: 38.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003687/1.062, allocations: 3.442 MB / 0.7325 GB, free: 35.87 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/1.062, allocations: 0 / 0.7325 GB, free: 35.87 MB / 442.7 MB Notification: Performance of Templates: time 0.05865/1.121, allocations: 34.57 MB / 0.7663 GB, free: 6.801 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches