Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001727/0.001727, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002376/0.002376, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.626/1.626, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3199, allocations: 53.36 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01426/0.3341, allocations: 10.47 MB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.3445, allocations: 4.024 MB / 446.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3465, allocations: 79.62 kB / 446.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005418/0.3519, allocations: 2.682 MB / 449.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006776/0.3587, allocations: 2 MB / 451.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.3615, allocations: 0.815 MB / 452.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009576/0.3711, allocations: 4.687 MB / 457.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.3762, allocations: 2.941 MB / 460 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.3802, allocations: 1.705 MB / 461.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/0.3853, allocations: 2.531 MB / 464.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.3865, allocations: 352 kB / 464.6 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.3896, allocations: 1.17 MB / 465.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002907/0.3925, allocations: 2.142 MB / 467.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.3954, allocations: 1.802 MB / 469.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.4076, allocations: 7.532 MB / 477.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4076, allocations: 0 / 477.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4076, allocations: 0 / 477.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002745/0.4079, allocations: 0 / 477.3 MB, free: 9.555 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01736/0.4252, allocations: 5.292 MB / 482.5 MB, free: 4.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.4253, allocations: 12.03 kB / 482.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009092/0.4344, allocations: 2.197 MB / 484.8 MB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008887/0.4433, allocations: 2.441 MB / 487.2 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.4436, allocations: 270.8 kB / 487.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.4453, allocations: 431.7 kB / 487.9 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02933/0.4746, allocations: 12.34 MB / 0.4885 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.4748, allocations: 51.52 kB / 0.4885 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005557/0.4754, allocations: 175.8 kB / 0.4887 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003941/0.4793, allocations: 2.166 MB / 0.4908 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.5062, allocations: 10.22 MB / 0.5008 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3966/0.9028, allocations: 41.42 MB / 0.5413 GB, free: 71.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.9144, allocations: 3.828 MB / 0.545 GB, free: 71.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.9165, allocations: 1.627 MB / 0.5466 GB, free: 71.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.9292, allocations: 6.485 MB / 0.5529 GB, free: 69.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.9293, allocations: 54.62 kB / 0.553 GB, free: 69.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 6.232e-06/0.9293, allocations: 0 / 0.553 GB, free: 69.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03733/0.9666, allocations: 16 MB / 0.5686 GB, free: 59.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001114/0.9677, allocations: 1.562 MB / 0.5701 GB, free: 57.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.9724, allocations: 3.992 MB / 0.574 GB, free: 53.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004688/0.9729, allocations: 61.69 kB / 0.5741 GB, free: 53.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/0.9746, allocations: 3.573 MB / 0.5776 GB, free: 50.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008003/0.9754, allocations: 0.8358 MB / 0.5784 GB, free: 49.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.9769, allocations: 1.37 MB / 0.5797 GB, free: 48.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.9769, allocations: 305.1 kB / 0.58 GB, free: 47.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/0.9796, allocations: 2.282 MB / 0.5822 GB, free: 45.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/0.9837, allocations: 6.421 MB / 0.5885 GB, free: 37.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007923/0.9916, allocations: 9.347 MB / 0.5976 GB, free: 25.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.9917, allocations: 40 kB / 0.5977 GB, free: 25.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0268/1.018, allocations: 10.14 MB / 0.6076 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.019, allocations: 68 kB / 0.6076 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01109/1.03, allocations: 3.893 MB / 0.6114 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009721/1.039, allocations: 2.258 MB / 0.6137 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006111/1.046, allocations: 1.591 MB / 0.6152 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008941/1.054, allocations: 6.314 MB / 0.6214 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008249/1.063, allocations: 435.5 kB / 0.6218 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/1.065, allocations: 423.7 kB / 0.6222 GB, free: 0.5469 MB / 446.1 MB 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.007362/1.072, allocations: 2.216 MB / 0.6244 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.074, allocations: 357.6 kB / 0.6247 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/1.084, allocations: 3.27 MB / 0.6279 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006554/1.09, allocations: 2.765 MB / 0.6306 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.808e-05/1.09, allocations: 4 kB / 0.6306 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.09, allocations: 7.969 kB / 0.6306 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/1.116, allocations: 9.017 MB / 0.6394 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/1.116, allocations: 12 kB / 0.6394 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.118, allocations: 367.4 kB / 0.6398 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003224/1.121, allocations: 0.9945 MB / 0.6407 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002837/1.122, allocations: 62.69 kB / 0.6408 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006252/1.128, allocations: 4.643 MB / 0.6453 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001455/1.129, allocations: 1.445 MB / 0.6467 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.142, allocations: 5.938 MB / 0.6525 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.144, allocations: 337.5 kB / 0.6529 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/1.144, allocations: 59.97 kB / 0.6529 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.146, allocations: 155.8 kB / 0.6531 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.146, allocations: 180.3 kB / 0.6532 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.147, allocations: 71.98 kB / 0.6533 GB, free: 15.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004534/1.151, allocations: 2.262 MB / 0.6555 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.151, allocations: 0 / 0.6555 GB, free: 13.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00945/1.161, allocations: 1.137 MB / 0.6566 GB, free: 12.49 MB / 494.1 MB 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.0009112/1.161, allocations: 210.4 kB / 0.6568 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01383/1.175, allocations: 5.665 MB / 0.6624 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/1.175, allocations: 0 / 0.6624 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004699/1.18, allocations: 1.984 MB / 0.6643 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/1.186, allocations: 433.2 kB / 0.6647 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.214, allocations: 10.84 MB / 0.6753 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006502/1.221, allocations: 2.923 MB / 0.6782 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005631/1.227, allocations: 1.973 MB / 0.6801 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/1.227, allocations: 259.3 kB / 0.6803 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of SimCode: time 3.426e-06/1.227, allocations: 0 / 0.6803 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.08678/1.314, allocations: 41.7 MB / 0.7211 GB, free: 10.76 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.790864096998121]