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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 106.6 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.3 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.39 kB / 306.3 MB, free: 1.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1108, allocations: 50.55 MB / 356.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2122/0.3231, allocations: 41.92 MB / 398.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02508/0.3482, allocations: 9.072 MB / 407.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.3588, allocations: 178.4 kB / 408 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005472/0.3643, allocations: 2.568 MB / 410.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.3692, allocations: 1.596 MB / 412.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.3709, allocations: 0.6399 MB / 412.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006771/0.3777, allocations: 5.355 MB / 418.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004909/0.3826, allocations: 3.521 MB / 421.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.3853, allocations: 1.316 MB / 423 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.3886, allocations: 2.075 MB / 425.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006919/0.3893, allocations: 228 kB / 425.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.3918, allocations: 1.116 MB / 426.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.3937, allocations: 1.741 MB / 428.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.3963, allocations: 2.065 MB / 430.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.4041, allocations: 6.339 MB / 436.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.4041, allocations: 7.938 kB / 436.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4041, allocations: 0 / 436.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001888/0.4043, allocations: 0 / 436.6 MB, free: 11.79 MB / 350.1 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.009708/0.414, allocations: 4.538 MB / 441.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4141, allocations: 8.031 kB / 441.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007308/0.4214, allocations: 1.929 MB / 443.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.4257, allocations: 1.97 MB / 445 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.4259, allocations: 250.2 kB / 445.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.427, allocations: 395.7 kB / 445.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.4484, allocations: 10.1 MB / 455.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.4485, allocations: 43.53 kB / 455.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/0.449, allocations: 163.8 kB / 456 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/0.4519, allocations: 1.853 MB / 457.8 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.4701, allocations: 8.367 MB / 466.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04963/0.5197, allocations: 39.37 MB / 0.4937 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.5307, allocations: 4.039 MB / 0.4977 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.5331, allocations: 1.434 MB / 0.4991 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.5448, allocations: 7.717 MB / 0.5066 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.5449, allocations: 51.5 kB / 0.5066 GB, free: 6.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 3.737e-06/0.5449, allocations: 0 / 0.5066 GB, free: 6.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03366/0.5786, allocations: 12.49 MB / 0.5188 GB, free: 10.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001429/0.58, allocations: 1.593 MB / 0.5204 GB, free: 8.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/0.5859, allocations: 3.811 MB / 0.5241 GB, free: 4.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003249/0.5863, allocations: 45.7 kB / 0.5242 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.5886, allocations: 3.103 MB / 0.5272 GB, free: 1.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007933/0.5894, allocations: 0.6443 MB / 0.5278 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1692/0.7586, allocations: 1.26 MB / 0.5291 GB, free: 146.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.7587, allocations: 302.8 kB / 0.5293 GB, free: 146.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00407/0.7628, allocations: 2.047 MB / 0.5313 GB, free: 146.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005029/0.7679, allocations: 5.982 MB / 0.5372 GB, free: 140.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009009/0.7769, allocations: 8.652 MB / 0.5456 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000204/0.7771, allocations: 40.42 kB / 0.5457 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02387/0.801, allocations: 9.847 MB / 0.5553 GB, free: 129.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.8012, allocations: 67.03 kB / 0.5553 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01137/0.8126, allocations: 3.871 MB / 0.5591 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/0.824, allocations: 2.732 MB / 0.5618 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/0.8284, allocations: 1.362 MB / 0.5631 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.8416, allocations: 10.6 MB / 0.5735 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/0.8462, allocations: 407.1 kB / 0.5739 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008723/0.8471, allocations: 391.1 kB / 0.5742 GB, free: 117.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002908/0.8501, allocations: 2.018 MB / 0.5762 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.8506, allocations: 323.5 kB / 0.5765 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.8512, allocations: 441.8 kB / 0.5769 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005205/0.8564, allocations: 2.733 MB / 0.5796 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.8564, allocations: 4 kB / 0.5796 GB, free: 111.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.8565, allocations: 11.97 kB / 0.5796 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.869, allocations: 8.596 MB / 0.588 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.869, allocations: 1.531 kB / 0.588 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008847/0.8699, allocations: 195.7 kB / 0.5882 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004105/0.874, allocations: 1.457 MB / 0.5896 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.8742, allocations: 39.92 kB / 0.5897 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009087/0.8833, allocations: 9.05 MB / 0.5985 GB, free: 92.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006291/0.884, allocations: 1.45 MB / 0.5999 GB, free: 90.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/0.8915, allocations: 5.376 MB / 0.6052 GB, free: 85.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.8922, allocations: 370.4 kB / 0.6055 GB, free: 84.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.8926, allocations: 31.98 kB / 0.6056 GB, free: 84.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.8938, allocations: 131.8 kB / 0.6057 GB, free: 84.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.8941, allocations: 112.7 kB / 0.6058 GB, free: 84.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.754e-05/0.8942, allocations: 47.41 kB / 0.6058 GB, free: 84.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002622/0.8968, allocations: 2.333 MB / 0.6081 GB, free: 82.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8968, allocations: 0 / 0.6081 GB, free: 82.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004419/0.9013, allocations: 1.083 MB / 0.6092 GB, free: 81.1 MB / 446.1 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 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.9016, allocations: 165.1 kB / 0.6093 GB, free: 80.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007557/0.9092, allocations: 5.746 MB / 0.6149 GB, free: 75.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9092, allocations: 7.922 kB / 0.6149 GB, free: 75.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003316/0.9125, allocations: 2.292 MB / 0.6172 GB, free: 72.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.9146, allocations: 378.2 kB / 0.6175 GB, free: 72.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.929, allocations: 10.98 MB / 0.6283 GB, free: 61.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/0.9316, allocations: 3.125 MB / 0.6313 GB, free: 58.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003829/0.9355, allocations: 1.8 MB / 0.6331 GB, free: 56.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.936, allocations: 219.4 kB / 0.6333 GB, free: 56.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.936, allocations: 0 / 0.6333 GB, free: 56.23 MB / 446.1 MB Notification: Performance of Templates: time 0.06157/0.9976, allocations: 40.48 MB / 0.6728 GB, free: 15.93 MB / 446.1 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.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches