Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 43.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2558, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009598/0.2654, allocations: 6.351 MB / 429.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.2718, allocations: 2.971 MB / 432.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.2732, allocations: 39.81 kB / 432.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.2759, allocations: 0.7782 MB / 433.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.2803, allocations: 1.362 MB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2816, allocations: 495 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004019/0.2856, allocations: 2.527 MB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.2877, allocations: 1.09 MB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.2892, allocations: 0.7745 MB / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.2917, allocations: 1.183 MB / 440.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005893/0.2922, allocations: 132 kB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.2942, allocations: 0.7838 MB / 441.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.2954, allocations: 1.02 MB / 442.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2965, allocations: 0.8574 MB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.3016, allocations: 3.986 MB / 447.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3016, allocations: 0 / 447.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3016, allocations: 0 / 447.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.71e-05/0.3017, allocations: 0 / 447.4 MB, free: 6.055 MB / 350.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.005448/0.3071, allocations: 2.892 MB / 450.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3072, allocations: 8.031 kB / 450.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006038/0.3132, allocations: 1.653 MB / 452 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.3163, allocations: 1.286 MB / 453.2 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3164, allocations: 114.9 kB / 453.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.3167, allocations: 152 kB / 453.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.3272, allocations: 6.37 MB / 459.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.035e-05/0.3273, allocations: 35.7 kB / 459.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.3275, allocations: 75.89 kB / 460 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002697/0.3302, allocations: 1.437 MB / 461.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.3409, allocations: 5.65 MB / 467.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03106/0.372, allocations: 24.77 MB / 491.8 MB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.3763, allocations: 1.74 MB / 493.6 MB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.3778, allocations: 0.9398 MB / 494.5 MB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.3778, allocations: 12 kB / 494.5 MB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3779, allocations: 50.44 kB / 494.6 MB, free: 5.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.256e-06/0.3779, allocations: 0 / 494.6 MB, free: 5.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02181/0.3997, allocations: 8.502 MB / 0.4913 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.3998, allocations: 140.5 kB / 0.4914 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/0.4035, allocations: 2.638 MB / 0.494 GB, free: 9.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.4036, allocations: 37.7 kB / 0.494 GB, free: 9.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.4054, allocations: 2.19 MB / 0.4962 GB, free: 7.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.4059, allocations: 460.6 kB / 0.4966 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.4071, allocations: 0.8894 MB / 0.4975 GB, free: 6.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4073, allocations: 357.9 kB / 0.4978 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.4095, allocations: 1.414 MB / 0.4992 GB, free: 4.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.4144, allocations: 4.246 MB / 0.5034 GB, free: 14.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007585/0.4219, allocations: 6.132 MB / 0.5093 GB, free: 7.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.428e-05/0.422, allocations: 28 kB / 0.5094 GB, free: 7.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01233/0.4343, allocations: 6.08 MB / 0.5153 GB, free: 1.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.4344, allocations: 51.98 kB / 0.5154 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.4345, allocations: 100.3 kB / 0.5154 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.4369, allocations: 0.8003 MB / 0.5162 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.4398, allocations: 0.9904 MB / 0.5172 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/0.4461, allocations: 4.311 MB / 0.5214 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.4492, allocations: 251.6 kB / 0.5216 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004175/0.4496, allocations: 272 kB / 0.5219 GB, free: 10.38 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.00222/0.4519, allocations: 1.375 MB / 0.5233 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.4523, allocations: 214.5 kB / 0.5235 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.4563, allocations: 1.819 MB / 0.5252 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.4563, allocations: 12 kB / 0.5252 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4563, allocations: 4 kB / 0.5252 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.4563, allocations: 7.922 kB / 0.5253 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008773/0.4651, allocations: 4.138 MB / 0.5293 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.4651, allocations: 8 kB / 0.5293 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.4657, allocations: 135.8 kB / 0.5294 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/0.4678, allocations: 0.6443 MB / 0.5301 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.4679, allocations: 12 kB / 0.5301 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.4731, allocations: 3.812 MB / 0.5338 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4731, allocations: 0 / 0.5338 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/0.4792, allocations: 3.664 MB / 0.5374 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.4798, allocations: 194.4 kB / 0.5376 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.48, allocations: 12 kB / 0.5376 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/0.4809, allocations: 68.03 kB / 0.5376 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.481, allocations: 67.7 kB / 0.5377 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.4811, allocations: 28 kB / 0.5377 GB, free: 9.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002423/0.4836, allocations: 1.507 MB / 0.5392 GB, free: 8.438 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4836, allocations: 4 kB / 0.5392 GB, free: 8.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003386/0.4869, allocations: 0.6405 MB / 0.5398 GB, free: 7.793 MB / 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.0003639/0.4873, allocations: 143 kB / 0.54 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005655/0.493, allocations: 3.295 MB / 0.5432 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.493, allocations: 4.062 kB / 0.5432 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.4942, allocations: 0.8655 MB / 0.544 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4956, allocations: 231.1 kB / 0.5443 GB, free: 3.254 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2193/0.7149, allocations: 5.501 MB / 0.5496 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.7174, allocations: 1.618 MB / 0.5512 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00266/0.7201, allocations: 1.373 MB / 0.5525 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.7204, allocations: 152.4 kB / 0.5527 GB, free: 121.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7204, allocations: 0 / 0.5527 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Templates: time 0.0357/0.7561, allocations: 20.83 MB / 0.573 GB, free: 106.5 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.823553455993533]