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.001922/0.001922, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002495/0.002495, allocations: 212 kB / 24.54 MB, free: 4.016 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.27 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.001946/0.001946, allocations: 63.89 kB / 378.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2618, allocations: 53.36 MB / 432.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01496/0.2768, allocations: 12.06 MB / 444.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009777/0.2865, allocations: 4.25 MB / 448.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.2886, allocations: 83.56 kB / 448.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005766/0.2944, allocations: 2.795 MB / 451.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.3004, allocations: 2.004 MB / 453.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.3025, allocations: 0.7994 MB / 454.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007564/0.3101, allocations: 4.687 MB / 458.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003802/0.3139, allocations: 2.699 MB / 461.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.3168, allocations: 1.702 MB / 463.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.3207, allocations: 2.527 MB / 465.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009004/0.3216, allocations: 356 kB / 466.1 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.3244, allocations: 1.299 MB / 467.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.3266, allocations: 2.142 MB / 469.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002983/0.3296, allocations: 2.408 MB / 471.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3398, allocations: 7.493 MB / 479.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3398, allocations: 0 / 479.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3398, allocations: 0 / 479.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00019/0.34, allocations: 0 / 479.4 MB, free: 7.609 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.01118/0.3512, allocations: 5.303 MB / 484.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3512, allocations: 8.031 kB / 484.7 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008681/0.3599, allocations: 2.205 MB / 486.9 MB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005648/0.3655, allocations: 2.425 MB / 489.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.3658, allocations: 266.9 kB / 489.6 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.3669, allocations: 435.6 kB / 490.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.3921, allocations: 12.26 MB / 0.4905 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.3922, allocations: 47.41 kB / 0.4906 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/0.3927, allocations: 175.8 kB / 0.4908 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003623/0.3964, allocations: 2.166 MB / 0.4929 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/0.4215, allocations: 10.25 MB / 0.5029 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2976/0.7191, allocations: 44.04 MB / 0.5459 GB, free: 70.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.73, allocations: 3.841 MB / 0.5496 GB, free: 70.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.732, allocations: 1.629 MB / 0.5512 GB, free: 70.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.7432, allocations: 6.901 MB / 0.558 GB, free: 67.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.7432, allocations: 56.84 kB / 0.558 GB, free: 67.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.127e-06/0.7432, allocations: 0 / 0.558 GB, free: 67.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03642/0.7797, allocations: 16 MB / 0.5736 GB, free: 56.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009099/0.7806, allocations: 1.589 MB / 0.5752 GB, free: 55.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/0.7851, allocations: 4.204 MB / 0.5793 GB, free: 50.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003614/0.7855, allocations: 49.7 kB / 0.5793 GB, free: 50.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.7868, allocations: 3.539 MB / 0.5828 GB, free: 47.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006647/0.7875, allocations: 0.8511 MB / 0.5836 GB, free: 46.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.7888, allocations: 1.37 MB / 0.585 GB, free: 45.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.7888, allocations: 301.1 kB / 0.5853 GB, free: 45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.7916, allocations: 2.284 MB / 0.5875 GB, free: 42.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.7955, allocations: 6.416 MB / 0.5938 GB, free: 34.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007422/0.8029, allocations: 9.358 MB / 0.6029 GB, free: 23.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.079e-05/0.803, allocations: 40 kB / 0.6029 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02/0.823, allocations: 10.18 MB / 0.6129 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.162e-05/0.823, allocations: 65 kB / 0.6129 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01029/0.8333, allocations: 3.889 MB / 0.6167 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00968/0.843, allocations: 2.25 MB / 0.6189 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.8479, allocations: 1.591 MB / 0.6205 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.856, allocations: 6.428 MB / 0.6268 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/0.8616, allocations: 443 kB / 0.6272 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008625/0.8625, allocations: 416 kB / 0.6276 GB, free: 13.55 MB / 462.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.004252/0.8667, allocations: 2.212 MB / 0.6297 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/0.8676, allocations: 397.3 kB / 0.6301 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/0.8747, allocations: 3.309 MB / 0.6334 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00573/0.8805, allocations: 2.765 MB / 0.6361 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.8805, allocations: 4 kB / 0.6361 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.8805, allocations: 15.91 kB / 0.6361 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/0.8999, allocations: 10.18 MB / 0.646 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.9, allocations: 12 kB / 0.646 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.9015, allocations: 376.8 kB / 0.6464 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.9046, allocations: 0.9825 MB / 0.6473 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.9048, allocations: 67.91 kB / 0.6474 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.9104, allocations: 4.706 MB / 0.652 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001221/0.9116, allocations: 1.461 MB / 0.6534 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.9222, allocations: 5.976 MB / 0.6593 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.9234, allocations: 389.1 kB / 0.6596 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008019/0.9242, allocations: 55.98 kB / 0.6597 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/0.9264, allocations: 151.8 kB / 0.6598 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.9267, allocations: 180.4 kB / 0.66 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.9269, allocations: 75.97 kB / 0.6601 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005464/0.9324, allocations: 2.585 MB / 0.6626 GB, free: 8.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9324, allocations: 0 / 0.6626 GB, free: 8.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006014/0.9384, allocations: 1.14 MB / 0.6637 GB, free: 7.66 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.0005911/0.939, allocations: 215.2 kB / 0.6639 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01184/0.9508, allocations: 5.657 MB / 0.6695 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.9508, allocations: 4 kB / 0.6695 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005207/0.9561, allocations: 1.98 MB / 0.6714 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005918/0.962, allocations: 0.499 MB / 0.6719 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.9853, allocations: 10.88 MB / 0.6825 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006819/0.9921, allocations: 3.459 MB / 0.6859 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005798/0.9979, allocations: 2.011 MB / 0.6878 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.9991, allocations: 283.3 kB / 0.6881 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.9991, allocations: 0 / 0.6881 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.09405/1.093, allocations: 43.3 MB / 0.7304 GB, free: 3.312 MB / 0.545 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: 7.083795507438481]