Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003165/0.00317, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.502/3.502, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001813, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006449/0.0006453, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1628, allocations: 47.58 MB / 374.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.5215/0.6844, allocations: 36.08 MB / 410.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04308/0.7276, allocations: 9.021 MB / 419.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01677/0.7444, allocations: 175.2 kB / 419.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.7559, allocations: 1.777 MB / 421.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03462/0.7906, allocations: 5.227 MB / 426.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006015/0.7967, allocations: 0.557 MB / 427.4 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009275/0.806, allocations: 2.116 MB / 429.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.8207, allocations: 4.156 MB / 433.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.8252, allocations: 1.001 MB / 434.7 MB, free: 180 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004894/0.8302, allocations: 1.261 MB / 435.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.8321, allocations: 140 kB / 436.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.8375, allocations: 0.8738 MB / 436.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.8422, allocations: 1.492 MB / 438.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.8455, allocations: 0.8038 MB / 439.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.8601, allocations: 5.114 MB / 444.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8602, allocations: 0 / 444.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.8603, allocations: 4 kB / 444.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003306/0.8606, allocations: 0 / 444.3 MB, free: 6.461 MB / 314.7 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.01892/0.8795, allocations: 3.816 MB / 448.2 MB, free: 2.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.955e-05/0.8797, allocations: 12.03 kB / 448.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02181/0.9015, allocations: 2.233 MB / 450.4 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.9122, allocations: 2.192 MB / 452.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005843/0.9129, allocations: 250.2 kB / 452.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003206/0.9161, allocations: 403.6 kB / 453.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04723/0.9634, allocations: 10.17 MB / 463.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003087/0.9638, allocations: 35.69 kB / 463.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002222/0.966, allocations: 155.9 kB / 463.6 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007484/0.9736, allocations: 1.857 MB / 465.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0445/1.018, allocations: 8.441 MB / 473.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.127, allocations: 39.48 MB / 0.5013 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02707/1.154, allocations: 4.021 MB / 0.5053 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02885/1.183, allocations: 7.689 MB / 0.5128 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.15e-05/1.183, allocations: 51.5 kB / 0.5128 GB, free: 3.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 7.465e-06/1.183, allocations: 0 / 0.5128 GB, free: 3.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.08755/1.27, allocations: 12.71 MB / 0.5252 GB, free: 6.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002613/1.273, allocations: 1.6 MB / 0.5268 GB, free: 4.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01524/1.288, allocations: 3.922 MB / 0.5306 GB, free: 408 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006113/1.289, allocations: 45.7 kB / 0.5307 GB, free: 356 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.4307/1.72, allocations: 3.068 MB / 0.5337 GB, free: 130.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/1.722, allocations: 0.6478 MB / 0.5343 GB, free: 130.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/1.723, allocations: 124.5 kB / 0.5344 GB, free: 130.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001012/1.724, allocations: 0.5694 MB / 0.535 GB, free: 130 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009642/1.734, allocations: 2.028 MB / 0.537 GB, free: 129.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/1.748, allocations: 5.934 MB / 0.5427 GB, free: 123.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.762, allocations: 3.384 MB / 0.5461 GB, free: 122.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004067/1.763, allocations: 39.69 kB / 0.5461 GB, free: 122.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.05833/1.821, allocations: 9.615 MB / 0.5555 GB, free: 119.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002943/1.821, allocations: 65.03 kB / 0.5555 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03254/1.854, allocations: 3.761 MB / 0.5592 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03371/1.888, allocations: 2.626 MB / 0.5618 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/1.901, allocations: 1.369 MB / 0.5631 GB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02474/1.926, allocations: 7.474 MB / 0.5704 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01182/1.938, allocations: 404.3 kB / 0.5708 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.94, allocations: 385.9 kB / 0.5712 GB, free: 108.9 MB / 410.7 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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.008226/1.948, allocations: 2.012 MB / 0.5731 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.95, allocations: 331.7 kB / 0.5735 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/1.966, allocations: 3.124 MB / 0.5765 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01462/1.981, allocations: 2.673 MB / 0.5791 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.551e-05/1.981, allocations: 3.938 kB / 0.5791 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.29e-05/1.981, allocations: 11.97 kB / 0.5791 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03964/2.021, allocations: 8.561 MB / 0.5875 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/2.021, allocations: 0 / 0.5875 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/2.023, allocations: 195.7 kB / 0.5877 GB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/2.035, allocations: 1.437 MB / 0.5891 GB, free: 90.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005653/2.035, allocations: 37.23 kB / 0.5891 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/2.049, allocations: 5.787 MB / 0.5948 GB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001857/2.051, allocations: 1.464 MB / 0.5962 GB, free: 82.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/2.073, allocations: 5.39 MB / 0.6015 GB, free: 77.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/2.075, allocations: 376.7 kB / 0.6018 GB, free: 76.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001875/2.077, allocations: 36.61 kB / 0.6019 GB, free: 76.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/2.082, allocations: 124.5 kB / 0.602 GB, free: 76.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009822/2.083, allocations: 92.81 kB / 0.6021 GB, free: 76.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003858/2.084, allocations: 48.67 kB / 0.6021 GB, free: 76.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009496/2.093, allocations: 2.42 MB / 0.6045 GB, free: 74.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.963e-06/2.093, allocations: 0 / 0.6045 GB, free: 74.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01335/2.106, allocations: 1.051 MB / 0.6055 GB, free: 73.12 MB / 410.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/2.108, allocations: 192.4 kB / 0.6057 GB, free: 72.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02172/2.13, allocations: 5.43 MB / 0.611 GB, free: 67.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/2.13, allocations: 192 / 0.611 GB, free: 67.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009882/2.14, allocations: 2.032 MB / 0.613 GB, free: 65.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/2.144, allocations: 359.4 kB / 0.6133 GB, free: 65.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/2.183, allocations: 11.11 MB / 0.6242 GB, free: 53.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009849/2.192, allocations: 3.201 MB / 0.6273 GB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/2.194, allocations: 267.4 kB / 0.6275 GB, free: 50.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/2.195, allocations: 0 / 0.6275 GB, free: 50.35 MB / 410.7 MB Notification: Performance of Templates: time 0.8209/3.015, allocations: 135.9 MB / 0.7602 GB, free: 75.95 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches