Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 51.92 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2385, allocations: 53.36 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01177/0.2503, allocations: 9.36 MB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008216/0.2585, allocations: 3.772 MB / 444.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2597, allocations: 67.69 kB / 444.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0049/0.2646, allocations: 2.523 MB / 447.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.2693, allocations: 1.774 MB / 449.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.2708, allocations: 0.6902 MB / 449.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005122/0.2759, allocations: 3.716 MB / 453.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.2791, allocations: 2.715 MB / 456.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.2815, allocations: 1.487 MB / 457.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.2849, allocations: 1.989 MB / 459.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006505/0.2856, allocations: 316 kB / 460 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.2878, allocations: 1.057 MB / 461 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.2898, allocations: 1.85 MB / 462.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.2916, allocations: 1.576 MB / 464.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00725/0.2989, allocations: 6.688 MB / 471.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2989, allocations: 7.938 kB / 471.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2989, allocations: 0 / 471.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.273e-05/0.299, allocations: 0 / 471.2 MB, free: 14.96 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.009486/0.3084, allocations: 4.58 MB / 475.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3085, allocations: 12.03 kB / 475.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/0.3154, allocations: 1.956 MB / 477.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005126/0.3205, allocations: 1.957 MB / 479.7 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.3208, allocations: 246.2 kB / 479.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009271/0.3217, allocations: 391.7 kB / 480.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.3407, allocations: 10.19 MB / 490.5 MB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.3408, allocations: 43.62 kB / 490.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.3412, allocations: 159.8 kB / 490.7 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002965/0.3442, allocations: 1.857 MB / 492.5 MB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/0.3616, allocations: 8.351 MB / 0.4891 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05068/0.4123, allocations: 36.9 MB / 0.5252 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.4235, allocations: 3.448 MB / 0.5286 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.426, allocations: 1.33 MB / 0.5298 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2568/0.6828, allocations: 5.524 MB / 0.5352 GB, free: 101.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.6828, allocations: 51.66 kB / 0.5353 GB, free: 101.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.919e-06/0.6828, allocations: 3.438 kB / 0.5353 GB, free: 101.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0328/0.7156, allocations: 12.31 MB / 0.5473 GB, free: 97.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009773/0.7166, allocations: 1.554 MB / 0.5488 GB, free: 96.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.7205, allocations: 3.658 MB / 0.5524 GB, free: 94.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.7208, allocations: 45.48 kB / 0.5524 GB, free: 94.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.7223, allocations: 3.271 MB / 0.5556 GB, free: 92.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000614/0.7229, allocations: 0.6712 MB / 0.5563 GB, free: 91.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.724, allocations: 1.273 MB / 0.5575 GB, free: 90.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.7241, allocations: 301.1 kB / 0.5578 GB, free: 90.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.7263, allocations: 2.044 MB / 0.5598 GB, free: 88.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/0.7298, allocations: 5.992 MB / 0.5657 GB, free: 80.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006443/0.7362, allocations: 8.634 MB / 0.5741 GB, free: 69.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.386e-05/0.7363, allocations: 40 kB / 0.5741 GB, free: 69.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01837/0.7547, allocations: 9.816 MB / 0.5837 GB, free: 59.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.7548, allocations: 64.22 kB / 0.5838 GB, free: 59.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01032/0.7651, allocations: 3.849 MB / 0.5876 GB, free: 56.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/0.7762, allocations: 2.718 MB / 0.5902 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/0.78, allocations: 1.376 MB / 0.5915 GB, free: 51.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.7932, allocations: 11.06 MB / 0.6024 GB, free: 40.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/0.7979, allocations: 403.5 kB / 0.6027 GB, free: 40.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007732/0.7986, allocations: 391.9 kB / 0.6031 GB, free: 39.81 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.002554/0.8012, allocations: 2.013 MB / 0.6051 GB, free: 37.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/0.8017, allocations: 313.9 kB / 0.6054 GB, free: 37.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.8023, allocations: 410 kB / 0.6058 GB, free: 37.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005126/0.8074, allocations: 2.71 MB / 0.6084 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.8074, allocations: 0 / 0.6084 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.8074, allocations: 7.984 kB / 0.6084 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.821, allocations: 7.479 MB / 0.6157 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.821, allocations: 7.875 kB / 0.6157 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.8218, allocations: 187.7 kB / 0.6159 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/0.8259, allocations: 1.448 MB / 0.6173 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.826, allocations: 39.97 kB / 0.6174 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00987/0.8359, allocations: 9.346 MB / 0.6265 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006581/0.8366, allocations: 1.42 MB / 0.6279 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008423/0.845, allocations: 5.332 MB / 0.6331 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.8459, allocations: 277.8 kB / 0.6333 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/0.8462, allocations: 28 kB / 0.6334 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.8475, allocations: 127.8 kB / 0.6335 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.8478, allocations: 108.8 kB / 0.6336 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.8479, allocations: 47.95 kB / 0.6336 GB, free: 7.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002688/0.8506, allocations: 2.066 MB / 0.6357 GB, free: 5.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8506, allocations: 0 / 0.6357 GB, free: 5.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005233/0.8558, allocations: 1.066 MB / 0.6367 GB, free: 4.844 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.0004039/0.8562, allocations: 174.5 kB / 0.6369 GB, free: 4.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008979/0.8652, allocations: 5.403 MB / 0.6421 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8652, allocations: 0 / 0.6421 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004628/0.8699, allocations: 2.093 MB / 0.6442 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.8722, allocations: 347.2 kB / 0.6445 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.8901, allocations: 9.146 MB / 0.6535 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/0.894, allocations: 2.584 MB / 0.656 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004174/0.8982, allocations: 1.766 MB / 0.6577 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.8987, allocations: 211.4 kB / 0.6579 GB, free: 14.99 MB / 478.1 MB Notification: Performance of SimCode: time 1.703e-06/0.8987, allocations: 0 / 0.6579 GB, free: 14.99 MB / 478.1 MB Notification: Performance of Templates: time 0.07734/0.976, allocations: 39.18 MB / 0.6962 GB, free: 8.32 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.891846973448992]