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.0009136/0.0009136, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0009048/0.0009048, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9385/0.9385, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.377e-05, allocations: 2.312 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.009605/0.009638, allocations: 11.64 MB / 284.6 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.01662, allocations: 4.132 MB / 288.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.01752, allocations: 83.56 kB / 288.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1378/0.1553, allocations: 2.958 MB / 291.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.1605, allocations: 2.064 MB / 293.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1621, allocations: 0.8912 MB / 294.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00609/0.1682, allocations: 5.384 MB / 300.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.1721, allocations: 3.54 MB / 303.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.175, allocations: 2.609 MB / 306.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.1772, allocations: 2.657 MB / 309 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.1776, allocations: 357.7 kB / 309.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.179, allocations: 1.227 MB / 310.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009504/0.18, allocations: 2.249 MB / 312.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009589/0.1809, allocations: 1.413 MB / 314.2 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.1839, allocations: 5.031 MB / 319.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1839, allocations: 0 / 319.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1839, allocations: 0 / 319.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.774e-05/0.184, allocations: 0 / 319.2 MB, free: 1.59 MB / 266.7 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.005538/0.1895, allocations: 5.756 MB / 325 MB, free: 11.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1895, allocations: 8.031 kB / 325 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.1943, allocations: 2.795 MB / 327.8 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.1969, allocations: 2.244 MB / 330 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.1971, allocations: 271.6 kB / 330.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/0.1976, allocations: 425.1 kB / 330.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009602/0.2072, allocations: 8.09 MB / 338.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.504e-05/0.2073, allocations: 43.39 kB / 338.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.2076, allocations: 176.4 kB / 339 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.2095, allocations: 2.167 MB / 341.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008749/0.2182, allocations: 4.841 MB / 346 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/0.2476, allocations: 49.49 MB / 395.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0055/0.2531, allocations: 2.88 MB / 398.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.254, allocations: 0.6693 MB / 399.1 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005907/0.2599, allocations: 4.952 MB / 404 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.2599, allocations: 58.64 kB / 404.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 3.527e-06/0.2599, allocations: 0 / 404.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.02057/0.2805, allocations: 12.31 MB / 416.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009373/0.2814, allocations: 2.052 MB / 418.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.2848, allocations: 3.683 MB / 422.1 MB, free: 8.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.2849, allocations: 57.7 kB / 422.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.2867, allocations: 3.707 MB / 425.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005101/0.2873, allocations: 0.8612 MB / 426.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.2885, allocations: 1.455 MB / 428.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2886, allocations: 480.7 kB / 428.7 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.2897, allocations: 0.7824 MB / 429.4 MB, free: 1.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1396/0.4294, allocations: 6.889 MB / 436.3 MB, free: 105.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006546/0.4359, allocations: 8.485 MB / 444.8 MB, free: 97.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.423e-05/0.436, allocations: 42.34 kB / 444.9 MB, free: 97.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01348/0.4495, allocations: 7.308 MB / 452.2 MB, free: 96.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.4496, allocations: 70.66 kB / 452.2 MB, free: 96.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004874/0.4544, allocations: 2.449 MB / 454.7 MB, free: 96.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004722/0.4592, allocations: 1.849 MB / 456.5 MB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.4617, allocations: 1.598 MB / 458.1 MB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.4652, allocations: 4.722 MB / 462.9 MB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/0.4682, allocations: 0.5166 MB / 463.4 MB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.4685, allocations: 413.5 kB / 463.8 MB, free: 92.57 MB / 378.7 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.001276/0.4698, allocations: 0.7231 MB / 464.5 MB, free: 92.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.4702, allocations: 415.6 kB / 464.9 MB, free: 92.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.4729, allocations: 1.878 MB / 466.8 MB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002083/0.475, allocations: 1.394 MB / 468.2 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.475, allocations: 4 kB / 468.2 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.475, allocations: 7.734 kB / 468.2 MB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008557/0.4835, allocations: 7.79 MB / 476 MB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.4836, allocations: 12.88 kB / 476 MB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/0.4843, allocations: 372.2 kB / 476.4 MB, free: 84.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.4856, allocations: 0.5641 MB / 476.9 MB, free: 83.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4857, allocations: 67.97 kB / 477 MB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.4876, allocations: 4.172 MB / 481.2 MB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004627/0.488, allocations: 1.924 MB / 483.1 MB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.4915, allocations: 3.557 MB / 486.6 MB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.4919, allocations: 378.7 kB / 487 MB, free: 73.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.4922, allocations: 54.64 kB / 487.1 MB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.4931, allocations: 199.7 kB / 487.3 MB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.4933, allocations: 180.3 kB / 487.4 MB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.4934, allocations: 71.98 kB / 487.5 MB, free: 72.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001481/0.4949, allocations: 1.567 MB / 489.1 MB, free: 71.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4949, allocations: 0 / 489.1 MB, free: 71.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004087/0.4989, allocations: 1.262 MB / 490.3 MB, free: 70.09 MB / 378.7 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.0003968/0.4993, allocations: 224.4 kB / 490.5 MB, free: 69.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00492/0.5043, allocations: 3.964 MB / 494.5 MB, free: 65.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.5043, allocations: 4 kB / 494.5 MB, free: 65.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5059, allocations: 1.477 MB / 496 MB, free: 64.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5074, allocations: 478.8 kB / 496.5 MB, free: 63.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.5173, allocations: 9.041 MB / 0.4937 GB, free: 54.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/0.5182, allocations: 1.331 MB / 0.495 GB, free: 53.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002302/0.5205, allocations: 1.727 MB / 0.4966 GB, free: 51.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.521, allocations: 268.4 kB / 0.4969 GB, free: 51.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.364e-06/0.521, allocations: 0 / 0.4969 GB, free: 51.23 MB / 378.7 MB Notification: Performance of Templates: time 0.04539/0.5664, allocations: 36.39 MB / 0.5324 GB, free: 15.44 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.233488359954208]