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.001798/0.001798, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002264/0.002264, allocations: 213.4 kB / 22.99 MB, free: 5.609 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.445/1.445, allocations: 230.2 MB / 256.2 MB, free: 8.574 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.002601/0.002601, allocations: 64.09 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3024, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01453/0.3169, allocations: 12.05 MB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009614/0.3266, allocations: 4.254 MB / 446.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.3281, allocations: 67.81 kB / 446.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005148/0.3332, allocations: 2.799 MB / 449 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.3385, allocations: 1.984 MB / 451 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.3403, allocations: 0.8033 MB / 451.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006538/0.3468, allocations: 4.683 MB / 456.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.3503, allocations: 2.698 MB / 459.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.3533, allocations: 1.682 MB / 460.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.3575, allocations: 2.519 MB / 463.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009835/0.3585, allocations: 352 kB / 463.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.3614, allocations: 1.299 MB / 465 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.3638, allocations: 2.146 MB / 467.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003333/0.3671, allocations: 2.412 MB / 469.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009754/0.3769, allocations: 7.493 MB / 477 MB, free: 8.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3769, allocations: 0 / 477 MB, free: 8.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3769, allocations: 0 / 477 MB, free: 8.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002709/0.3772, allocations: 0 / 477 MB, free: 8.086 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.01167/0.3888, allocations: 5.371 MB / 482.4 MB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3889, allocations: 12.03 kB / 482.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008362/0.3973, allocations: 2.197 MB / 484.6 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00529/0.4026, allocations: 2.486 MB / 487.1 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.4028, allocations: 274.8 kB / 487.4 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.404, allocations: 443.6 kB / 487.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.4298, allocations: 12.26 MB / 0.4883 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.4299, allocations: 47.58 kB / 0.4884 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005515/0.4305, allocations: 179.8 kB / 0.4886 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003326/0.4338, allocations: 2.166 MB / 0.4907 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/0.4579, allocations: 10.25 MB / 0.5007 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2937/0.7516, allocations: 44.19 MB / 0.5438 GB, free: 70.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009953/0.7616, allocations: 4.514 MB / 0.5482 GB, free: 69.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.7633, allocations: 1.624 MB / 0.5498 GB, free: 69.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009531/0.7729, allocations: 8.32 MB / 0.558 GB, free: 65.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.7729, allocations: 57.34 kB / 0.558 GB, free: 64.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.699e-06/0.7729, allocations: 3.812 kB / 0.558 GB, free: 64.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.0348/0.8077, allocations: 16.32 MB / 0.574 GB, free: 54.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008872/0.8086, allocations: 1.684 MB / 0.5756 GB, free: 52.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.8129, allocations: 4.199 MB / 0.5797 GB, free: 48.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.8131, allocations: 61.53 kB / 0.5798 GB, free: 48.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.8143, allocations: 3.525 MB / 0.5832 GB, free: 44.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000534/0.8148, allocations: 0.8441 MB / 0.584 GB, free: 43.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.8161, allocations: 1.373 MB / 0.5854 GB, free: 42.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.8162, allocations: 307.5 kB / 0.5857 GB, free: 42.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.8188, allocations: 2.278 MB / 0.5879 GB, free: 39.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.8225, allocations: 6.417 MB / 0.5941 GB, free: 31.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/0.8297, allocations: 9.351 MB / 0.6033 GB, free: 20.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.679e-05/0.8298, allocations: 40 kB / 0.6033 GB, free: 20.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01822/0.848, allocations: 10.18 MB / 0.6133 GB, free: 10.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.848, allocations: 68 kB / 0.6133 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009581/0.8576, allocations: 3.897 MB / 0.6171 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008846/0.8665, allocations: 2.254 MB / 0.6193 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/0.871, allocations: 1.595 MB / 0.6209 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008841/0.8798, allocations: 6.627 MB / 0.6274 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/0.885, allocations: 439.4 kB / 0.6278 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008049/0.8858, allocations: 416 kB / 0.6282 GB, free: 10.52 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.003375/0.8891, allocations: 2.219 MB / 0.6303 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006369/0.8898, allocations: 393.4 kB / 0.6307 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/0.8965, allocations: 3.308 MB / 0.634 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005512/0.902, allocations: 2.765 MB / 0.6367 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.902, allocations: 4 kB / 0.6367 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.9021, allocations: 7.969 kB / 0.6367 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/0.9206, allocations: 10.36 MB / 0.6468 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.9206, allocations: 12 kB / 0.6468 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/0.9222, allocations: 379.4 kB / 0.6472 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/0.9253, allocations: 0.9868 MB / 0.6481 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.9255, allocations: 59.73 kB / 0.6482 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005691/0.9312, allocations: 4.91 MB / 0.653 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001232/0.9324, allocations: 1.573 MB / 0.6545 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.9426, allocations: 5.971 MB / 0.6603 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.9438, allocations: 458.3 kB / 0.6608 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005459/0.9444, allocations: 59.98 kB / 0.6608 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.9461, allocations: 155.1 kB / 0.661 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/0.9465, allocations: 172.4 kB / 0.6611 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.9467, allocations: 75.97 kB / 0.6612 GB, free: 7.715 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004556/0.9512, allocations: 2.589 MB / 0.6637 GB, free: 5.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9512, allocations: 0 / 0.6637 GB, free: 5.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006253/0.9575, allocations: 1.137 MB / 0.6649 GB, free: 3.98 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.0006268/0.9581, allocations: 229.9 kB / 0.6651 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.9694, allocations: 5.815 MB / 0.6708 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.9694, allocations: 0.9375 kB / 0.6708 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004299/0.9737, allocations: 2.13 MB / 0.6728 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.9771, allocations: 0.4948 MB / 0.6733 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/0.9968, allocations: 10.87 MB / 0.6839 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004214/1.001, allocations: 3.451 MB / 0.6873 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004694/1.006, allocations: 2.022 MB / 0.6893 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/1.006, allocations: 267.4 kB / 0.6895 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/1.006, allocations: 0 / 0.6895 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.07876/1.085, allocations: 40.48 MB / 0.7291 GB, free: 2.09 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: 6.8624766655266285]