Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001822/0.001822, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.002169/0.002169, allocations: 164.7 kB / 23.95 MB, free: 4.156 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.509/1.509, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.354e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01172/0.01174, allocations: 9.39 MB / 334.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008844/0.02059, allocations: 3.769 MB / 338.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.02274, allocations: 73.59 kB / 338.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005825/0.02856, allocations: 2.639 MB / 340.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.03372, allocations: 1.831 MB / 342.8 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.03541, allocations: 0.7367 MB / 343.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005628/0.04104, allocations: 4.101 MB / 347.6 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.0449, allocations: 2.982 MB / 350.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/0.04838, allocations: 2.229 MB / 352.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.05138, allocations: 2.061 MB / 354.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006599/0.05204, allocations: 324 kB / 355.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.0544, allocations: 1.096 MB / 356.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.05637, allocations: 1.924 MB / 358.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.05809, allocations: 1.227 MB / 359.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008291/0.06638, allocations: 6.678 MB / 366.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.06639, allocations: 0 / 366.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.06639, allocations: 0 / 366.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.06654, allocations: 0 / 366.1 MB, free: 11.94 MB / 334.1 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.009384/0.07593, allocations: 4.592 MB / 370.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.07597, allocations: 12.03 kB / 370.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007886/0.08385, allocations: 2.065 MB / 372.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.08777, allocations: 1.941 MB / 374.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.08798, allocations: 246.4 kB / 375 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009054/0.08889, allocations: 395.7 kB / 375.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.1079, allocations: 10.19 MB / 385.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.108, allocations: 43.62 kB / 385.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004365/0.1084, allocations: 163.7 kB / 385.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/0.1114, allocations: 1.86 MB / 387.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/0.1294, allocations: 8.355 MB / 396 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04929/0.1787, allocations: 37.01 MB / 433 MB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.1901, allocations: 3.6 MB / 436.6 MB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.1924, allocations: 1.334 MB / 437.9 MB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/0.2045, allocations: 5.635 MB / 443.5 MB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.2045, allocations: 51.5 kB / 443.6 MB, free: 12.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=152): time 6.011e-06/0.2045, allocations: 0 / 443.6 MB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.03624/0.2408, allocations: 12.62 MB / 456.2 MB, free: 15.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001531/0.2423, allocations: 1.549 MB / 457.8 MB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/0.2478, allocations: 3.729 MB / 461.5 MB, free: 10.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003851/0.2482, allocations: 53.69 kB / 461.6 MB, free: 10.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.2507, allocations: 3.221 MB / 464.8 MB, free: 6.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008741/0.2516, allocations: 0.6747 MB / 465.4 MB, free: 6.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.2532, allocations: 1.247 MB / 466.7 MB, free: 5.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2533, allocations: 305.1 kB / 467 MB, free: 4.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.2568, allocations: 2.077 MB / 469.1 MB, free: 2.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1842/0.441, allocations: 6.016 MB / 475.1 MB, free: 120.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/0.4536, allocations: 8.685 MB / 483.8 MB, free: 113.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003415/0.454, allocations: 39.69 kB / 483.8 MB, free: 113.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0275/0.4815, allocations: 9.878 MB / 493.7 MB, free: 110.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.4818, allocations: 63.75 kB / 493.7 MB, free: 110.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0118/0.4936, allocations: 3.89 MB / 497.6 MB, free: 109.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/0.5054, allocations: 2.727 MB / 0.4886 GB, free: 108.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/0.5094, allocations: 1.379 MB / 0.49 GB, free: 108.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.523, allocations: 11.06 MB / 0.5008 GB, free: 97.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/0.528, allocations: 474.8 kB / 0.5012 GB, free: 96.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006388/0.5286, allocations: 388 kB / 0.5016 GB, free: 96.42 MB / 430.1 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.002521/0.5311, allocations: 2.021 MB / 0.5036 GB, free: 94.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.5315, allocations: 309.9 kB / 0.5039 GB, free: 94.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.5321, allocations: 405.5 kB / 0.5043 GB, free: 93.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005266/0.5374, allocations: 2.715 MB / 0.5069 GB, free: 91.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5374, allocations: 0 / 0.5069 GB, free: 91.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.5374, allocations: 11.97 kB / 0.5069 GB, free: 91.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.5495, allocations: 7.515 MB / 0.5143 GB, free: 83.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.5495, allocations: 0 / 0.5143 GB, free: 83.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.5503, allocations: 187.7 kB / 0.5144 GB, free: 83.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004384/0.5547, allocations: 1.456 MB / 0.5159 GB, free: 81.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.5548, allocations: 46.8 kB / 0.5159 GB, free: 81.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.5652, allocations: 9.36 MB / 0.5251 GB, free: 72.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006708/0.5659, allocations: 1.426 MB / 0.5264 GB, free: 70.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009436/0.5754, allocations: 5.316 MB / 0.5316 GB, free: 65.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.5765, allocations: 300.1 kB / 0.5319 GB, free: 65.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/0.5773, allocations: 43.92 kB / 0.532 GB, free: 65.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/0.58, allocations: 159.7 kB / 0.5321 GB, free: 65.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005215/0.5806, allocations: 116.5 kB / 0.5322 GB, free: 65.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.5807, allocations: 42.72 kB / 0.5323 GB, free: 65.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004205/0.5849, allocations: 2.117 MB / 0.5343 GB, free: 62.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5849, allocations: 0 / 0.5343 GB, free: 62.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008648/0.5936, allocations: 1.149 MB / 0.5355 GB, free: 61.82 MB / 430.1 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.0006092/0.5942, allocations: 184.7 kB / 0.5356 GB, free: 61.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009143/0.6033, allocations: 5.438 MB / 0.5409 GB, free: 56.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6033, allocations: 0 / 0.5409 GB, free: 56.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005426/0.6088, allocations: 2.084 MB / 0.543 GB, free: 54.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/0.6122, allocations: 344.6 kB / 0.5433 GB, free: 53.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.6313, allocations: 8.961 MB / 0.5521 GB, free: 44.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/0.636, allocations: 2.577 MB / 0.5546 GB, free: 42.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005481/0.6415, allocations: 1.786 MB / 0.5563 GB, free: 40.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008749/0.6423, allocations: 212.4 kB / 0.5565 GB, free: 40.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.6423, allocations: 0 / 0.5565 GB, free: 40.15 MB / 430.1 MB Notification: Performance of Templates: time 0.06672/0.709, allocations: 36.38 MB / 0.5921 GB, free: 4.289 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.620248783379793]