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.001494/0.001494, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001713/0.001713, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 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.541/1.541, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 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 1.884e-06/1.884e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.953e-05, allocations: 6.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01036/0.01039, allocations: 6.762 MB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.01813, allocations: 3.164 MB / 282.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.01967, allocations: 43.81 kB / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.02273, allocations: 1.062 MB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.02711, allocations: 1.392 MB / 284.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.02894, allocations: 0.5961 MB / 285.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.03398, allocations: 2.975 MB / 288.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/0.03704, allocations: 1.518 MB / 289.7 MB, free: 208 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1397/0.1768, allocations: 1.27 MB / 291 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.1792, allocations: 1.333 MB / 292.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.1797, allocations: 152.4 kB / 292.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.1816, allocations: 0.8209 MB / 293.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.1828, allocations: 1.124 MB / 294.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009781/0.1838, allocations: 0.6719 MB / 295.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005462/0.1893, allocations: 4.103 MB / 299.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1893, allocations: 0 / 299.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1893, allocations: 1.375 kB / 299.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001083/0.1894, allocations: 0.5938 kB / 299.2 MB, free: 15.25 MB / 266.7 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.007312/0.1967, allocations: 3 MB / 302.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1968, allocations: 15.77 kB / 302.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/0.2027, allocations: 1.985 MB / 304.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.2059, allocations: 1.332 MB / 305.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.206, allocations: 123.3 kB / 305.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.2065, allocations: 158.3 kB / 305.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009535/0.216, allocations: 6.551 MB / 312.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.687e-05/0.2161, allocations: 30.48 kB / 312.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.2164, allocations: 83.11 kB / 312.5 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/0.2185, allocations: 1.468 MB / 313.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009465/0.2279, allocations: 5.832 MB / 319.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03724/0.2652, allocations: 24.34 MB / 344.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006329/0.2715, allocations: 2.072 MB / 346.2 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.2734, allocations: 1.14 MB / 347.3 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008876/0.2823, allocations: 4.37 MB / 351.7 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.2823, allocations: 43.72 kB / 351.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 3.006e-06/0.2823, allocations: 0 / 351.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.02887/0.3112, allocations: 10.05 MB / 361.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.3113, allocations: 141 kB / 361.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.3158, allocations: 2.619 MB / 364.5 MB, free: 3.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002429/0.3161, allocations: 41.7 kB / 364.6 MB, free: 3.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.3181, allocations: 2.123 MB / 366.7 MB, free: 1.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008406/0.3189, allocations: 443.7 kB / 367.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.3202, allocations: 0.8299 MB / 368 MB, free: 256 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.3205, allocations: 357.9 kB / 368.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.3231, allocations: 1.456 MB / 369.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.3288, allocations: 4.086 MB / 373.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009163/0.338, allocations: 5.969 MB / 379.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-05/0.3381, allocations: 28 kB / 379.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01347/0.3515, allocations: 6.243 MB / 386.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.3516, allocations: 48.03 kB / 386.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.3517, allocations: 95.98 kB / 386.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/0.3545, allocations: 0.8201 MB / 387.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.3578, allocations: 0.9591 MB / 388 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007354/0.3652, allocations: 4.522 MB / 392.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/0.369, allocations: 291.6 kB / 392.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/0.3697, allocations: 266.7 kB / 393.1 MB, free: 4.488 MB / 346.7 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.003386/0.3731, allocations: 1.368 MB / 394.5 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/0.3738, allocations: 250.5 kB / 394.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.3788, allocations: 2.102 MB / 396.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.3788, allocations: 12 kB / 396.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3789, allocations: 4 kB / 396.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3789, allocations: 3.984 kB / 396.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.3896, allocations: 4.381 MB / 401.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.3896, allocations: 4 kB / 401.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/0.3904, allocations: 155.8 kB / 401.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.3927, allocations: 0.6879 MB / 402 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.3929, allocations: 22.8 kB / 402.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006386/0.3993, allocations: 4.039 MB / 406.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3993, allocations: 0 / 406.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008115/0.4074, allocations: 4.054 MB / 410.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/0.4081, allocations: 214.4 kB / 410.4 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.4084, allocations: 16 kB / 410.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4095, allocations: 107.8 kB / 410.5 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.4098, allocations: 60.39 kB / 410.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.4099, allocations: 36.06 kB / 410.6 MB, free: 2.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003042/0.4129, allocations: 1.513 MB / 412.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4129, allocations: 0 / 412.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00418/0.4171, allocations: 0.745 MB / 412.8 MB, free: 0.5273 MB / 362.7 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.0006772/0.4178, allocations: 224.5 kB / 413.1 MB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006609/0.4244, allocations: 3.37 MB / 416.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4244, allocations: 0 / 416.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.426, allocations: 0.9661 MB / 417.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.4278, allocations: 240.9 kB / 417.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.4388, allocations: 5.751 MB / 423.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.4412, allocations: 1.661 MB / 425 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003094/0.4443, allocations: 1.295 MB / 426.3 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.4448, allocations: 152.5 kB / 426.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4448, allocations: 4 kB / 426.5 MB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.1473/0.5921, allocations: 20.8 MB / 447.3 MB, free: 117.5 MB / 378.7 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.792201359057799]