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.001189/0.001189, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.22 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08854, 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.01156/0.1001, allocations: 10.7 MB / 369.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.266, allocations: 3.94 MB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2672, allocations: 65.5 kB / 373.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004501/0.2717, allocations: 2.576 MB / 376.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.2758, allocations: 1.715 MB / 377.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2774, allocations: 0.6917 MB / 378.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004761/0.2821, allocations: 3.719 MB / 382.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.2862, allocations: 3.56 MB / 385.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.2884, allocations: 1.473 MB / 387.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.2907, allocations: 1.945 MB / 389.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007197/0.2914, allocations: 314 kB / 389.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2934, allocations: 1.15 MB / 390.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.2948, allocations: 1.791 MB / 392.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.2967, allocations: 2.127 MB / 394.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.3027, allocations: 6.64 MB / 401.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3028, allocations: 4 kB / 401.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3028, allocations: 0 / 401.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001778/0.303, allocations: 0 / 401.3 MB, free: 14.09 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.009228/0.3122, allocations: 4.524 MB / 405.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3122, allocations: 8.031 kB / 405.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007216/0.3195, allocations: 1.944 MB / 407.8 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.3245, allocations: 1.991 MB / 409.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.3247, allocations: 247.2 kB / 410 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.3262, allocations: 401.3 kB / 410.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.3435, allocations: 10.11 MB / 420.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.413e-05/0.3436, allocations: 39.59 kB / 420.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/0.3441, allocations: 161.2 kB / 420.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.3466, allocations: 1.852 MB / 422.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.3631, allocations: 8.37 MB / 430.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04578/0.4089, allocations: 39.24 MB / 470.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.4192, allocations: 4.048 MB / 474.2 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.4212, allocations: 1.424 MB / 475.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.4321, allocations: 7.71 MB / 483.3 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4322, allocations: 55.5 kB / 483.4 MB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 3.748e-06/0.4322, allocations: 0 / 483.4 MB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03059/0.4628, allocations: 12.5 MB / 495.9 MB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001227/0.4641, allocations: 1.683 MB / 497.6 MB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004926/0.469, allocations: 3.807 MB / 0.4896 GB, free: 7.602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004045/0.4695, allocations: 48.67 kB / 0.4897 GB, free: 7.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.4714, allocations: 3.106 MB / 0.4927 GB, free: 4.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.4721, allocations: 0.6458 MB / 0.4933 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/0.4736, allocations: 1.256 MB / 0.4946 GB, free: 2.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.4737, allocations: 301.1 kB / 0.4949 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.4767, allocations: 2.054 MB / 0.4969 GB, free: 188 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/0.4822, allocations: 5.985 MB / 0.5027 GB, free: 8.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009588/0.4918, allocations: 8.647 MB / 0.5112 GB, free: 13.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/0.4919, allocations: 44 kB / 0.5112 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02314/0.5151, allocations: 9.838 MB / 0.5208 GB, free: 3.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.5153, allocations: 74.58 kB / 0.5209 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1762/0.6915, allocations: 3.863 MB / 0.5246 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.7037, allocations: 2.72 MB / 0.5273 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/0.708, allocations: 1.368 MB / 0.5286 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.7237, allocations: 11.58 MB / 0.5399 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005329/0.729, allocations: 416.1 kB / 0.5403 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009194/0.73, allocations: 387.3 kB / 0.5407 GB, free: 129.7 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.003244/0.7332, allocations: 2.014 MB / 0.5427 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/0.7338, allocations: 324 kB / 0.543 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/0.7345, allocations: 434.6 kB / 0.5434 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005502/0.74, allocations: 2.739 MB / 0.5461 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.74, allocations: 3.969 kB / 0.5461 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.7401, allocations: 3.703 kB / 0.5461 GB, free: 127.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.7541, allocations: 8.604 MB / 0.5545 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7542, allocations: 3.969 kB / 0.5545 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.7551, allocations: 185.8 kB / 0.5547 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/0.7592, allocations: 1.456 MB / 0.5561 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.7594, allocations: 40.67 kB / 0.5561 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.7697, allocations: 9.814 MB / 0.5657 GB, free: 117.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006737/0.7704, allocations: 1.54 MB / 0.5672 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007595/0.778, allocations: 5.384 MB / 0.5725 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/0.7788, allocations: 377.5 kB / 0.5728 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.7791, allocations: 28 kB / 0.5729 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7804, allocations: 127.8 kB / 0.573 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.7807, allocations: 118.4 kB / 0.5731 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.7808, allocations: 43.98 kB / 0.5731 GB, free: 111.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00266/0.7835, allocations: 2.333 MB / 0.5754 GB, free: 108.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7835, allocations: 0 / 0.5754 GB, free: 108.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004409/0.7879, allocations: 1.075 MB / 0.5765 GB, free: 107.7 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.000356/0.7883, allocations: 171.8 kB / 0.5766 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007766/0.7961, allocations: 5.773 MB / 0.5823 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7961, allocations: 0 / 0.5823 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003498/0.7996, allocations: 2.323 MB / 0.5845 GB, free: 99.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.8017, allocations: 396.1 kB / 0.5849 GB, free: 98.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8134, allocations: 8.972 MB / 0.5937 GB, free: 89.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.8159, allocations: 3.123 MB / 0.5967 GB, free: 86.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003275/0.8192, allocations: 1.807 MB / 0.5985 GB, free: 84.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.8197, allocations: 223.4 kB / 0.5987 GB, free: 84.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.8197, allocations: 3.938 kB / 0.5987 GB, free: 84.76 MB / 446.1 MB Notification: Performance of Templates: time 0.0573/0.877, allocations: 36.89 MB / 0.6347 GB, free: 48.16 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 gbode -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