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.001508/0.001508, allocations: 106.3 kB / 16.92 MB, free: 6.332 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.001754/0.001754, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.332/1.332, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 50.95 kB / 300.6 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1177, allocations: 49.45 MB / 350.1 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01241/0.1301, allocations: 10.74 MB / 360.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.1381, allocations: 3.927 MB / 364.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.14, allocations: 59.81 kB / 364.8 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004919/0.145, allocations: 2.589 MB / 367.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005354/0.1504, allocations: 1.755 MB / 369.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1522, allocations: 0.6824 MB / 369.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1955/0.3477, allocations: 3.677 MB / 373.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00576/0.3535, allocations: 3.565 MB / 377.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.3578, allocations: 1.481 MB / 378.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005005/0.3628, allocations: 1.948 MB / 380.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.3641, allocations: 314.8 kB / 380.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.3669, allocations: 1.17 MB / 382 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002456/0.3694, allocations: 1.811 MB / 383.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.3725, allocations: 2.144 MB / 385.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006851/0.3794, allocations: 6.463 MB / 392.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3794, allocations: 1.438 kB / 392.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3794, allocations: 0 / 392.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002367/0.3796, allocations: 0 / 392.4 MB, free: 4.098 MB / 302.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.01/0.3896, allocations: 4.576 MB / 397 MB, free: 1.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3897, allocations: 9.375 kB / 397 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007062/0.3968, allocations: 1.873 MB / 398.8 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.4024, allocations: 1.988 MB / 400.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.4026, allocations: 245 kB / 401.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008342/0.4034, allocations: 402.5 kB / 401.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.4206, allocations: 10.07 MB / 411.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/0.4207, allocations: 42.06 kB / 411.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/0.4211, allocations: 159.7 kB / 411.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002661/0.4238, allocations: 1.858 MB / 413.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.4407, allocations: 8.325 MB / 421.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04937/0.4901, allocations: 39.39 MB / 461.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.5006, allocations: 4 MB / 465.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.5027, allocations: 1.421 MB / 466.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.5139, allocations: 7.636 MB / 474.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.514, allocations: 51.55 kB / 474.4 MB, free: 3.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.228e-06/0.514, allocations: 4 kB / 474.4 MB, free: 3.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03583/0.5498, allocations: 12.37 MB / 486.8 MB, free: 7.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001412/0.5513, allocations: 1.691 MB / 488.5 MB, free: 5.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007874/0.5592, allocations: 3.808 MB / 492.3 MB, free: 1.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004972/0.5597, allocations: 53.73 kB / 492.3 MB, free: 1.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/0.5626, allocations: 3.107 MB / 495.4 MB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.5638, allocations: 0.6497 MB / 496.1 MB, free: 13.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003344/0.5672, allocations: 1.26 MB / 497.3 MB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5673, allocations: 301.1 kB / 497.6 MB, free: 11.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.5708, allocations: 2.034 MB / 499.7 MB, free: 9.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006298/0.5771, allocations: 5.968 MB / 0.4938 GB, free: 1.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.5879, allocations: 8.623 MB / 0.5022 GB, free: 7.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/0.5881, allocations: 40 kB / 0.5022 GB, free: 7.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02725/0.6153, allocations: 9.74 MB / 0.5118 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.6156, allocations: 67.94 kB / 0.5118 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01217/0.6278, allocations: 3.747 MB / 0.5155 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/0.6397, allocations: 2.613 MB / 0.518 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004797/0.6446, allocations: 1.372 MB / 0.5194 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2215/0.8661, allocations: 7.705 MB / 0.5269 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/0.8713, allocations: 401.7 kB / 0.5273 GB, free: 139.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/0.8729, allocations: 388.5 kB / 0.5277 GB, free: 139.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.004077/0.877, allocations: 2.01 MB / 0.5296 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.8776, allocations: 330.4 kB / 0.5299 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00666/0.8843, allocations: 3.135 MB / 0.533 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005651/0.89, allocations: 2.676 MB / 0.5356 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.89, allocations: 5.578 kB / 0.5356 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.89, allocations: 7.781 kB / 0.5356 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.9049, allocations: 8.569 MB / 0.544 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.905, allocations: 3.938 kB / 0.544 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.9059, allocations: 195.2 kB / 0.5442 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/0.9101, allocations: 1.437 MB / 0.5456 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.9102, allocations: 38.41 kB / 0.5456 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004801/0.915, allocations: 6.004 MB / 0.5515 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000646/0.9157, allocations: 1.55 MB / 0.553 GB, free: 129.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/0.9228, allocations: 5.305 MB / 0.5582 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.9235, allocations: 377.5 kB / 0.5585 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.9238, allocations: 27.27 kB / 0.5586 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.925, allocations: 118.8 kB / 0.5587 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.9253, allocations: 93.22 kB / 0.5588 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-05/0.9254, allocations: 44.17 kB / 0.5588 GB, free: 127.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00284/0.9282, allocations: 2.343 MB / 0.5611 GB, free: 126.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9282, allocations: 0 / 0.5611 GB, free: 126.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007099/0.9353, allocations: 1.032 MB / 0.5621 GB, free: 126.6 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.000549/0.9359, allocations: 170.8 kB / 0.5623 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01125/0.9472, allocations: 5.999 MB / 0.5681 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.9472, allocations: 0 / 0.5681 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.9513, allocations: 2.03 MB / 0.5701 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.9544, allocations: 402.3 kB / 0.5705 GB, free: 120 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.9685, allocations: 9.066 MB / 0.5793 GB, free: 110.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/0.9712, allocations: 3.107 MB / 0.5824 GB, free: 107.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003753/0.975, allocations: 1.8 MB / 0.5841 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.9754, allocations: 219.4 kB / 0.5843 GB, free: 105.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.9754, allocations: 0 / 0.5843 GB, free: 105.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05612/1.032, allocations: 38.55 MB / 0.622 GB, free: 67.43 MB / 446.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