Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 209.7 kB / 18.79 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.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.8 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09331, allocations: 50.54 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.1765/0.2698, allocations: 17.79 MB / 375.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009285/0.2792, allocations: 5.037 MB / 380.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.2821, allocations: 72.03 kB / 380.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.2843, allocations: 0.9959 MB / 381.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.2873, allocations: 1.258 MB / 382.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.2882, allocations: 411.8 kB / 383 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004011/0.2923, allocations: 3.644 MB / 386.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.294, allocations: 1.511 MB / 388.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.2951, allocations: 0.7236 MB / 388.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.2965, allocations: 1.298 MB / 390.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.2968, allocations: 117.5 kB / 390.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.2986, allocations: 1.005 MB / 391.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008343/0.2994, allocations: 1.059 MB / 392.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009618/0.3004, allocations: 1.25 MB / 393.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.3032, allocations: 3.316 MB / 396.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3032, allocations: 11.94 kB / 396.9 MB, free: 1.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3032, allocations: 1.062 kB / 396.9 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.629e-05/0.3033, allocations: 0 / 396.9 MB, free: 1.191 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005044/0.3083, allocations: 3.014 MB / 399.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3084, allocations: 9.312 kB / 399.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006637/0.315, allocations: 1.804 MB / 401.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.3175, allocations: 1.347 MB / 403.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/0.3176, allocations: 144.3 kB / 403.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006137/0.3182, allocations: 250.6 kB / 403.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009977/0.3282, allocations: 6.675 MB / 410.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.569e-05/0.3283, allocations: 27.75 kB / 410.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.3286, allocations: 86.09 kB / 410.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00211/0.3307, allocations: 1.363 MB / 411.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.342, allocations: 6.049 MB / 417.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.3742, allocations: 25.62 MB / 443.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007217/0.3815, allocations: 2.686 MB / 446 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.383, allocations: 1.038 MB / 447 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006136/0.3891, allocations: 3.978 MB / 451 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3892, allocations: 51.06 kB / 451.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 3.516e-06/0.3892, allocations: 0 / 451.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.02784/0.4171, allocations: 10.31 MB / 461.4 MB, free: 1.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001312/0.4184, allocations: 1.589 MB / 463 MB, free: 15.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004202/0.4226, allocations: 2.721 MB / 465.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002429/0.4229, allocations: 41.7 kB / 465.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.4244, allocations: 2.072 MB / 467.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000691/0.4251, allocations: 0.5108 MB / 468.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/0.4267, allocations: 0.9218 MB / 469.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.4268, allocations: 301.1 kB / 469.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.4294, allocations: 1.66 MB / 471.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.4339, allocations: 4.46 MB / 475.6 MB, free: 1.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007523/0.4414, allocations: 6.548 MB / 482.2 MB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-05/0.4415, allocations: 28 kB / 482.2 MB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02034/0.4619, allocations: 8.073 MB / 490.3 MB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/0.462, allocations: 48 kB / 490.3 MB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01215/0.4742, allocations: 3.577 MB / 493.9 MB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/0.4867, allocations: 2.678 MB / 496.6 MB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.49, allocations: 1.01 MB / 497.6 MB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.5042, allocations: 8.9 MB / 0.4946 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.5079, allocations: 339.6 kB / 0.495 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007971/0.5087, allocations: 287.9 kB / 0.4952 GB, free: 212 kB / 414.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.002781/0.5115, allocations: 1.426 MB / 0.4966 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/0.5121, allocations: 232.9 kB / 0.4968 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008098/0.5129, allocations: 329.9 kB / 0.4972 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006286/0.5192, allocations: 2.525 MB / 0.4996 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.5192, allocations: 4 kB / 0.4996 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.5192, allocations: 7.984 kB / 0.4996 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.5339, allocations: 6.875 MB / 0.5063 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.5339, allocations: 4 kB / 0.5063 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/0.5348, allocations: 175.7 kB / 0.5065 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005245/0.5401, allocations: 1.427 MB / 0.5079 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/0.5403, allocations: 39.09 kB / 0.5079 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.5504, allocations: 7.322 MB / 0.5151 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00105/0.5515, allocations: 1.451 MB / 0.5165 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009251/0.5608, allocations: 4.872 MB / 0.5213 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/0.5614, allocations: 302 kB / 0.5216 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/0.5619, allocations: 20 kB / 0.5216 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.5633, allocations: 115.8 kB / 0.5217 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.5636, allocations: 92.31 kB / 0.5218 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.5638, allocations: 34.02 kB / 0.5218 GB, free: 4.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002941/0.5667, allocations: 1.685 MB / 0.5235 GB, free: 2.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5667, allocations: 0 / 0.5235 GB, free: 2.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004203/0.5709, allocations: 0.7775 MB / 0.5242 GB, free: 1.93 MB / 446.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.0004598/0.5714, allocations: 154.2 kB / 0.5244 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.157/0.7284, allocations: 4.434 MB / 0.5287 GB, free: 145.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7285, allocations: 3.828 kB / 0.5287 GB, free: 145.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003332/0.7318, allocations: 1.72 MB / 0.5304 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.7347, allocations: 253.9 kB / 0.5306 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.7519, allocations: 8.089 MB / 0.5385 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/0.7555, allocations: 2.29 MB / 0.5408 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.7566, allocations: 201.4 kB / 0.5409 GB, free: 140.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7566, allocations: 0 / 0.5409 GB, free: 140.2 MB / 446.1 MB Notification: Performance of Templates: time 0.07417/0.8308, allocations: 75.45 MB / 0.6146 GB, free: 76.07 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches