Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001163/0.001164, allocations: 179.8 kB / 8.477 MB, free: 1.879 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.134/1.134, allocations: 205.2 MB / 214.1 MB, free: 5.105 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.0008509/0.0008509, allocations: 86.52 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.274e-06, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0726/0.07262, allocations: 47.58 MB / 362.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.3206, allocations: 92.1 MB / 454.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3208, allocations: 86.55 kB / 454.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1944/0.5152, allocations: 77.41 MB / 0.5197 GB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001625/0.5154, allocations: 79.94 kB / 0.5198 GB, free: 10.54 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01258/0.528, allocations: 4.052 MB / 0.5237 GB, free: 6.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5281, allocations: 8.031 kB / 0.5237 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009484/0.5376, allocations: 1.851 MB / 0.5255 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.5503, allocations: 4.428 MB / 0.5298 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.5507, allocations: 140 kB / 0.53 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.5531, allocations: 255.8 kB / 0.5302 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01105/0.5642, allocations: 6.112 MB / 0.5362 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.5771, allocations: 9.439 MB / 0.5454 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.5772, allocations: 55.5 kB / 0.5455 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/0.5777, allocations: 36 kB / 0.5455 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001396/0.5791, allocations: 1.088 MB / 0.5466 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/0.7379, allocations: 49.11 MB / 0.5945 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.7404, allocations: 2.31 MB / 0.5968 GB, free: 115.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.7419, allocations: 1.422 MB / 0.5982 GB, free: 115.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006958/0.7488, allocations: 5.285 MB / 0.6033 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.7489, allocations: 48.41 kB / 0.6034 GB, free: 113.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 3.516e-06/0.7489, allocations: 7.625 kB / 0.6034 GB, free: 113.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=159): time 0.01754/0.7664, allocations: 9.262 MB / 0.6124 GB, free: 111 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.7665, allocations: 152.7 kB / 0.6126 GB, free: 110.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.7699, allocations: 3 MB / 0.6155 GB, free: 110.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.7701, allocations: 25.7 kB / 0.6155 GB, free: 110.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.7712, allocations: 3.009 MB / 0.6185 GB, free: 108.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.7716, allocations: 0.6386 MB / 0.6191 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.7718, allocations: 3.469 kB / 0.6191 GB, free: 108.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.7721, allocations: 0.5711 MB / 0.6196 GB, free: 108 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.7741, allocations: 1.914 MB / 0.6215 GB, free: 108 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/0.7772, allocations: 5.932 MB / 0.6273 GB, free: 102.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.7805, allocations: 3.371 MB / 0.6306 GB, free: 102.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-05/0.7806, allocations: 42.16 kB / 0.6306 GB, free: 102.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01184/0.7924, allocations: 7.863 MB / 0.6383 GB, free: 101.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.7925, allocations: 3.938 kB / 0.6383 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005075/0.7976, allocations: 2.669 MB / 0.6409 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004443/0.802, allocations: 1.449 MB / 0.6423 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.8056, allocations: 1.406 MB / 0.6437 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.8101, allocations: 5.344 MB / 0.6489 GB, free: 96.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/0.8141, allocations: 272.6 kB / 0.6492 GB, free: 96.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/0.8145, allocations: 402.1 kB / 0.6496 GB, free: 96.76 MB / 426.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.0006357/0.8152, allocations: 474.3 kB / 0.65 GB, free: 96.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/0.8156, allocations: 309.3 kB / 0.6503 GB, free: 96.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.8212, allocations: 2.956 MB / 0.6532 GB, free: 95.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004854/0.826, allocations: 2.54 MB / 0.6557 GB, free: 94.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8261, allocations: 0 / 0.6557 GB, free: 94.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.8261, allocations: 10.55 kB / 0.6557 GB, free: 94.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.8393, allocations: 7.679 MB / 0.6632 GB, free: 90.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8394, allocations: 0 / 0.6632 GB, free: 90.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009419/0.8403, allocations: 181.3 kB / 0.6634 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004378/0.8447, allocations: 1.342 MB / 0.6647 GB, free: 89.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.8449, allocations: 22.89 kB / 0.6647 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.8499, allocations: 5.565 MB / 0.6701 GB, free: 83.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005976/0.8505, allocations: 1.364 MB / 0.6715 GB, free: 82.47 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007408/0.8579, allocations: 5.238 MB / 0.6766 GB, free: 77.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.8586, allocations: 351 kB / 0.6769 GB, free: 77.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.859, allocations: 11.56 kB / 0.6769 GB, free: 77.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.8603, allocations: 89.14 kB / 0.677 GB, free: 77.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.8605, allocations: 73.11 kB / 0.6771 GB, free: 77.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.8606, allocations: 47.17 kB / 0.6771 GB, free: 77.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002578/0.8632, allocations: 1.967 MB / 0.6791 GB, free: 75.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004382/0.8676, allocations: 0.8911 MB / 0.6799 GB, free: 74.86 MB / 426.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.0003478/0.868, allocations: 155.1 kB / 0.6801 GB, free: 74.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006855/0.8748, allocations: 5.148 MB / 0.6851 GB, free: 70.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8748, allocations: 192 / 0.6851 GB, free: 70.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003163/0.878, allocations: 1.909 MB / 0.687 GB, free: 68.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.8792, allocations: 292.7 kB / 0.6872 GB, free: 68.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.8901, allocations: 7.466 MB / 0.6945 GB, free: 61.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/0.8932, allocations: 3.448 MB / 0.6979 GB, free: 58.75 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8932, allocations: 0 / 0.6979 GB, free: 58.75 MB / 426.7 MB Notification: Performance of Templates: time 0.05609/0.9493, allocations: 34.54 MB / 0.7316 GB, free: 26.63 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches