Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 58.25 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01258/0.1351, allocations: 10.69 MB / 369.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2113/0.3464, allocations: 3.94 MB / 373.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.3481, allocations: 62.62 kB / 373.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005045/0.3532, allocations: 2.581 MB / 376.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.3584, allocations: 1.718 MB / 377.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.3604, allocations: 0.6909 MB / 378.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006268/0.3666, allocations: 3.721 MB / 382.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005743/0.3724, allocations: 3.559 MB / 385.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.3762, allocations: 1.472 MB / 387.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/0.3799, allocations: 1.938 MB / 389.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.381, allocations: 317.8 kB / 389.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.384, allocations: 1.153 MB / 390.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.386, allocations: 1.795 MB / 392.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.3892, allocations: 2.122 MB / 394.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008551/0.3977, allocations: 6.644 MB / 401.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3978, allocations: 0 / 401.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3978, allocations: 0 / 401.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002725/0.3981, allocations: 0 / 401.3 MB, free: 14.27 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.01208/0.4102, allocations: 4.527 MB / 405.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4102, allocations: 16.03 kB / 405.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006999/0.4172, allocations: 1.929 MB / 407.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005032/0.4223, allocations: 1.995 MB / 409.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.4225, allocations: 247.2 kB / 410 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.4237, allocations: 394.8 kB / 410.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.4433, allocations: 10.11 MB / 420.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.4435, allocations: 39.59 kB / 420.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/0.444, allocations: 158.7 kB / 420.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/0.4468, allocations: 1.86 MB / 422.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.4648, allocations: 8.369 MB / 430.9 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05435/0.5192, allocations: 39.24 MB / 470.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.5295, allocations: 4.03 MB / 474.2 MB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.5317, allocations: 1.424 MB / 475.6 MB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/0.5441, allocations: 7.717 MB / 483.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5442, allocations: 51.56 kB / 483.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.539e-06/0.5442, allocations: 0 / 483.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03175/0.576, allocations: 12.5 MB / 495.9 MB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001349/0.5774, allocations: 1.68 MB / 497.6 MB, free: 11.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/0.5835, allocations: 3.807 MB / 0.4896 GB, free: 7.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006652/0.5842, allocations: 45.7 kB / 0.4897 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003471/0.5876, allocations: 3.11 MB / 0.4927 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.589, allocations: 0.6609 MB / 0.4934 GB, free: 3.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.5909, allocations: 1.253 MB / 0.4946 GB, free: 2.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.591, allocations: 309.1 kB / 0.4949 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.594, allocations: 2.046 MB / 0.4969 GB, free: 360 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006417/0.6004, allocations: 5.98 MB / 0.5027 GB, free: 8.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6113, allocations: 8.652 MB / 0.5112 GB, free: 13.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.6115, allocations: 40 kB / 0.5112 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0284/0.6399, allocations: 9.838 MB / 0.5208 GB, free: 3.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.6401, allocations: 71.94 kB / 0.5209 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2771/0.9172, allocations: 3.867 MB / 0.5246 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01934/0.9366, allocations: 2.717 MB / 0.5273 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006716/0.9433, allocations: 1.373 MB / 0.5286 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/0.9605, allocations: 11.58 MB / 0.5399 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/0.9653, allocations: 413.2 kB / 0.5403 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/0.9663, allocations: 387.4 kB / 0.5407 GB, free: 129.9 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.003664/0.97, allocations: 2.016 MB / 0.5427 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000588/0.9706, allocations: 321.8 kB / 0.543 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.9714, allocations: 433.8 kB / 0.5434 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005471/0.9768, allocations: 2.744 MB / 0.5461 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.9769, allocations: 3.844 kB / 0.5461 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.9769, allocations: 11.22 kB / 0.5461 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.9915, allocations: 8.594 MB / 0.5545 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.9915, allocations: 0 / 0.5545 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.9924, allocations: 196.2 kB / 0.5547 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004071/0.9964, allocations: 1.449 MB / 0.5561 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.9966, allocations: 41.75 kB / 0.5561 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009944/1.007, allocations: 9.812 MB / 0.5657 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006841/1.007, allocations: 1.553 MB / 0.5672 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007376/1.015, allocations: 5.365 MB / 0.5725 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/1.016, allocations: 378.4 kB / 0.5728 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/1.016, allocations: 28 kB / 0.5729 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.017, allocations: 131.1 kB / 0.573 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/1.017, allocations: 108 kB / 0.5731 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.018, allocations: 47.81 kB / 0.5731 GB, free: 111.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002689/1.02, allocations: 2.341 MB / 0.5754 GB, free: 109.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.02, allocations: 2.125 kB / 0.5754 GB, free: 109.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00444/1.025, allocations: 1.077 MB / 0.5765 GB, free: 108.1 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.0003356/1.025, allocations: 166.4 kB / 0.5766 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007359/1.032, allocations: 5.77 MB / 0.5823 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.032, allocations: 4.062 kB / 0.5823 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.036, allocations: 2.323 MB / 0.5845 GB, free: 99.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.038, allocations: 398.2 kB / 0.5849 GB, free: 99.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.048, allocations: 8.98 MB / 0.5937 GB, free: 90.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002318/1.051, allocations: 3.127 MB / 0.5967 GB, free: 87.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003097/1.054, allocations: 1.807 MB / 0.5985 GB, free: 85.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/1.054, allocations: 223.4 kB / 0.5987 GB, free: 85.11 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/1.054, allocations: 0 / 0.5987 GB, free: 85.11 MB / 446.1 MB Notification: Performance of Templates: time 0.05575/1.11, allocations: 36.89 MB / 0.6347 GB, free: 48.5 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches