Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.00134/0.00134, allocations: 118.4 kB / 18.41 MB, free: 4.688 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.001328/0.001328, allocations: 189.3 kB / 21.35 MB, free: 1.75 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.434/1.434, allocations: 222.9 MB / 247 MB, free: 4.242 MB / 190.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 51.91 kB / 358.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 49.43 MB / 408.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009993/0.1226, allocations: 7.623 MB / 415.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.1296, allocations: 3.333 MB / 419.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.1312, allocations: 39.88 kB / 419.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.1338, allocations: 1.031 MB / 420.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.1377, allocations: 1.335 MB / 421.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1391, allocations: 0.5574 MB / 422 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.1433, allocations: 2.593 MB / 424.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.1454, allocations: 1.385 MB / 426 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.147, allocations: 0.8329 MB / 426.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.1487, allocations: 1.148 MB / 428 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.1491, allocations: 148 kB / 428.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.1511, allocations: 0.9087 MB / 429 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.1522, allocations: 1.052 MB / 430.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2346/0.3868, allocations: 1.25 MB / 431.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.3924, allocations: 4.139 MB / 435.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3924, allocations: 0 / 435.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3924, allocations: 0 / 435.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.3926, allocations: 0 / 435.5 MB, free: 7.141 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.006941/0.3995, allocations: 3.071 MB / 438.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3996, allocations: 14.69 kB / 438.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.4055, allocations: 1.585 MB / 440.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.4087, allocations: 1.412 MB / 441.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4089, allocations: 125.5 kB / 441.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.4093, allocations: 172.3 kB / 441.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.4204, allocations: 6.535 MB / 448.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.22e-05/0.4206, allocations: 26.08 kB / 448.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.4208, allocations: 84.2 kB / 448.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.4236, allocations: 1.464 MB / 450 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4348, allocations: 5.831 MB / 455.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.4708, allocations: 25.71 MB / 481.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006389/0.4772, allocations: 2.546 MB / 484 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.4791, allocations: 1.217 MB / 485.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008777/0.4879, allocations: 4.822 MB / 490.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.488, allocations: 42.56 kB / 490.1 MB, free: 5.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 4.609e-06/0.488, allocations: 0 / 490.1 MB, free: 5.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.02575/0.5138, allocations: 9.932 MB / 0.4883 GB, free: 11.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.514, allocations: 140.9 kB / 0.4885 GB, free: 11.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/0.5183, allocations: 2.711 MB / 0.4911 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.5186, allocations: 41.7 kB / 0.4912 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.5204, allocations: 2.138 MB / 0.4932 GB, free: 6.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.521, allocations: 446.9 kB / 0.4937 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.5222, allocations: 0.8447 MB / 0.4945 GB, free: 5.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5224, allocations: 301.1 kB / 0.4948 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.5248, allocations: 1.449 MB / 0.4962 GB, free: 3.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004745/0.5295, allocations: 4.066 MB / 0.5002 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/0.5375, allocations: 5.968 MB / 0.506 GB, free: 7.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-05/0.5376, allocations: 28 kB / 0.506 GB, free: 7.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01303/0.5506, allocations: 6.03 MB / 0.5119 GB, free: 1.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.5508, allocations: 44.94 kB / 0.512 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/0.551, allocations: 99.94 kB / 0.5121 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/0.5537, allocations: 0.8169 MB / 0.5128 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/0.5572, allocations: 0.9475 MB / 0.5138 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/0.5649, allocations: 4.667 MB / 0.5183 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/0.5697, allocations: 248.2 kB / 0.5186 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.5708, allocations: 256 kB / 0.5188 GB, free: 10.27 MB / 430.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.003557/0.5744, allocations: 1.364 MB / 0.5201 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/0.5751, allocations: 242.4 kB / 0.5204 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005062/0.5802, allocations: 2.134 MB / 0.5225 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.5803, allocations: 15.94 kB / 0.5225 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.5803, allocations: 4 kB / 0.5225 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.5803, allocations: 7.984 kB / 0.5225 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.591, allocations: 5.067 MB / 0.5274 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.5911, allocations: 0 / 0.5274 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/0.592, allocations: 159.8 kB / 0.5276 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.5942, allocations: 0.6842 MB / 0.5283 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.5944, allocations: 20 kB / 0.5283 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005983/0.6004, allocations: 4.156 MB / 0.5323 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6004, allocations: 4.031 kB / 0.5323 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007251/0.6077, allocations: 4.069 MB / 0.5363 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/0.6086, allocations: 299.4 kB / 0.5366 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.6089, allocations: 16.06 kB / 0.5366 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.61, allocations: 71.89 kB / 0.5367 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.6102, allocations: 56.3 kB / 0.5367 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/0.6103, allocations: 32 kB / 0.5368 GB, free: 7.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003128/0.6135, allocations: 1.689 MB / 0.5384 GB, free: 5.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6135, allocations: 0 / 0.5384 GB, free: 5.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003859/0.6173, allocations: 0.6787 MB / 0.5391 GB, free: 5.258 MB / 446.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.0005824/0.6179, allocations: 201.2 kB / 0.5393 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006441/0.6244, allocations: 3.503 MB / 0.5427 GB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.6244, allocations: 0 / 0.5427 GB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.6261, allocations: 1.03 MB / 0.5437 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.628, allocations: 261.1 kB / 0.5439 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.6387, allocations: 5.963 MB / 0.5498 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/0.6412, allocations: 2.251 MB / 0.552 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/0.642, allocations: 199.4 kB / 0.5522 GB, free: 7.789 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.642, allocations: 0 / 0.5522 GB, free: 7.789 MB / 462.1 MB Notification: Performance of Templates: time 0.07681/0.7188, allocations: 48.7 MB / 0.5997 GB, free: 7.176 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.276698708999902]