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.001746/0.001746, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001999/0.001999, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001555/0.001555, allocations: 51.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2239/0.3273, allocations: 7.121 MB / 433.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.3336, allocations: 3.182 MB / 437.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.3348, allocations: 43.41 kB / 437.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.3367, allocations: 0.8028 MB / 438 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.3402, allocations: 1.317 MB / 439.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3415, allocations: 499 kB / 439.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.3454, allocations: 2.555 MB / 442.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.3472, allocations: 1.023 MB / 443.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.3485, allocations: 0.7665 MB / 444.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.3503, allocations: 1.21 MB / 445.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004504/0.3508, allocations: 134.2 kB / 445.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.3527, allocations: 0.8994 MB / 446.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3538, allocations: 1.011 MB / 447.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.355, allocations: 1.173 MB / 448.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.3595, allocations: 3.938 MB / 452.5 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3595, allocations: 0 / 452.5 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3595, allocations: 0 / 452.5 MB, free: 140 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.763e-05/0.3596, allocations: 1.75 kB / 452.5 MB, free: 140 kB / 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.006562/0.3662, allocations: 2.941 MB / 455.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3662, allocations: 13.19 kB / 455.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006804/0.373, allocations: 1.647 MB / 457.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.3762, allocations: 1.318 MB / 458.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3763, allocations: 121.2 kB / 458.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.3767, allocations: 155.6 kB / 458.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.3876, allocations: 6.36 MB / 465 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-05/0.3876, allocations: 34.3 kB / 465.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3879, allocations: 79.8 kB / 465.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002593/0.3905, allocations: 1.431 MB / 466.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.4017, allocations: 5.672 MB / 472.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03399/0.4357, allocations: 26.24 MB / 498.5 MB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.4405, allocations: 2.182 MB / 0.4889 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4421, allocations: 0.9445 MB / 0.4898 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.4421, allocations: 15.92 kB / 0.4899 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.4422, allocations: 46.56 kB / 0.4899 GB, free: 4.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.4422, allocations: 224 / 0.4899 GB, free: 4.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02392/0.4661, allocations: 8.707 MB / 0.4984 GB, free: 11.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.4662, allocations: 144.5 kB / 0.4985 GB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.4707, allocations: 2.819 MB / 0.5013 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.4708, allocations: 41.7 kB / 0.5013 GB, free: 8.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.4727, allocations: 2.155 MB / 0.5034 GB, free: 5.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.4732, allocations: 460.6 kB / 0.5039 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.4745, allocations: 0.8855 MB / 0.5047 GB, free: 4.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4746, allocations: 305.1 kB / 0.505 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.4769, allocations: 1.418 MB / 0.5064 GB, free: 2.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004978/0.4819, allocations: 4.242 MB / 0.5106 GB, free: 13.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008133/0.49, allocations: 6.14 MB / 0.5166 GB, free: 5.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.93e-05/0.4901, allocations: 30 kB / 0.5166 GB, free: 5.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01183/0.5019, allocations: 6.109 MB / 0.5226 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.502, allocations: 48 kB / 0.5226 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.5021, allocations: 103.9 kB / 0.5227 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/0.5047, allocations: 0.7967 MB / 0.5235 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.5076, allocations: 0.998 MB / 0.5245 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006525/0.5141, allocations: 4.475 MB / 0.5288 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.5172, allocations: 243.7 kB / 0.5291 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/0.5176, allocations: 276 kB / 0.5293 GB, free: 8.48 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.002329/0.5199, allocations: 1.37 MB / 0.5307 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/0.5204, allocations: 246.3 kB / 0.5309 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004352/0.5248, allocations: 1.842 MB / 0.5327 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.5248, allocations: 12 kB / 0.5327 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.5248, allocations: 7.938 kB / 0.5327 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5248, allocations: 3.984 kB / 0.5327 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009856/0.5347, allocations: 4.785 MB / 0.5374 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5347, allocations: 7.922 kB / 0.5374 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.5353, allocations: 136.2 kB / 0.5375 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.5376, allocations: 0.6443 MB / 0.5382 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.5377, allocations: 20 kB / 0.5382 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.5433, allocations: 3.946 MB / 0.542 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5433, allocations: 4.031 kB / 0.542 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/0.5497, allocations: 3.697 MB / 0.5456 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006252/0.5504, allocations: 307.3 kB / 0.5459 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5506, allocations: 20 kB / 0.546 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.5515, allocations: 63.84 kB / 0.546 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.5516, allocations: 51.92 kB / 0.5461 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.5517, allocations: 28 kB / 0.5461 GB, free: 7.004 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002794/0.5545, allocations: 1.757 MB / 0.5478 GB, free: 5.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5545, allocations: 4.062 kB / 0.5478 GB, free: 5.234 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003135/0.5577, allocations: 0.6288 MB / 0.5484 GB, free: 4.605 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.0003327/0.558, allocations: 149.1 kB / 0.5486 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005382/0.5634, allocations: 3.296 MB / 0.5518 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5634, allocations: 192 / 0.5518 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.5647, allocations: 0.8734 MB / 0.5526 GB, free: 288 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.5661, allocations: 252.4 kB / 0.5529 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008776/0.5749, allocations: 5.507 MB / 0.5583 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.5773, allocations: 2.175 MB / 0.5604 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002972/0.5802, allocations: 1.4 MB / 0.5617 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.5806, allocations: 167.4 kB / 0.5619 GB, free: 6.711 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5806, allocations: 0 / 0.5619 GB, free: 6.711 MB / 478.1 MB Notification: Performance of Templates: time 0.04649/0.6271, allocations: 20.96 MB / 0.5824 GB, free: 1.805 MB / 494.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/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: 5.909499436616898]