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.001591/0.001591, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 60.16 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1065, allocations: 50.54 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01384/0.1204, allocations: 10.71 MB / 368.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1839/0.3043, allocations: 3.941 MB / 372.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.3069, allocations: 62.62 kB / 372.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005518/0.3124, allocations: 2.571 MB / 374.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.3172, allocations: 1.725 MB / 376.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.319, allocations: 0.6914 MB / 377.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.3255, allocations: 3.719 MB / 380.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005157/0.3307, allocations: 3.56 MB / 384.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.3332, allocations: 1.466 MB / 386 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.3358, allocations: 1.947 MB / 387.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006896/0.3365, allocations: 314.3 kB / 388.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.3386, allocations: 1.147 MB / 389.4 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.34, allocations: 1.797 MB / 391.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.3417, allocations: 2.124 MB / 393.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00607/0.3478, allocations: 6.399 MB / 399.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3478, allocations: 4 kB / 399.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3478, allocations: 0 / 399.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002106/0.348, allocations: 1.156 kB / 399.7 MB, free: 14.37 MB / 318.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.01094/0.359, allocations: 4.533 MB / 404.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.3591, allocations: 8.031 kB / 404.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007785/0.3668, allocations: 1.937 MB / 406.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/0.3717, allocations: 1.968 MB / 408.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.372, allocations: 242.8 kB / 408.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.3732, allocations: 400.4 kB / 408.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.3932, allocations: 10.1 MB / 418.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.3933, allocations: 47.53 kB / 418.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.3938, allocations: 164.2 kB / 419.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003048/0.3969, allocations: 1.85 MB / 420.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.415, allocations: 8.374 MB / 429.3 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/0.4657, allocations: 39.38 MB / 468.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.4767, allocations: 4.043 MB / 472.7 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.4787, allocations: 1.425 MB / 474.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.4897, allocations: 7.721 MB / 481.9 MB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.4898, allocations: 55.48 kB / 481.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 3.035e-06/0.4898, allocations: 0 / 481.9 MB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03427/0.5241, allocations: 12.5 MB / 494.4 MB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001478/0.5256, allocations: 1.676 MB / 496.1 MB, free: 11.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.5311, allocations: 3.815 MB / 499.9 MB, free: 7.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.5315, allocations: 47.89 kB / 500 MB, free: 7.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/0.5338, allocations: 3.1 MB / 0.4913 GB, free: 4.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008048/0.5346, allocations: 0.6536 MB / 0.4919 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.5363, allocations: 1.252 MB / 0.4931 GB, free: 2.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5364, allocations: 309.1 kB / 0.4934 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/0.5396, allocations: 2.054 MB / 0.4954 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006429/0.546, allocations: 5.985 MB / 0.5013 GB, free: 8.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.5572, allocations: 8.638 MB / 0.5097 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/0.5574, allocations: 40 kB / 0.5097 GB, free: 13.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02461/0.582, allocations: 9.849 MB / 0.5194 GB, free: 4.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.5821, allocations: 71.94 kB / 0.5194 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01229/0.5944, allocations: 3.861 MB / 0.5232 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2123/0.8067, allocations: 2.728 MB / 0.5259 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.8113, allocations: 1.366 MB / 0.5272 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.8279, allocations: 11.6 MB / 0.5385 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/0.8326, allocations: 416 kB / 0.5389 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007601/0.8334, allocations: 386.2 kB / 0.5393 GB, free: 130.8 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.0037/0.8371, allocations: 2.01 MB / 0.5413 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007472/0.8379, allocations: 325.6 kB / 0.5416 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008769/0.8387, allocations: 432.8 kB / 0.542 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00806/0.8468, allocations: 2.742 MB / 0.5447 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.8469, allocations: 4.062 kB / 0.5447 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/0.8469, allocations: 7.266 kB / 0.5447 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/0.8647, allocations: 8.607 MB / 0.5531 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.8647, allocations: 0 / 0.5531 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.866, allocations: 192 kB / 0.5533 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006106/0.8721, allocations: 1.462 MB / 0.5547 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/0.8724, allocations: 39.81 kB / 0.5547 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.8857, allocations: 9.828 MB / 0.5643 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007805/0.8865, allocations: 1.544 MB / 0.5658 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008098/0.8946, allocations: 5.369 MB / 0.5711 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8958, allocations: 379 kB / 0.5714 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.8962, allocations: 27.98 kB / 0.5715 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.8975, allocations: 127.8 kB / 0.5716 GB, free: 112.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.8978, allocations: 108.8 kB / 0.5717 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.8979, allocations: 43.97 kB / 0.5717 GB, free: 112.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002934/0.9009, allocations: 2.342 MB / 0.574 GB, free: 110.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9009, allocations: 0 / 0.574 GB, free: 110.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004644/0.9055, allocations: 1.069 MB / 0.5751 GB, free: 109.2 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.0003686/0.9059, allocations: 170.2 kB / 0.5752 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008348/0.9143, allocations: 6.264 MB / 0.5813 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9143, allocations: 0 / 0.5813 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/0.9178, allocations: 2.327 MB / 0.5836 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.9198, allocations: 393.2 kB / 0.584 GB, free: 99.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.9309, allocations: 9.085 MB / 0.5929 GB, free: 90.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.9332, allocations: 3.127 MB / 0.5959 GB, free: 87.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003485/0.9367, allocations: 1.8 MB / 0.5977 GB, free: 85.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.9371, allocations: 227.4 kB / 0.5979 GB, free: 85.61 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.9371, allocations: 0 / 0.5979 GB, free: 85.61 MB / 446.1 MB Notification: Performance of Templates: time 0.0577/0.9948, allocations: 42.06 MB / 0.639 GB, free: 43.75 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