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.001378/0.001378, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001519/0.001519, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.489/1.489, allocations: 230.6 MB / 257.5 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.001742/0.001742, allocations: 51.91 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2745, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008772/0.2833, allocations: 6.309 MB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006707/0.29, allocations: 3.006 MB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.2913, allocations: 39.81 kB / 440.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.2935, allocations: 0.7782 MB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.297, allocations: 1.327 MB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2983, allocations: 499 kB / 443.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.3021, allocations: 2.57 MB / 446.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.3039, allocations: 1.085 MB / 447.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.3053, allocations: 0.7628 MB / 447.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.3074, allocations: 1.211 MB / 449.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.3079, allocations: 132 kB / 449.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.3097, allocations: 0.7799 MB / 450.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.311, allocations: 1.001 MB / 451.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.3126, allocations: 0.8458 MB / 451.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.3179, allocations: 3.94 MB / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3179, allocations: 0 / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3179, allocations: 0 / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.3181, allocations: 0 / 455.9 MB, free: 14.36 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.007097/0.3252, allocations: 2.865 MB / 458.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.3252, allocations: 12.02 kB / 458.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/0.3316, allocations: 1.653 MB / 460.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.3352, allocations: 1.263 MB / 461.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3353, allocations: 118.9 kB / 461.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006061/0.3359, allocations: 155.8 kB / 461.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.3467, allocations: 6.367 MB / 468.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.168e-05/0.3468, allocations: 27.81 kB / 468.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.3471, allocations: 79.89 kB / 468.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.3498, allocations: 1.437 MB / 469.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3605, allocations: 5.65 MB / 475.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.3925, allocations: 24.77 MB / 0.4885 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.3969, allocations: 1.729 MB / 0.4902 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.3982, allocations: 0.9403 MB / 0.4911 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.3983, allocations: 11.98 kB / 0.4911 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3983, allocations: 42.78 kB / 0.4912 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 5.72e-06/0.3983, allocations: 7.922 kB / 0.4912 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02223/0.4206, allocations: 8.5 MB / 0.4995 GB, free: 5.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4207, allocations: 140.5 kB / 0.4996 GB, free: 5.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.4249, allocations: 2.638 MB / 0.5022 GB, free: 2.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.4251, allocations: 41.7 kB / 0.5022 GB, free: 2.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.4267, allocations: 2.182 MB / 0.5044 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007359/0.4275, allocations: 452.6 kB / 0.5048 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.429, allocations: 0.8933 MB / 0.5057 GB, free: 14.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.4292, allocations: 349.9 kB / 0.506 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.4317, allocations: 1.418 MB / 0.5074 GB, free: 12.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.4377, allocations: 4.242 MB / 0.5115 GB, free: 7.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009405/0.4471, allocations: 6.143 MB / 0.5175 GB, free: 15.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.4472, allocations: 28 kB / 0.5176 GB, free: 15.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01391/0.4611, allocations: 6.081 MB / 0.5235 GB, free: 9.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.4612, allocations: 52.03 kB / 0.5235 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.4613, allocations: 108 kB / 0.5236 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.4638, allocations: 0.7889 MB / 0.5244 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/0.4674, allocations: 0.998 MB / 0.5254 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.4742, allocations: 4.302 MB / 0.5296 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.4777, allocations: 247.6 kB / 0.5298 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008368/0.4785, allocations: 288 kB / 0.5301 GB, free: 2.746 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.003088/0.4816, allocations: 1.368 MB / 0.5314 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005806/0.4822, allocations: 214.6 kB / 0.5316 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.4868, allocations: 1.827 MB / 0.5334 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/0.4868, allocations: 12 kB / 0.5334 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.4868, allocations: 4 kB / 0.5334 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.4869, allocations: 8.297 kB / 0.5334 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.4977, allocations: 4.122 MB / 0.5375 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.4977, allocations: 0 / 0.5375 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.4985, allocations: 135.8 kB / 0.5376 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.5007, allocations: 0.6483 MB / 0.5382 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.5009, allocations: 23.98 kB / 0.5383 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005772/0.5066, allocations: 3.795 MB / 0.542 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.5066, allocations: 4.031 kB / 0.542 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006864/0.5135, allocations: 3.665 MB / 0.5455 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/0.5142, allocations: 194.4 kB / 0.5457 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.5147, allocations: 16 kB / 0.5457 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.5157, allocations: 59.91 kB / 0.5458 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.5159, allocations: 59.83 kB / 0.5459 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.516, allocations: 31.98 kB / 0.5459 GB, free: 2.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002921/0.5189, allocations: 1.499 MB / 0.5474 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5189, allocations: 4.062 kB / 0.5474 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003834/0.5228, allocations: 0.6327 MB / 0.548 GB, free: 192 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.0005037/0.5233, allocations: 135 kB / 0.5481 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2179/0.7412, allocations: 3.302 MB / 0.5513 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.7412, allocations: 3.938 kB / 0.5513 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.7428, allocations: 0.8677 MB / 0.5522 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.002096/0.7449, allocations: 216.7 kB / 0.5524 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009724/0.7546, allocations: 5.513 MB / 0.5578 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.757, allocations: 1.615 MB / 0.5594 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002817/0.7598, allocations: 1.367 MB / 0.5607 GB, free: 114 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.7604, allocations: 147.2 kB / 0.5608 GB, free: 113.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.7604, allocations: 0 / 0.5608 GB, free: 113.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03701/0.7974, allocations: 22.65 MB / 0.583 GB, free: 92.62 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 -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.857567167840898]