Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001814/0.001814, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002262/0.002262, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.655/1.655, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3432, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009123/0.3523, allocations: 6.325 MB / 438.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007299/0.3596, allocations: 3.002 MB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.3611, allocations: 35.88 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.3632, allocations: 0.7743 MB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.3669, allocations: 1.323 MB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.3682, allocations: 0.4912 MB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.3721, allocations: 2.562 MB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.3737, allocations: 1.086 MB / 447.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.375, allocations: 0.7706 MB / 448.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.3767, allocations: 1.203 MB / 449.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.3771, allocations: 132 kB / 450 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.3788, allocations: 0.7799 MB / 450.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.38, allocations: 1.001 MB / 451.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.3812, allocations: 0.8496 MB / 452.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.3869, allocations: 3.939 MB / 456.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3869, allocations: 0 / 456.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3869, allocations: 0 / 456.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.3871, allocations: 0 / 456.6 MB, free: 14.35 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007177/0.3942, allocations: 2.869 MB / 459.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3943, allocations: 8.031 kB / 459.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006272/0.4006, allocations: 1.653 MB / 461.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.4041, allocations: 1.263 MB / 462.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.4043, allocations: 118.9 kB / 462.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.4047, allocations: 155.8 kB / 462.7 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4152, allocations: 6.367 MB / 469 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.4153, allocations: 27.75 kB / 469.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/0.4156, allocations: 79.89 kB / 469.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00255/0.4181, allocations: 1.433 MB / 470.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.4291, allocations: 5.658 MB / 476.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/0.4641, allocations: 24.77 MB / 0.4893 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.4685, allocations: 1.735 MB / 0.4909 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.4699, allocations: 0.9326 MB / 0.4919 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.47, allocations: 12 kB / 0.4919 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.47, allocations: 42.5 kB / 0.4919 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.336e-06/0.47, allocations: 4 kB / 0.4919 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02317/0.4932, allocations: 8.493 MB / 0.5002 GB, free: 5.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.4933, allocations: 148.4 kB / 0.5003 GB, free: 5.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004379/0.4977, allocations: 2.638 MB / 0.5029 GB, free: 2.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4979, allocations: 41.69 kB / 0.503 GB, free: 2.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.4999, allocations: 2.186 MB / 0.5051 GB, free: 80 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006367/0.5005, allocations: 452.8 kB / 0.5055 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.5018, allocations: 0.8894 MB / 0.5064 GB, free: 14.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002714/0.5021, allocations: 353.9 kB / 0.5067 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.5046, allocations: 1.414 MB / 0.5081 GB, free: 12.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/0.5104, allocations: 4.25 MB / 0.5123 GB, free: 7.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009292/0.5197, allocations: 6.132 MB / 0.5183 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/0.5199, allocations: 28 kB / 0.5183 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01342/0.5333, allocations: 6.08 MB / 0.5242 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.5334, allocations: 52.03 kB / 0.5243 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.5336, allocations: 108 kB / 0.5244 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.5364, allocations: 0.7927 MB / 0.5251 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.5403, allocations: 0.9942 MB / 0.5261 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007748/0.548, allocations: 4.316 MB / 0.5303 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/0.5525, allocations: 247.6 kB / 0.5306 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008746/0.5534, allocations: 280 kB / 0.5308 GB, free: 2.738 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (537): * Single equations (assignments): 533 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003258/0.5566, allocations: 1.377 MB / 0.5322 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007571/0.5574, allocations: 210.6 kB / 0.5324 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.5621, allocations: 1.819 MB / 0.5342 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.5621, allocations: 12 kB / 0.5342 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.5622, allocations: 4 kB / 0.5342 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/0.5622, allocations: 7.922 kB / 0.5342 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.5733, allocations: 4.124 MB / 0.5382 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5733, allocations: 0 / 0.5382 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.574, allocations: 131.8 kB / 0.5383 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.5763, allocations: 0.6483 MB / 0.539 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.5764, allocations: 16 kB / 0.539 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/0.5827, allocations: 3.803 MB / 0.5427 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.5827, allocations: 11.97 kB / 0.5427 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007365/0.5901, allocations: 3.662 MB / 0.5463 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000974/0.5911, allocations: 194.4 kB / 0.5465 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.5913, allocations: 12 kB / 0.5465 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.5924, allocations: 63.91 kB / 0.5465 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.5926, allocations: 63.77 kB / 0.5466 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5927, allocations: 35.92 kB / 0.5466 GB, free: 2.324 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003283/0.596, allocations: 1.503 MB / 0.5481 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.596, allocations: 4.062 kB / 0.5481 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005149/0.6011, allocations: 0.6288 MB / 0.5487 GB, free: 176 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (75): * Single equations (assignments): 71 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000606/0.6017, allocations: 135 kB / 0.5488 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.3557/0.9574, allocations: 3.295 MB / 0.5521 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.9574, allocations: 0 / 0.5521 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.9588, allocations: 0.871 MB / 0.5529 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.9605, allocations: 220.3 kB / 0.5531 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009605/0.9702, allocations: 5.515 MB / 0.5585 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.9718, allocations: 1.613 MB / 0.5601 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00258/0.9744, allocations: 1.363 MB / 0.5614 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.9747, allocations: 151.3 kB / 0.5616 GB, free: 113.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.763e-06/0.9748, allocations: 4 kB / 0.5616 GB, free: 113.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03667/1.011, allocations: 22.65 MB / 0.5837 GB, free: 92.59 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.69015610300994]