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.00195/0.00195, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002416/0.002416, allocations: 210.3 kB / 23.72 MB, free: 4.391 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001743/0.001743, allocations: 51.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2593, allocations: 53.35 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01257/0.2718, allocations: 9.044 MB / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008722/0.2805, allocations: 3.688 MB / 444.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.2822, allocations: 59.75 kB / 444.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.2869, allocations: 2.028 MB / 446.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.2916, allocations: 1.65 MB / 448 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.2934, allocations: 0.7017 MB / 448.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.2983, allocations: 3.389 MB / 452.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.3016, allocations: 2.202 MB / 454.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.3037, allocations: 1.273 MB / 455.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.3066, allocations: 1.791 MB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005944/0.3072, allocations: 264 kB / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.3091, allocations: 1.002 MB / 458.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.3107, allocations: 1.597 MB / 460.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.3122, allocations: 1.363 MB / 461.6 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006535/0.3188, allocations: 5.94 MB / 467.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3188, allocations: 0 / 467.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3188, allocations: 4 kB / 467.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.3189, allocations: 0 / 467.6 MB, free: 2.574 MB / 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.007516/0.3264, allocations: 4.129 MB / 471.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3265, allocations: 16.03 kB / 471.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006412/0.3329, allocations: 1.874 MB / 473.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.3374, allocations: 1.838 MB / 475.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.3376, allocations: 209.2 kB / 475.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.3381, allocations: 267.8 kB / 475.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.3564, allocations: 10.06 MB / 485.9 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.3565, allocations: 39.64 kB / 486 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.3568, allocations: 127.9 kB / 486.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003184/0.36, allocations: 1.86 MB / 488 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.3774, allocations: 8.54 MB / 496.5 MB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04305/0.4205, allocations: 34.65 MB / 0.5187 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009648/0.4301, allocations: 3.106 MB / 0.5217 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.4325, allocations: 1.689 MB / 0.5234 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.4432, allocations: 6.21 MB / 0.5295 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.4432, allocations: 51.56 kB / 0.5295 GB, free: 5.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.557e-06/0.4433, allocations: 0 / 0.5295 GB, free: 5.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.26/0.7032, allocations: 17.53 MB / 0.5466 GB, free: 99.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.7033, allocations: 149.6 kB / 0.5468 GB, free: 99.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.7065, allocations: 3.226 MB / 0.5499 GB, free: 98.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.7066, allocations: 53.42 kB / 0.55 GB, free: 98.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.7078, allocations: 2.87 MB / 0.5528 GB, free: 96.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000467/0.7083, allocations: 0.6791 MB / 0.5534 GB, free: 95.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.7093, allocations: 1.122 MB / 0.5545 GB, free: 94.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.7094, allocations: 301.1 kB / 0.5548 GB, free: 94.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.7117, allocations: 1.965 MB / 0.5567 GB, free: 92.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/0.7149, allocations: 5.388 MB / 0.562 GB, free: 85.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005858/0.7207, allocations: 7.948 MB / 0.5698 GB, free: 76.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.676e-05/0.7208, allocations: 36 kB / 0.5698 GB, free: 76.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01224/0.733, allocations: 8.163 MB / 0.5778 GB, free: 68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.7331, allocations: 59.94 kB / 0.5778 GB, free: 67.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.606e-05/0.7332, allocations: 120.6 kB / 0.5779 GB, free: 67.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003641/0.7368, allocations: 1.303 MB / 0.5792 GB, free: 66.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.7402, allocations: 1.267 MB / 0.5804 GB, free: 65.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00735/0.7476, allocations: 6.359 MB / 0.5867 GB, free: 58.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/0.7518, allocations: 307.7 kB / 0.5869 GB, free: 58.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005147/0.7524, allocations: 344 kB / 0.5873 GB, free: 58.16 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.002199/0.7546, allocations: 1.812 MB / 0.589 GB, free: 56.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/0.7551, allocations: 278.1 kB / 0.5893 GB, free: 56.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/0.7611, allocations: 3.338 MB / 0.5926 GB, free: 52.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.7611, allocations: 24 kB / 0.5926 GB, free: 52.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7611, allocations: 7.984 kB / 0.5926 GB, free: 52.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.7612, allocations: 3.984 kB / 0.5926 GB, free: 52.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.7728, allocations: 6.627 MB / 0.5991 GB, free: 46.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.7728, allocations: 1.125 kB / 0.5991 GB, free: 46.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.7739, allocations: 247.7 kB / 0.5993 GB, free: 45.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003452/0.7774, allocations: 1.119 MB / 0.6004 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.7775, allocations: 24 kB / 0.6004 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007024/0.7845, allocations: 5.999 MB / 0.6063 GB, free: 38.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7845, allocations: 4.031 kB / 0.6063 GB, free: 38.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00855/0.7931, allocations: 5.71 MB / 0.6119 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.7938, allocations: 246 kB / 0.6121 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.7941, allocations: 20 kB / 0.6121 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7953, allocations: 103.2 kB / 0.6122 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.7956, allocations: 92.77 kB / 0.6123 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7957, allocations: 48.88 kB / 0.6124 GB, free: 32.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.7978, allocations: 1.823 MB / 0.6141 GB, free: 30.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7978, allocations: 0 / 0.6141 GB, free: 30.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004323/0.8021, allocations: 0.8905 MB / 0.615 GB, free: 29.6 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.0004174/0.8025, allocations: 164.2 kB / 0.6152 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006455/0.809, allocations: 4.622 MB / 0.6197 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.809, allocations: 0 / 0.6197 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.8109, allocations: 1.449 MB / 0.6211 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.8129, allocations: 293.5 kB / 0.6214 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.8243, allocations: 8.157 MB / 0.6293 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/0.8265, allocations: 2.303 MB / 0.6316 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003179/0.8297, allocations: 1.662 MB / 0.6332 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.8303, allocations: 195.4 kB / 0.6334 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.893e-06/0.8303, allocations: 0 / 0.6334 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05928/0.8896, allocations: 31.37 MB / 0.664 GB, free: 11.74 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.495896963402629]