Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 218.2 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 59.89 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2626, allocations: 53.33 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009498/0.2721, allocations: 7.651 MB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.279, allocations: 3.383 MB / 440.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2804, allocations: 39.88 kB / 440.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.2826, allocations: 1.059 MB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.2865, allocations: 1.338 MB / 443.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.2879, allocations: 0.5418 MB / 443.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.2917, allocations: 2.614 MB / 446.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.2933, allocations: 1.082 MB / 447.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.2945, allocations: 0.8329 MB / 448.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.2961, allocations: 1.25 MB / 449.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.2964, allocations: 148 kB / 449.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.298, allocations: 0.9281 MB / 450.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.2991, allocations: 1.075 MB / 451.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.3004, allocations: 1.234 MB / 453 MB, free: 252 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.3052, allocations: 4.1 MB / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3052, allocations: 0 / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3052, allocations: 0 / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.248e-05/0.3053, allocations: 3.938 kB / 457.1 MB, free: 12.13 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.005714/0.311, allocations: 3.065 MB / 460.1 MB, free: 9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.311, allocations: 12.03 kB / 460.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.3162, allocations: 1.578 MB / 461.7 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.319, allocations: 1.391 MB / 463.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.3192, allocations: 127 kB / 463.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.3195, allocations: 163.9 kB / 463.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.33, allocations: 6.542 MB / 470 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.477e-05/0.33, allocations: 31.77 kB / 470 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.3303, allocations: 79.89 kB / 470.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002464/0.3327, allocations: 1.468 MB / 471.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.3438, allocations: 5.83 MB / 477.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.3771, allocations: 25.7 MB / 0.4913 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.3829, allocations: 2.463 MB / 0.4937 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3846, allocations: 1.137 MB / 0.4948 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008001/0.3926, allocations: 4.812 MB / 0.4995 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3926, allocations: 50.55 kB / 0.4995 GB, free: 4.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.186e-06/0.3926, allocations: 0 / 0.4995 GB, free: 4.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02447/0.4171, allocations: 9.915 MB / 0.5092 GB, free: 10.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.4172, allocations: 141 kB / 0.5094 GB, free: 9.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.4211, allocations: 2.707 MB / 0.512 GB, free: 7.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.4213, allocations: 41.69 kB / 0.512 GB, free: 7.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.423, allocations: 2.128 MB / 0.5141 GB, free: 4.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.4236, allocations: 452.6 kB / 0.5145 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.4248, allocations: 0.8455 MB / 0.5154 GB, free: 3.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.425, allocations: 301.1 kB / 0.5157 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.4273, allocations: 1.452 MB / 0.5171 GB, free: 1.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005044/0.4323, allocations: 4.065 MB / 0.521 GB, free: 12.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008935/0.4412, allocations: 5.965 MB / 0.5269 GB, free: 5.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.709e-05/0.4413, allocations: 24 kB / 0.5269 GB, free: 5.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01322/0.4546, allocations: 6.038 MB / 0.5328 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.4547, allocations: 48 kB / 0.5328 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/0.4549, allocations: 92 kB / 0.5329 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.4573, allocations: 0.8201 MB / 0.5337 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.4606, allocations: 0.9474 MB / 0.5346 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.4674, allocations: 4.66 MB / 0.5392 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.4705, allocations: 247.6 kB / 0.5394 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005956/0.4711, allocations: 260 kB / 0.5397 GB, free: 7.918 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (502): * Single equations (assignments): 498 * 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.002523/0.4736, allocations: 1.368 MB / 0.541 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/0.4742, allocations: 238.3 kB / 0.5412 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.479, allocations: 2.118 MB / 0.5433 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.4791, allocations: 12 kB / 0.5433 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.4791, allocations: 8 kB / 0.5433 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.4791, allocations: 7.984 kB / 0.5433 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2241/0.7032, allocations: 5.06 MB / 0.5483 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.7032, allocations: 3.672 kB / 0.5483 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/0.7041, allocations: 155.2 kB / 0.5484 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.7062, allocations: 0.6848 MB / 0.5491 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.7064, allocations: 14.77 kB / 0.5491 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/0.7108, allocations: 4.162 MB / 0.5532 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7108, allocations: 2.25 kB / 0.5532 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.7161, allocations: 4.056 MB / 0.5571 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.7165, allocations: 294.8 kB / 0.5574 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.7167, allocations: 15.8 kB / 0.5574 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008607/0.7176, allocations: 72.36 kB / 0.5575 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.7177, allocations: 57.91 kB / 0.5576 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7179, allocations: 34.17 kB / 0.5576 GB, free: 111.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.7197, allocations: 1.687 MB / 0.5592 GB, free: 110.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7197, allocations: 0 / 0.5592 GB, free: 110.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002571/0.7222, allocations: 0.6672 MB / 0.5599 GB, free: 110.6 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 (74): * Single equations (assignments): 70 * 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.0003572/0.7226, allocations: 206.9 kB / 0.5601 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003736/0.7263, allocations: 3.354 MB / 0.5634 GB, free: 109.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7263, allocations: 0 / 0.5634 GB, free: 109.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.7273, allocations: 0.9559 MB / 0.5643 GB, free: 109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.7286, allocations: 263.2 kB / 0.5646 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.7348, allocations: 5.741 MB / 0.5702 GB, free: 104.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.7363, allocations: 2.24 MB / 0.5724 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002175/0.7384, allocations: 1.317 MB / 0.5736 GB, free: 100.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.7388, allocations: 163.4 kB / 0.5738 GB, free: 100.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7388, allocations: 0 / 0.5738 GB, free: 100.6 MB / 462.1 MB Notification: Performance of Templates: time 0.03438/0.7732, allocations: 23.04 MB / 0.5963 GB, free: 77.73 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.763492498546839]