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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002152/0.002152, allocations: 205.8 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2637, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01173/0.2754, allocations: 9.364 MB / 441 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00785/0.2832, allocations: 3.768 MB / 444.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2844, allocations: 71.69 kB / 444.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.2892, allocations: 2.511 MB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.2937, allocations: 1.786 MB / 449.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2951, allocations: 0.6824 MB / 449.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004837/0.3, allocations: 3.716 MB / 453.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.303, allocations: 2.712 MB / 456.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.3049, allocations: 1.487 MB / 457.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.3075, allocations: 1.989 MB / 459.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.3081, allocations: 312 kB / 460 MB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.3101, allocations: 1.049 MB / 461.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.3119, allocations: 1.854 MB / 462.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.3138, allocations: 1.576 MB / 464.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.321, allocations: 6.7 MB / 471.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.321, allocations: 0 / 471.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.321, allocations: 0 / 471.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.3211, allocations: 0 / 471.2 MB, free: 14.78 MB / 382.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.007563/0.3287, allocations: 4.576 MB / 475.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3287, allocations: 15.98 kB / 475.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006934/0.3357, allocations: 1.964 MB / 477.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/0.3399, allocations: 1.961 MB / 479.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.3401, allocations: 242.2 kB / 480 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008406/0.3409, allocations: 399.7 kB / 480.4 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/0.3583, allocations: 10.19 MB / 490.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.3584, allocations: 35.69 kB / 490.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004852/0.3589, allocations: 155.9 kB / 490.7 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002901/0.3618, allocations: 1.86 MB / 492.6 MB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.3797, allocations: 8.343 MB / 0.4892 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05186/0.4316, allocations: 36.91 MB / 0.5252 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4428, allocations: 3.447 MB / 0.5286 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002389/0.4451, allocations: 1.334 MB / 0.5299 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2572/0.7024, allocations: 5.526 MB / 0.5353 GB, free: 100.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.7024, allocations: 51.66 kB / 0.5354 GB, free: 100.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.629e-06/0.7024, allocations: 0 / 0.5354 GB, free: 100.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02953/0.732, allocations: 12.3 MB / 0.5474 GB, free: 97.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009391/0.7329, allocations: 1.552 MB / 0.5489 GB, free: 95.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003947/0.7369, allocations: 3.67 MB / 0.5525 GB, free: 94.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.7371, allocations: 49.34 kB / 0.5525 GB, free: 94.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.7385, allocations: 3.26 MB / 0.5557 GB, free: 91.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.739, allocations: 0.671 MB / 0.5564 GB, free: 91.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.7403, allocations: 1.268 MB / 0.5576 GB, free: 89.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.77e-05/0.7404, allocations: 305.1 kB / 0.5579 GB, free: 89.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.7427, allocations: 2.051 MB / 0.5599 GB, free: 87.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/0.7464, allocations: 5.985 MB / 0.5657 GB, free: 79.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007304/0.7537, allocations: 8.642 MB / 0.5742 GB, free: 69.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-05/0.7538, allocations: 40 kB / 0.5742 GB, free: 69.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0189/0.7727, allocations: 9.812 MB / 0.5838 GB, free: 59.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.7728, allocations: 64 kB / 0.5839 GB, free: 59.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0111/0.7839, allocations: 3.849 MB / 0.5876 GB, free: 55.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.7956, allocations: 2.72 MB / 0.5903 GB, free: 52.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.7992, allocations: 1.372 MB / 0.5916 GB, free: 51.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.813, allocations: 11.06 MB / 0.6024 GB, free: 40.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/0.8178, allocations: 407.5 kB / 0.6028 GB, free: 39.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009551/0.8187, allocations: 388 kB / 0.6032 GB, free: 39.31 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.003732/0.8224, allocations: 2.016 MB / 0.6051 GB, free: 37.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007853/0.8232, allocations: 313.9 kB / 0.6054 GB, free: 36.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.8242, allocations: 401.5 kB / 0.6058 GB, free: 36.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005399/0.8296, allocations: 2.707 MB / 0.6085 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.8296, allocations: 7.938 kB / 0.6085 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.8296, allocations: 8.844 kB / 0.6085 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.8445, allocations: 7.474 MB / 0.6158 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.8445, allocations: 0 / 0.6158 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000815/0.8453, allocations: 195.7 kB / 0.616 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004251/0.8496, allocations: 1.451 MB / 0.6174 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.8497, allocations: 35.97 kB / 0.6174 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.8601, allocations: 9.339 MB / 0.6265 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006866/0.8608, allocations: 1.417 MB / 0.6279 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007907/0.8687, allocations: 5.347 MB / 0.6331 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/0.8696, allocations: 269.9 kB / 0.6334 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007066/0.8703, allocations: 43.81 kB / 0.6334 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.872, allocations: 119.8 kB / 0.6336 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.8724, allocations: 116.7 kB / 0.6337 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.8725, allocations: 51.91 kB / 0.6337 GB, free: 7.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003226/0.8757, allocations: 2.058 MB / 0.6357 GB, free: 5.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8757, allocations: 0 / 0.6357 GB, free: 5.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005358/0.881, allocations: 1.07 MB / 0.6368 GB, free: 4.336 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.0003902/0.8814, allocations: 167.5 kB / 0.6369 GB, free: 4.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008981/0.8904, allocations: 5.408 MB / 0.6422 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8904, allocations: 0 / 0.6422 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004805/0.8952, allocations: 2.098 MB / 0.6443 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.898, allocations: 341.2 kB / 0.6446 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.9164, allocations: 9.143 MB / 0.6535 GB, free: 3.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004456/0.9209, allocations: 2.58 MB / 0.656 GB, free: 480 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004406/0.9253, allocations: 1.77 MB / 0.6578 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.9259, allocations: 207.4 kB / 0.658 GB, free: 14.49 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/0.9259, allocations: 0 / 0.658 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Templates: time 0.07926/1.005, allocations: 39.18 MB / 0.6962 GB, free: 7.805 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.9555310215801]