Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.0007689/0.0007689, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.002941/0.002941, allocations: 158.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8465/0.8465, allocations: 177 MB / 204.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.573e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007462/0.007488, allocations: 9.373 MB / 335.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.01283, allocations: 3.775 MB / 338.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007784/0.01361, allocations: 71.62 kB / 339 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.01632, allocations: 2.643 MB / 341.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.01883, allocations: 1.835 MB / 343.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.01973, allocations: 0.7327 MB / 344.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.02287, allocations: 4.095 MB / 348.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.02497, allocations: 2.975 MB / 351.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.0267, allocations: 2.233 MB / 353.5 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.02849, allocations: 2.061 MB / 355.6 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.02877, allocations: 316 kB / 355.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.03007, allocations: 1.104 MB / 357 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000902/0.03097, allocations: 1.932 MB / 358.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.03169, allocations: 1.223 MB / 360.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.03562, allocations: 6.674 MB / 366.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.03562, allocations: 0 / 366.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03563, allocations: 0 / 366.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.392e-05/0.03566, allocations: 0 / 366.8 MB, free: 6.133 MB / 330.7 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.004394/0.04005, allocations: 4.596 MB / 371.4 MB, free: 1.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.04009, allocations: 19.97 kB / 371.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.04343, allocations: 1.991 MB / 373.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.04538, allocations: 1.949 MB / 375.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.04549, allocations: 250.4 kB / 375.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004824/0.04598, allocations: 395.7 kB / 376 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008935/0.05491, allocations: 10.2 MB / 386.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.05497, allocations: 43.62 kB / 386.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.05522, allocations: 159.8 kB / 386.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/0.05662, allocations: 1.857 MB / 388.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008874/0.06549, allocations: 8.386 MB / 396.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02442/0.08991, allocations: 37.03 MB / 433.7 MB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005621/0.09553, allocations: 3.616 MB / 437.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.09678, allocations: 1.338 MB / 438.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005969/0.1027, allocations: 5.623 MB / 444.3 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1028, allocations: 55.48 kB / 444.3 MB, free: 6.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 2.915e-06/0.1028, allocations: 0 / 444.3 MB, free: 6.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.1567/0.2595, allocations: 12.61 MB / 456.9 MB, free: 112.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006519/0.2601, allocations: 1.548 MB / 458.5 MB, free: 111 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.2629, allocations: 3.734 MB / 462.2 MB, free: 109.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.2629, allocations: 50.19 kB / 462.3 MB, free: 109.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.2638, allocations: 3.222 MB / 465.5 MB, free: 107.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.2641, allocations: 0.6676 MB / 466.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/0.2649, allocations: 1.252 MB / 467.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.078e-05/0.2649, allocations: 305.1 kB / 467.7 MB, free: 105.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.2666, allocations: 2.073 MB / 469.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.269, allocations: 6.012 MB / 475.8 MB, free: 98.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004796/0.2738, allocations: 8.672 MB / 484.4 MB, free: 87.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/0.2739, allocations: 40 kB / 484.5 MB, free: 87.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01052/0.2844, allocations: 9.86 MB / 494.3 MB, free: 78.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.2844, allocations: 71.31 kB / 494.4 MB, free: 77.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005309/0.2898, allocations: 3.892 MB / 498.3 MB, free: 74.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005262/0.295, allocations: 2.72 MB / 0.4893 GB, free: 71.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.297, allocations: 1.376 MB / 0.4906 GB, free: 69.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008108/0.3051, allocations: 11.06 MB / 0.5014 GB, free: 58.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.3078, allocations: 451.4 kB / 0.5019 GB, free: 58.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.3081, allocations: 392 kB / 0.5022 GB, free: 57.75 MB / 410.7 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.001858/0.31, allocations: 2.012 MB / 0.5042 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.3102, allocations: 314.8 kB / 0.5045 GB, free: 55.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3105, allocations: 405.5 kB / 0.5049 GB, free: 55.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002847/0.3133, allocations: 2.711 MB / 0.5075 GB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3134, allocations: 5.781 kB / 0.5075 GB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3134, allocations: 3.984 kB / 0.5075 GB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007398/0.3208, allocations: 7.525 MB / 0.5149 GB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3208, allocations: 4 kB / 0.5149 GB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.3212, allocations: 187.7 kB / 0.5151 GB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.3233, allocations: 1.455 MB / 0.5165 GB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.3234, allocations: 35.98 kB / 0.5165 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.3293, allocations: 9.356 MB / 0.5257 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003693/0.3296, allocations: 1.418 MB / 0.5271 GB, free: 31.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/0.3342, allocations: 5.328 MB / 0.5323 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.3347, allocations: 294.8 kB / 0.5325 GB, free: 26.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.3348, allocations: 31.94 kB / 0.5326 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.3355, allocations: 155.8 kB / 0.5327 GB, free: 25.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3357, allocations: 112.8 kB / 0.5328 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.3358, allocations: 47.81 kB / 0.5329 GB, free: 25.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001679/0.3375, allocations: 2.12 MB / 0.5349 GB, free: 23.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3375, allocations: 0 / 0.5349 GB, free: 23.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003216/0.3407, allocations: 1.144 MB / 0.5361 GB, free: 22.56 MB / 410.7 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.0003101/0.341, allocations: 190.9 kB / 0.5362 GB, free: 22.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004736/0.3457, allocations: 5.436 MB / 0.5416 GB, free: 16.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3457, allocations: 0 / 0.5416 GB, free: 16.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.3476, allocations: 2.075 MB / 0.5436 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3486, allocations: 355.9 kB / 0.5439 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/0.3566, allocations: 9.383 MB / 0.5531 GB, free: 5.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.3584, allocations: 2.584 MB / 0.5556 GB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.3587, allocations: 260.5 kB / 0.5559 GB, free: 2.141 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3587, allocations: 0 / 0.5559 GB, free: 2.141 MB / 410.7 MB Notification: Performance of Templates: time 0.2238/0.5825, allocations: 145.9 MB / 0.6983 GB, free: 89 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.148861637338996]