Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001105, allocations: 101.3 kB / 17.05 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 196.1 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 51.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2933, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01263/0.306, allocations: 10.74 MB / 411.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008254/0.3142, allocations: 3.92 MB / 415.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.3163, allocations: 63.81 kB / 415.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005575/0.322, allocations: 2.593 MB / 418 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.3273, allocations: 1.797 MB / 419.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.329, allocations: 0.6941 MB / 420.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005628/0.3347, allocations: 3.685 MB / 424.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004917/0.3396, allocations: 3.551 MB / 427.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.3423, allocations: 1.479 MB / 429.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.3452, allocations: 1.954 MB / 431.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.3463, allocations: 315.9 kB / 431.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.349, allocations: 1.17 MB / 432.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.3513, allocations: 1.839 MB / 434.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.3546, allocations: 2.136 MB / 436.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.3627, allocations: 6.695 MB / 443.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3628, allocations: 4 kB / 443.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3628, allocations: 0 / 443.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002734/0.3631, allocations: 0 / 443.4 MB, free: 14.04 MB / 366.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.01346/0.3765, allocations: 4.569 MB / 447.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3766, allocations: 8.031 kB / 447.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007137/0.3838, allocations: 1.883 MB / 449.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/0.3884, allocations: 2.02 MB / 451.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.3887, allocations: 254.2 kB / 452.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.3901, allocations: 391.7 kB / 452.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.4113, allocations: 10.06 MB / 462.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.4115, allocations: 35.69 kB / 462.6 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.4126, allocations: 159.8 kB / 462.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00263/0.4153, allocations: 1.857 MB / 464.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.4324, allocations: 8.335 MB / 472.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04775/0.4802, allocations: 39.24 MB / 0.5002 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00977/0.49, allocations: 3.992 MB / 0.5041 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.4921, allocations: 1.435 MB / 0.5055 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.5035, allocations: 7.638 MB / 0.5129 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.5036, allocations: 47.56 kB / 0.513 GB, free: 9.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.158e-06/0.5036, allocations: 0 / 0.513 GB, free: 9.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03215/0.5357, allocations: 12.37 MB / 0.525 GB, free: 12.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001343/0.5371, allocations: 1.687 MB / 0.5267 GB, free: 11.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/0.5435, allocations: 3.812 MB / 0.5304 GB, free: 7.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.5439, allocations: 49.69 kB / 0.5305 GB, free: 7.191 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00252/0.5464, allocations: 3.107 MB / 0.5335 GB, free: 4.039 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.5475, allocations: 0.6521 MB / 0.5341 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002534/0.5501, allocations: 1.253 MB / 0.5354 GB, free: 2.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.5502, allocations: 305.1 kB / 0.5356 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2395/0.7897, allocations: 2.034 MB / 0.5376 GB, free: 129.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006044/0.7958, allocations: 5.969 MB / 0.5435 GB, free: 124.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007635/0.8034, allocations: 8.618 MB / 0.5519 GB, free: 116.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.8036, allocations: 42.31 kB / 0.5519 GB, free: 116.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01985/0.8234, allocations: 9.731 MB / 0.5614 GB, free: 113.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.8236, allocations: 64 kB / 0.5615 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01033/0.834, allocations: 3.748 MB / 0.5651 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/0.8445, allocations: 2.61 MB / 0.5677 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/0.8485, allocations: 1.372 MB / 0.569 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008342/0.8568, allocations: 7.712 MB / 0.5766 GB, free: 98.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004625/0.8615, allocations: 398.1 kB / 0.5769 GB, free: 98.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000972/0.8625, allocations: 387.6 kB / 0.5773 GB, free: 98.13 MB / 462.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.00406/0.8666, allocations: 2.013 MB / 0.5793 GB, free: 96.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007814/0.8674, allocations: 328.5 kB / 0.5796 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006206/0.8736, allocations: 3.129 MB / 0.5826 GB, free: 92.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004895/0.8785, allocations: 2.671 MB / 0.5853 GB, free: 90.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.8785, allocations: 8 kB / 0.5853 GB, free: 90.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8786, allocations: 11.91 kB / 0.5853 GB, free: 90.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.8939, allocations: 8.542 MB / 0.5936 GB, free: 81.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.8939, allocations: 0 / 0.5936 GB, free: 81.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/0.8948, allocations: 200.1 kB / 0.5938 GB, free: 81.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004096/0.8989, allocations: 1.432 MB / 0.5952 GB, free: 79.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/0.8993, allocations: 39.7 kB / 0.5952 GB, free: 79.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005895/0.9052, allocations: 6.008 MB / 0.6011 GB, free: 73.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008384/0.9061, allocations: 1.546 MB / 0.6026 GB, free: 71.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008538/0.9146, allocations: 5.313 MB / 0.6078 GB, free: 66.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.9158, allocations: 376.7 kB / 0.6082 GB, free: 66.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007121/0.9165, allocations: 24 kB / 0.6082 GB, free: 66.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.9185, allocations: 119.8 kB / 0.6083 GB, free: 66.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/0.9188, allocations: 96.73 kB / 0.6084 GB, free: 66.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.919, allocations: 47.97 kB / 0.6084 GB, free: 66.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004762/0.9238, allocations: 2.337 MB / 0.6107 GB, free: 63.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9238, allocations: 0 / 0.6107 GB, free: 63.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006445/0.9302, allocations: 1.034 MB / 0.6117 GB, free: 62.69 MB / 462.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.0005974/0.9309, allocations: 171.7 kB / 0.6119 GB, free: 62.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0088/0.9397, allocations: 5.505 MB / 0.6173 GB, free: 56.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.9397, allocations: 3.609 kB / 0.6173 GB, free: 56.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.943, allocations: 2.038 MB / 0.6193 GB, free: 54.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.946, allocations: 395.5 kB / 0.6196 GB, free: 54.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.9613, allocations: 8.946 MB / 0.6284 GB, free: 45.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004304/0.9656, allocations: 3.107 MB / 0.6314 GB, free: 42.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004466/0.9701, allocations: 1.8 MB / 0.6332 GB, free: 40.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007392/0.9709, allocations: 223.4 kB / 0.6334 GB, free: 40.34 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9709, allocations: 0 / 0.6334 GB, free: 40.34 MB / 462.1 MB Notification: Performance of Templates: time 0.05933/1.03, allocations: 35.43 MB / 0.668 GB, free: 5.121 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches