Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001513/0.001513, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001585/0.001585, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 55.92 kB / 378.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.265, allocations: 53.35 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01296/0.278, allocations: 10.35 MB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008264/0.2863, allocations: 3.921 MB / 445.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2877, allocations: 63.69 kB / 446 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.2925, allocations: 2.11 MB / 448.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.2973, allocations: 1.66 MB / 449.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.299, allocations: 0.6939 MB / 450.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005597/0.3046, allocations: 3.391 MB / 453.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.308, allocations: 2.213 MB / 456 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.31, allocations: 1.265 MB / 457.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.3127, allocations: 1.9 MB / 459.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005113/0.3133, allocations: 260 kB / 459.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.3154, allocations: 1.151 MB / 460.6 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.317, allocations: 1.597 MB / 462.2 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.3188, allocations: 1.844 MB / 464 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006663/0.3255, allocations: 5.917 MB / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3255, allocations: 0 / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3255, allocations: 0 / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.119e-05/0.3256, allocations: 0 / 470 MB, free: 420 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007342/0.3329, allocations: 4.145 MB / 474.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3329, allocations: 8.031 kB / 474.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006364/0.3393, allocations: 1.874 MB / 476 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.343, allocations: 1.822 MB / 477.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.3432, allocations: 205.2 kB / 478 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.3437, allocations: 271.8 kB / 478.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.3608, allocations: 10.01 MB / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.691e-05/0.3609, allocations: 39.64 kB / 488.3 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.3612, allocations: 131.9 kB / 488.4 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00303/0.3643, allocations: 1.848 MB / 490.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.3817, allocations: 8.567 MB / 498.9 MB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05035/0.4321, allocations: 36.67 MB / 0.523 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009716/0.4418, allocations: 3.102 MB / 0.526 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002572/0.4444, allocations: 1.701 MB / 0.5277 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.4561, allocations: 6.628 MB / 0.5341 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.4562, allocations: 55.5 kB / 0.5342 GB, free: 1.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.827e-06/0.4562, allocations: 0 / 0.5342 GB, free: 1.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2378/0.6939, allocations: 17.5 MB / 0.5513 GB, free: 97.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.694, allocations: 143.5 kB / 0.5514 GB, free: 97.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00335/0.6973, allocations: 3.474 MB / 0.5548 GB, free: 95.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.6975, allocations: 49.7 kB / 0.5549 GB, free: 95.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009856/0.6985, allocations: 2.851 MB / 0.5576 GB, free: 92.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.6989, allocations: 0.6691 MB / 0.5583 GB, free: 91.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.6999, allocations: 1.123 MB / 0.5594 GB, free: 90.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.6999, allocations: 305.1 kB / 0.5597 GB, free: 90.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.7021, allocations: 1.963 MB / 0.5616 GB, free: 88.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/0.7053, allocations: 5.393 MB / 0.5669 GB, free: 81.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005936/0.7112, allocations: 7.957 MB / 0.5746 GB, free: 71.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.677e-05/0.7113, allocations: 32 kB / 0.5747 GB, free: 71.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01166/0.7229, allocations: 8.195 MB / 0.5827 GB, free: 63.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.723, allocations: 56.22 kB / 0.5827 GB, free: 63.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.368e-05/0.723, allocations: 124 kB / 0.5828 GB, free: 63.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003545/0.7266, allocations: 1.306 MB / 0.5841 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/0.7298, allocations: 1.267 MB / 0.5854 GB, free: 60.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/0.737, allocations: 6.439 MB / 0.5916 GB, free: 54.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.7404, allocations: 303.7 kB / 0.5919 GB, free: 53.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/0.7408, allocations: 341.5 kB / 0.5923 GB, free: 53.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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],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 (685): * Single equations (assignments): 681 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001995/0.7428, allocations: 1.817 MB / 0.594 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.7432, allocations: 317.8 kB / 0.5943 GB, free: 51.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/0.7494, allocations: 3.373 MB / 0.5976 GB, free: 48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.7494, allocations: 16 kB / 0.5976 GB, free: 47.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7494, allocations: 8 kB / 0.5977 GB, free: 47.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.7494, allocations: 7.969 kB / 0.5977 GB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.761, allocations: 7.537 MB / 0.605 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.761, allocations: 4 kB / 0.605 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.7621, allocations: 247.6 kB / 0.6053 GB, free: 40.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003232/0.7653, allocations: 1.115 MB / 0.6064 GB, free: 39.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.7654, allocations: 35.42 kB / 0.6064 GB, free: 39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006669/0.7721, allocations: 6.082 MB / 0.6123 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7721, allocations: 0 / 0.6123 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00803/0.7801, allocations: 5.744 MB / 0.6179 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.7807, allocations: 289.8 kB / 0.6182 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.7811, allocations: 29.78 kB / 0.6182 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.7823, allocations: 95.81 kB / 0.6183 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.7825, allocations: 92.81 kB / 0.6184 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.7826, allocations: 55.81 kB / 0.6185 GB, free: 26.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002371/0.785, allocations: 2.142 MB / 0.6206 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.785, allocations: 0 / 0.6206 GB, free: 24.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003477/0.7885, allocations: 0.8944 MB / 0.6214 GB, free: 23.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/0.7888, allocations: 167.8 kB / 0.6216 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.7943, allocations: 4.614 MB / 0.6261 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7943, allocations: 0 / 0.6261 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.7961, allocations: 1.458 MB / 0.6275 GB, free: 17.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.7977, allocations: 357.3 kB / 0.6279 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.808, allocations: 8.207 MB / 0.6359 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/0.8102, allocations: 2.847 MB / 0.6387 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003055/0.8132, allocations: 1.696 MB / 0.6403 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.8137, allocations: 219.4 kB / 0.6405 GB, free: 3.848 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8137, allocations: 0 / 0.6405 GB, free: 3.848 MB / 446.1 MB Notification: Performance of Templates: time 0.06958/0.8833, allocations: 35.18 MB / 0.6749 GB, free: 0.9336 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.40653341403231]