Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001474/0.001474, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001651/0.001652, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08434/0.08562, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01106/0.09673, allocations: 10.74 MB / 339.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007658/0.1044, allocations: 3.928 MB / 343.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.1059, allocations: 63.81 kB / 343.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.1107, allocations: 2.585 MB / 346 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004563/0.1152, allocations: 1.747 MB / 347.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1169, allocations: 0.6863 MB / 348.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006324/0.1232, allocations: 3.697 MB / 352.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00476/0.128, allocations: 3.554 MB / 355.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.1307, allocations: 1.491 MB / 357.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.1336, allocations: 1.951 MB / 359.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009073/0.1346, allocations: 320 kB / 359.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.137, allocations: 1.159 MB / 360.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.1391, allocations: 1.816 MB / 362.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003268/0.1424, allocations: 2.14 MB / 364.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00789/0.1503, allocations: 6.695 MB / 371.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1504, allocations: 0 / 371.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1504, allocations: 0 / 371.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000266/0.1506, allocations: 3.984 kB / 371.3 MB, free: 8.973 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.01035/0.161, allocations: 4.577 MB / 375.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1611, allocations: 12.03 kB / 375.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007299/0.1684, allocations: 1.875 MB / 377.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.1735, allocations: 2.071 MB / 379.8 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.1738, allocations: 246.2 kB / 380.1 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1528/0.3266, allocations: 391 kB / 380.5 MB, free: 50.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/0.3468, allocations: 10.07 MB / 390.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.3469, allocations: 38.59 kB / 390.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.3473, allocations: 156.6 kB / 390.7 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/0.3495, allocations: 1.86 MB / 392.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.3649, allocations: 8.319 MB / 400.9 MB, free: 40.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.4053, allocations: 39.26 MB / 440.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009516/0.4148, allocations: 3.987 MB / 444.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.4168, allocations: 1.423 MB / 445.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.4279, allocations: 7.629 MB / 453.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.428, allocations: 51.5 kB / 453.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=152): time 3.536e-06/0.428, allocations: 4 kB / 453.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.03523/0.4632, allocations: 12.39 MB / 465.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001783/0.465, allocations: 1.685 MB / 467.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006368/0.4714, allocations: 3.82 MB / 471.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004789/0.4719, allocations: 53.69 kB / 471.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002582/0.4745, allocations: 3.111 MB / 474.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009769/0.4755, allocations: 0.6521 MB / 475 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/0.4771, allocations: 1.254 MB / 476.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4773, allocations: 305.1 kB / 476.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/0.4803, allocations: 2.03 MB / 478.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006744/0.4871, allocations: 5.973 MB / 484.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.4989, allocations: 8.629 MB / 493.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.4991, allocations: 40 kB / 493.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02382/0.5229, allocations: 9.734 MB / 0.4911 GB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.491e-05/0.523, allocations: 68 kB / 0.4912 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01196/0.535, allocations: 3.733 MB / 0.4948 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/0.5468, allocations: 2.61 MB / 0.4974 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/0.551, allocations: 1.376 MB / 0.4987 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.561, allocations: 7.71 MB / 0.5063 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00433/0.5654, allocations: 403.3 kB / 0.5067 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008476/0.5663, allocations: 392.2 kB / 0.507 GB, free: 12.16 MB / 414.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.003261/0.5695, allocations: 2.005 MB / 0.509 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/0.5702, allocations: 331.7 kB / 0.5093 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/0.577, allocations: 3.141 MB / 0.5124 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005747/0.5828, allocations: 2.668 MB / 0.515 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.5828, allocations: 8 kB / 0.515 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.5828, allocations: 11.91 kB / 0.515 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.6003, allocations: 8.556 MB / 0.5233 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.6003, allocations: 3.938 kB / 0.5233 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6014, allocations: 191.7 kB / 0.5235 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004689/0.6061, allocations: 1.44 MB / 0.5249 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.6063, allocations: 35.97 kB / 0.525 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.6127, allocations: 6.002 MB / 0.5308 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001057/0.6138, allocations: 1.547 MB / 0.5323 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1546/0.7684, allocations: 5.292 MB / 0.5375 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/0.7693, allocations: 381.8 kB / 0.5379 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/0.7697, allocations: 28.97 kB / 0.5379 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.771, allocations: 120.6 kB / 0.538 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.7712, allocations: 94.88 kB / 0.5381 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7713, allocations: 47.91 kB / 0.5382 GB, free: 141.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003554/0.7749, allocations: 2.345 MB / 0.5404 GB, free: 140.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7749, allocations: 0 / 0.5404 GB, free: 140.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004473/0.7794, allocations: 1.03 MB / 0.5415 GB, free: 140.7 MB / 430.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.0003738/0.7798, allocations: 163.8 kB / 0.5416 GB, free: 140.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00864/0.7884, allocations: 5.509 MB / 0.547 GB, free: 138.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7885, allocations: 1.344 kB / 0.547 GB, free: 138.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.7919, allocations: 2.039 MB / 0.549 GB, free: 137.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.794, allocations: 395.1 kB / 0.5494 GB, free: 137.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.8069, allocations: 8.964 MB / 0.5581 GB, free: 133.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.8097, allocations: 3.119 MB / 0.5612 GB, free: 132.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003304/0.813, allocations: 1.803 MB / 0.5629 GB, free: 132.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.8136, allocations: 218.7 kB / 0.5631 GB, free: 132.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.252e-06/0.8136, allocations: 0 / 0.5631 GB, free: 132.3 MB / 430.1 MB Notification: Performance of Templates: time 0.05191/0.8655, allocations: 33.4 MB / 0.5957 GB, free: 100.8 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches