Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001871/0.001871, allocations: 120 kB / 18.5 MB, free: 4.52 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.002492/0.002492, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.89 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 53.33 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2025/0.3066, allocations: 12.02 MB / 439.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.3143, allocations: 4.231 MB / 443.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.3163, allocations: 68.78 kB / 443.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005095/0.3214, allocations: 2.777 MB / 446.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.3268, allocations: 1.987 MB / 448.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.3288, allocations: 0.8067 MB / 449.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007438/0.3362, allocations: 4.682 MB / 453.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.3408, allocations: 3.058 MB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.3441, allocations: 1.683 MB / 458.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/0.3481, allocations: 2.525 MB / 461 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.3491, allocations: 352.5 kB / 461.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.3518, allocations: 1.296 MB / 462.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002312/0.3541, allocations: 2.139 MB / 464.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003656/0.3578, allocations: 2.414 MB / 467.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.3682, allocations: 7.491 MB / 474.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3682, allocations: 0 / 474.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3682, allocations: 0 / 474.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002604/0.3685, allocations: 4 kB / 474.7 MB, free: 1.156 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01177/0.3802, allocations: 5.371 MB / 480.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3803, allocations: 8.031 kB / 480.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008686/0.389, allocations: 2.205 MB / 482.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/0.3942, allocations: 2.49 MB / 484.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.3944, allocations: 270.9 kB / 485 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.3956, allocations: 431.6 kB / 485.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.4201, allocations: 12.26 MB / 497.7 MB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.4202, allocations: 51.58 kB / 497.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005263/0.4207, allocations: 179.8 kB / 497.9 MB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/0.4242, allocations: 2.158 MB / 0.4884 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.4466, allocations: 10.25 MB / 0.4984 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05702/0.5036, allocations: 44.18 MB / 0.5415 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.5166, allocations: 4.511 MB / 0.5459 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.5193, allocations: 1.631 MB / 0.5475 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/0.5338, allocations: 8.322 MB / 0.5557 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.794e-05/0.5339, allocations: 54 kB / 0.5557 GB, free: 4 kB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 4.759e-06/0.5339, allocations: 0 / 0.5557 GB, free: 4 kB / 462.1 MB Notification: Performance of matching and sorting (n=205): time 0.04351/0.5774, allocations: 16.31 MB / 0.5716 GB, free: 15.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001569/0.579, allocations: 1.693 MB / 0.5733 GB, free: 13.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/0.5851, allocations: 4.211 MB / 0.5774 GB, free: 9.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003888/0.5855, allocations: 57.8 kB / 0.5775 GB, free: 9.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/0.5882, allocations: 3.532 MB / 0.5809 GB, free: 5.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009876/0.5892, allocations: 0.8451 MB / 0.5817 GB, free: 4.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/0.591, allocations: 1.366 MB / 0.5831 GB, free: 3.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5912, allocations: 301.1 kB / 0.5834 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.5948, allocations: 2.282 MB / 0.5856 GB, free: 1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007281/0.6021, allocations: 6.414 MB / 0.5918 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/0.6158, allocations: 9.344 MB / 0.601 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/0.616, allocations: 44 kB / 0.601 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02672/0.6427, allocations: 10.19 MB / 0.611 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.6428, allocations: 68 kB / 0.611 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2653/0.9081, allocations: 3.881 MB / 0.6148 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/0.9198, allocations: 2.252 MB / 0.617 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/0.9262, allocations: 1.594 MB / 0.6186 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.9367, allocations: 6.628 MB / 0.6251 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006801/0.9435, allocations: 440.8 kB / 0.6255 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/0.945, allocations: 414.5 kB / 0.6259 GB, free: 153.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005618/0.9506, allocations: 2.219 MB / 0.628 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009929/0.9516, allocations: 390.7 kB / 0.6284 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006872/0.9585, allocations: 3.312 MB / 0.6316 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005381/0.9639, allocations: 2.767 MB / 0.6343 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.9639, allocations: 4.375 kB / 0.6344 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.9639, allocations: 11.78 kB / 0.6344 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.982, allocations: 10.36 MB / 0.6445 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.9821, allocations: 15.41 kB / 0.6445 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.9836, allocations: 379 kB / 0.6449 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/0.9863, allocations: 0.9823 MB / 0.6458 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/0.9865, allocations: 62.86 kB / 0.6459 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/0.9907, allocations: 4.914 MB / 0.6507 GB, free: 143.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008324/0.9916, allocations: 1.556 MB / 0.6522 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008735/1, allocations: 5.978 MB / 0.658 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.002, allocations: 457.7 kB / 0.6585 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/1.003, allocations: 55.39 kB / 0.6585 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.004, allocations: 166.4 kB / 0.6587 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/1.005, allocations: 170.5 kB / 0.6588 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/1.005, allocations: 78.11 kB / 0.6589 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003978/1.009, allocations: 2.582 MB / 0.6614 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 0.6562 kB / 0.6614 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006364/1.015, allocations: 1.141 MB / 0.6626 GB, free: 136.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005099/1.016, allocations: 218.3 kB / 0.6628 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009298/1.025, allocations: 5.824 MB / 0.6684 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.025, allocations: 0 / 0.6684 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003332/1.028, allocations: 2.126 MB / 0.6705 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.031, allocations: 0.5016 MB / 0.671 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.047, allocations: 10.78 MB / 0.6815 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/1.05, allocations: 3.461 MB / 0.6849 GB, free: 113.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004062/1.054, allocations: 2.018 MB / 0.6869 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/1.055, allocations: 267.4 kB / 0.6871 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.253e-06/1.055, allocations: 0 / 0.6871 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.06617/1.121, allocations: 38.85 MB / 0.7251 GB, free: 72.83 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.782577836886048]