Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001813/0.001813, allocations: 88.91 kB / 20.69 MB, free: 1.02 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.002171/0.002171, allocations: 159 kB / 23.95 MB, free: 4.152 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.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.792e-05, allocations: 3.375 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01108/0.0111, allocations: 9.047 MB / 334.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007797/0.01889, allocations: 3.704 MB / 337.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.01997, allocations: 65.41 kB / 337.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.02411, allocations: 2.126 MB / 340 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.02796, allocations: 1.707 MB / 341.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.02952, allocations: 0.7327 MB / 342.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004405/0.03393, allocations: 3.762 MB / 346.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.03675, allocations: 2.465 MB / 348.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.03918, allocations: 1.914 MB / 350.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.04178, allocations: 1.882 MB / 352.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.04224, allocations: 264 kB / 352.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.04415, allocations: 1.065 MB / 353.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.04576, allocations: 1.659 MB / 355.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.0471, allocations: 1.051 MB / 356.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006561/0.05366, allocations: 5.938 MB / 362.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.05366, allocations: 0 / 362.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.05367, allocations: 4 kB / 362.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.638e-05/0.05374, allocations: 0 / 362.4 MB, free: 15.53 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007448/0.06118, allocations: 4.141 MB / 366.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.06122, allocations: 23.91 kB / 366.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.06855, allocations: 1.972 MB / 368.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.07197, allocations: 1.822 MB / 370.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.07216, allocations: 213.1 kB / 370.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005366/0.0727, allocations: 263.8 kB / 370.8 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.09241, allocations: 10.07 MB / 380.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.859e-05/0.09249, allocations: 39.7 kB / 380.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/0.09288, allocations: 131.9 kB / 381.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003517/0.0964, allocations: 1.856 MB / 382.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.1165, allocations: 8.544 MB / 391.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04954/0.1661, allocations: 34.73 MB / 426.2 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.1765, allocations: 3.231 MB / 429.4 MB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.1791, allocations: 1.688 MB / 431.1 MB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.1903, allocations: 6.305 MB / 437.4 MB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.1903, allocations: 51.56 kB / 437.5 MB, free: 2.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 4.338e-06/0.1904, allocations: 0 / 437.5 MB, free: 2.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=166): time 0.05876/0.2491, allocations: 18.09 MB / 455.6 MB, free: 412 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.2492, allocations: 145.5 kB / 455.7 MB, free: 232 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/0.254, allocations: 3.294 MB / 459 MB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.2542, allocations: 53.7 kB / 459 MB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.2564, allocations: 2.844 MB / 461.9 MB, free: 9.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007575/0.2571, allocations: 0.659 MB / 462.6 MB, free: 9.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.2587, allocations: 1.112 MB / 463.7 MB, free: 8.199 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2588, allocations: 301.1 kB / 464 MB, free: 7.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.2622, allocations: 1.975 MB / 465.9 MB, free: 5.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1608/0.423, allocations: 5.391 MB / 471.3 MB, free: 122.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/0.4313, allocations: 7.959 MB / 479.3 MB, free: 116.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.303e-05/0.4314, allocations: 34.25 kB / 479.3 MB, free: 116.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01499/0.4464, allocations: 8.19 MB / 487.5 MB, free: 114 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/0.4465, allocations: 60.3 kB / 487.6 MB, free: 114 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.656e-05/0.4466, allocations: 121.5 kB / 487.7 MB, free: 114 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.4505, allocations: 1.298 MB / 489 MB, free: 113.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.4538, allocations: 1.278 MB / 490.3 MB, free: 113.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.4614, allocations: 6.361 MB / 496.6 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/0.4652, allocations: 364.3 kB / 497 MB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/0.4656, allocations: 341.3 kB / 497.3 MB, free: 110.6 MB / 430.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.002162/0.4678, allocations: 1.809 MB / 499.1 MB, free: 109.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.4682, allocations: 278.3 kB / 499.4 MB, free: 109.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/0.4747, allocations: 3.351 MB / 0.491 GB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.4747, allocations: 24 kB / 0.491 GB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4747, allocations: 4 kB / 0.491 GB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4747, allocations: 7.969 kB / 0.491 GB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.4858, allocations: 6.677 MB / 0.4975 GB, free: 99.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4858, allocations: 4 kB / 0.4975 GB, free: 99.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.4869, allocations: 250.4 kB / 0.4978 GB, free: 99.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003649/0.4905, allocations: 1.12 MB / 0.4988 GB, free: 98.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4906, allocations: 24 kB / 0.4989 GB, free: 98.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00697/0.4976, allocations: 6.005 MB / 0.5047 GB, free: 92.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4976, allocations: 4.031 kB / 0.5047 GB, free: 92.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008336/0.506, allocations: 5.708 MB / 0.5103 GB, free: 86.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.5065, allocations: 265.6 kB / 0.5106 GB, free: 86.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/0.5068, allocations: 20 kB / 0.5106 GB, free: 86.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.5083, allocations: 135.8 kB / 0.5107 GB, free: 86.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.5085, allocations: 95.06 kB / 0.5108 GB, free: 86.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.5087, allocations: 46.8 kB / 0.5108 GB, free: 86.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.5108, allocations: 1.888 MB / 0.5127 GB, free: 84.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5108, allocations: 0 / 0.5127 GB, free: 84.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003793/0.5146, allocations: 0.9572 MB / 0.5136 GB, free: 83.4 MB / 430.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.0003957/0.515, allocations: 180.3 kB / 0.5138 GB, free: 83.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006172/0.5212, allocations: 4.634 MB / 0.5183 GB, free: 78.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5212, allocations: 0 / 0.5183 GB, free: 78.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.5231, allocations: 1.446 MB / 0.5197 GB, free: 77.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.525, allocations: 313.2 kB / 0.52 GB, free: 76.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5361, allocations: 8.047 MB / 0.5279 GB, free: 68.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.5381, allocations: 2.299 MB / 0.5301 GB, free: 66.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003001/0.5411, allocations: 1.666 MB / 0.5318 GB, free: 64.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.5417, allocations: 208.5 kB / 0.532 GB, free: 64.59 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5417, allocations: 0 / 0.532 GB, free: 64.59 MB / 430.1 MB Notification: Performance of Templates: time 0.04768/0.5894, allocations: 28.85 MB / 0.5601 GB, free: 36.15 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.346082355827093]