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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 176.9 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.3 MB / 214.4 MB, free: 1.746 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.0009773/0.0009772, allocations: 74.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.533e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09749, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5258, allocations: 92.42 MB / 455.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5262, allocations: 81.83 kB / 455.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2129/0.7391, allocations: 78.39 MB / 0.5215 GB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.798e-06/0.7392, allocations: 0 / 0.5215 GB, free: 10.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002337/0.7394, allocations: 83.94 kB / 0.5215 GB, free: 10.13 MB / 410.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.01827/0.7577, allocations: 4.151 MB / 0.5256 GB, free: 5.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.7578, allocations: 12.03 kB / 0.5256 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.7695, allocations: 2.249 MB / 0.5278 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2944/1.064, allocations: 4.394 MB / 0.5321 GB, free: 92.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/1.064, allocations: 141.9 kB / 0.5322 GB, free: 92.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/1.067, allocations: 252 kB / 0.5325 GB, free: 92.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01515/1.082, allocations: 5.946 MB / 0.5383 GB, free: 92.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/1.105, allocations: 9.279 MB / 0.5473 GB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/1.105, allocations: 51.78 kB / 0.5474 GB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/1.107, allocations: 35.03 kB / 0.5474 GB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001777/1.109, allocations: 1.037 MB / 0.5484 GB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04991/1.159, allocations: 48.4 MB / 0.5957 GB, free: 56.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/1.162, allocations: 2.398 MB / 0.598 GB, free: 55.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/1.163, allocations: 1.243 MB / 0.5993 GB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/1.164, allocations: 0.9978 MB / 0.6002 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.164, allocations: 52.08 kB / 0.6003 GB, free: 53.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=158): time 3.777e-06/1.164, allocations: 0 / 0.6003 GB, free: 53.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=165): time 0.01962/1.184, allocations: 9.275 MB / 0.6093 GB, free: 49.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.184, allocations: 144.7 kB / 0.6095 GB, free: 49.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/1.188, allocations: 2.964 MB / 0.6124 GB, free: 48.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003677/1.188, allocations: 25.7 kB / 0.6124 GB, free: 48.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.19, allocations: 3.163 MB / 0.6155 GB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/1.191, allocations: 0.6526 MB / 0.6161 GB, free: 45.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.191, allocations: 3.812 kB / 0.6161 GB, free: 45.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/1.191, allocations: 0.5767 MB / 0.6167 GB, free: 45.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/1.194, allocations: 1.88 MB / 0.6185 GB, free: 44.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/1.197, allocations: 5.886 MB / 0.6243 GB, free: 38.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/1.202, allocations: 3.296 MB / 0.6275 GB, free: 37.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/1.202, allocations: 39.41 kB / 0.6275 GB, free: 37.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=840) (initialization): time 0.0168/1.219, allocations: 7.922 MB / 0.6353 GB, free: 32.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/1.219, allocations: 71.84 kB / 0.6353 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005381/1.225, allocations: 2.691 MB / 0.638 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004568/1.229, allocations: 1.519 MB / 0.6394 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004528/1.234, allocations: 1.43 MB / 0.6408 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/1.238, allocations: 5.367 MB / 0.6461 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/1.244, allocations: 330 kB / 0.6464 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.245, allocations: 403.4 kB / 0.6468 GB, free: 22.57 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring2.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] 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 spring1.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.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 (768): * Single equations (assignments): 758 * 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 {(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 {7 28} Notification: Performance of prepare postOptimizeDAE: time 0.0009436/1.246, allocations: 484.4 kB / 0.6472 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/1.246, allocations: 304.1 kB / 0.6475 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/1.252, allocations: 2.993 MB / 0.6505 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00473/1.257, allocations: 2.574 MB / 0.653 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.257, allocations: 4 kB / 0.653 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/1.257, allocations: 7.594 kB / 0.653 GB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/1.271, allocations: 8.097 MB / 0.6609 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.271, allocations: 0 / 0.6609 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/1.272, allocations: 201.9 kB / 0.6611 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/1.276, allocations: 1.396 MB / 0.6624 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/1.277, allocations: 18.75 kB / 0.6625 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/1.281, allocations: 5.605 MB / 0.6679 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006765/1.282, allocations: 1.399 MB / 0.6693 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/1.291, allocations: 5.336 MB / 0.6745 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.293, allocations: 354 kB / 0.6749 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/1.293, allocations: 11.98 kB / 0.6749 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.295, allocations: 115.8 kB / 0.675 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/1.295, allocations: 97.16 kB / 0.6751 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.295, allocations: 43.98 kB / 0.6751 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003431/1.298, allocations: 1.933 MB / 0.677 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.298, allocations: 0 / 0.677 GB, free: 12.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005858/1.304, allocations: 0.8991 MB / 0.6779 GB, free: 11.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (97): * Single equations (assignments): 89 * 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 {(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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005177/1.305, allocations: 155.7 kB / 0.678 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009547/1.314, allocations: 5.106 MB / 0.683 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.314, allocations: 7.938 kB / 0.683 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003942/1.318, allocations: 1.977 MB / 0.6849 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.321, allocations: 290.1 kB / 0.6852 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2305/1.551, allocations: 7.377 MB / 0.6924 GB, free: 93.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005408/1.557, allocations: 3.195 MB / 0.6955 GB, free: 92.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006051/1.563, allocations: 1.908 MB / 0.6974 GB, free: 92.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007233/1.563, allocations: 211 kB / 0.6976 GB, free: 92.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.375e-06/1.563, allocations: 3.188 kB / 0.6976 GB, free: 92.7 MB / 426.7 MB Notification: Performance of Templates: time 0.0539/1.617, allocations: 30.63 MB / 0.7275 GB, free: 91.37 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