Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 206 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 250 MB, free: 9.055 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 71.83 kB / 367.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2617, allocations: 53.31 MB / 420.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009325/0.271, allocations: 7.444 MB / 428.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.2774, allocations: 3.265 MB / 431.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007577/0.2782, allocations: 35.94 kB / 431.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.2802, allocations: 1.047 MB / 432.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.2835, allocations: 1.365 MB / 433.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.2845, allocations: 459.1 kB / 434.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.2883, allocations: 2.66 MB / 436.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.2902, allocations: 1.324 MB / 438.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.2916, allocations: 0.8368 MB / 439.1 MB, free: 6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.2933, allocations: 1.332 MB / 440.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.2937, allocations: 172 kB / 440.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.2955, allocations: 1.049 MB / 441.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.2966, allocations: 1.118 MB / 442.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.298, allocations: 1.289 MB / 444 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.3031, allocations: 4.338 MB / 448.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3031, allocations: 0 / 448.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3031, allocations: 0 / 448.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.742e-05/0.3032, allocations: 0 / 448.4 MB, free: 12.67 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005968/0.3091, allocations: 3.112 MB / 451.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3092, allocations: 8.031 kB / 451.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.316, allocations: 1.801 MB / 453.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.3189, allocations: 1.379 MB / 454.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3191, allocations: 127.3 kB / 454.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/0.3197, allocations: 263.7 kB / 455.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.3313, allocations: 6.679 MB / 461.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.056e-05/0.3314, allocations: 31.7 kB / 461.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.3316, allocations: 91.88 kB / 461.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002193/0.3338, allocations: 1.359 MB / 463.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.3457, allocations: 6.044 MB / 469.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03158/0.3772, allocations: 25.58 MB / 494.8 MB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007303/0.3845, allocations: 2.608 MB / 497.5 MB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.3861, allocations: 0.9931 MB / 498.4 MB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006419/0.3925, allocations: 3.976 MB / 0.4906 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3926, allocations: 47.12 kB / 0.4907 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.236e-06/0.3926, allocations: 0 / 0.4907 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02759/0.4202, allocations: 10.44 MB / 0.5009 GB, free: 10.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001569/0.4217, allocations: 1.671 MB / 0.5025 GB, free: 8.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004112/0.4259, allocations: 2.726 MB / 0.5052 GB, free: 5.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.4262, allocations: 49.73 kB / 0.5052 GB, free: 5.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.4283, allocations: 2.163 MB / 0.5073 GB, free: 3.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007958/0.4291, allocations: 0.5312 MB / 0.5079 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.4305, allocations: 0.925 MB / 0.5088 GB, free: 1.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4306, allocations: 309.1 kB / 0.5091 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.4332, allocations: 1.652 MB / 0.5107 GB, free: 15.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004992/0.4382, allocations: 4.468 MB / 0.515 GB, free: 10.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008309/0.4465, allocations: 6.543 MB / 0.5214 GB, free: 2.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.852e-05/0.4465, allocations: 28 kB / 0.5215 GB, free: 2.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01986/0.4664, allocations: 8.072 MB / 0.5293 GB, free: 10.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.4665, allocations: 48.47 kB / 0.5294 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0115/0.478, allocations: 3.562 MB / 0.5329 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/0.4897, allocations: 2.685 MB / 0.5355 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/0.4928, allocations: 1.01 MB / 0.5365 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2095/0.7022, allocations: 9.712 MB / 0.546 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.7054, allocations: 336.8 kB / 0.5463 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.7057, allocations: 288.3 kB / 0.5466 GB, free: 108.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001547/0.7073, allocations: 1.419 MB / 0.5479 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.7076, allocations: 244.1 kB / 0.5482 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.708, allocations: 333.6 kB / 0.5485 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005079/0.7131, allocations: 2.503 MB / 0.5509 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7131, allocations: 7.719 kB / 0.5509 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7131, allocations: 5.406 kB / 0.5509 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.7234, allocations: 6.857 MB / 0.5576 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.7234, allocations: 0 / 0.5576 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.7241, allocations: 178.6 kB / 0.5578 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004244/0.7284, allocations: 1.436 MB / 0.5592 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.7285, allocations: 38.03 kB / 0.5593 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00774/0.7362, allocations: 7.926 MB / 0.567 GB, free: 97.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006433/0.7368, allocations: 1.542 MB / 0.5685 GB, free: 95.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007077/0.7439, allocations: 4.858 MB / 0.5732 GB, free: 91.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.7444, allocations: 306.9 kB / 0.5735 GB, free: 90.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.7447, allocations: 27.98 kB / 0.5736 GB, free: 90.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7457, allocations: 119.7 kB / 0.5737 GB, free: 90.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.7459, allocations: 83.3 kB / 0.5738 GB, free: 90.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/0.746, allocations: 35.98 kB / 0.5738 GB, free: 90.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.7479, allocations: 1.685 MB / 0.5754 GB, free: 88.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7479, allocations: 0 / 0.5754 GB, free: 88.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003297/0.7512, allocations: 0.7745 MB / 0.5762 GB, free: 88.19 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003265/0.7515, allocations: 164.5 kB / 0.5763 GB, free: 88.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.7571, allocations: 4.276 MB / 0.5805 GB, free: 83.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7571, allocations: 0 / 0.5805 GB, free: 83.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.7596, allocations: 1.652 MB / 0.5821 GB, free: 82.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.761, allocations: 274.1 kB / 0.5824 GB, free: 81.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/0.7683, allocations: 6.618 MB / 0.5889 GB, free: 75.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.7698, allocations: 2.294 MB / 0.5911 GB, free: 72.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002314/0.7721, allocations: 1.408 MB / 0.5925 GB, free: 71.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.7724, allocations: 163.4 kB / 0.5926 GB, free: 71.29 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7724, allocations: 4 kB / 0.5926 GB, free: 71.29 MB / 462.1 MB Notification: Performance of Templates: time 0.04175/0.8142, allocations: 28.83 MB / 0.6208 GB, free: 42.59 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches