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.0007822/0.0007822, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002022, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006908/0.0006908, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.001568, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9606/0.9606, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08239/1.043, allocations: 53.87 MB / 243.7 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] 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.122e-06/1.122e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.628e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005847/0.005863, allocations: 7.35 MB / 252.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.01091, allocations: 3.382 MB / 255.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008357/0.01175, allocations: 47.81 kB / 255.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.01309, allocations: 1.066 MB / 256.9 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.01579, allocations: 1.369 MB / 258.2 MB, free: 364 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.0171, allocations: 0.5338 MB / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003243/0.02034, allocations: 2.906 MB / 261.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.02195, allocations: 1.319 MB / 263 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.02369, allocations: 1.377 MB / 264.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.02511, allocations: 1.235 MB / 265.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.02545, allocations: 148 kB / 265.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.02688, allocations: 0.8617 MB / 266.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007349/0.02762, allocations: 1.005 MB / 267.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.02827, allocations: 0.5489 MB / 268.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.03076, allocations: 2.623 MB / 270.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.03077, allocations: 4 kB / 270.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03077, allocations: 3.938 kB / 270.8 MB, free: 3.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.03089, allocations: 0 / 270.8 MB, free: 3.734 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.003952/0.03484, allocations: 3.305 MB / 274.1 MB, free: 380 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.03487, allocations: 12.92 kB / 274.1 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1122/0.1471, allocations: 0.7618 MB / 274.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1488, allocations: 1.061 MB / 275.9 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1489, allocations: 120.4 kB / 276.1 MB, free: 18.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.1492, allocations: 161.4 kB / 276.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.1532, allocations: 3.13 MB / 279.3 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.1532, allocations: 28.64 kB / 279.4 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.1534, allocations: 85.3 kB / 279.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001268/0.1547, allocations: 1.24 MB / 280.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.1581, allocations: 1.619 MB / 282.3 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.1718, allocations: 20.35 MB / 302.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.1736, allocations: 0.9289 MB / 303.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1739, allocations: 202.6 kB / 303.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/0.1764, allocations: 2.166 MB / 306 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1765, allocations: 46.44 kB / 306 MB, free: 15.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.966e-06/0.1765, allocations: 2.078 kB / 306 MB, free: 15.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.004109/0.1806, allocations: 1.901 MB / 307.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1806, allocations: 136.5 kB / 308 MB, free: 13.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.1822, allocations: 2.175 MB / 310.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1822, allocations: 33.7 kB / 310.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/0.1831, allocations: 2.106 MB / 312.4 MB, free: 9.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.1833, allocations: 353.4 kB / 312.7 MB, free: 9.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007922/0.1841, allocations: 0.7787 MB / 313.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.1842, allocations: 361.8 kB / 313.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.1849, allocations: 485.8 kB / 314.3 MB, free: 7.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.1867, allocations: 3.111 MB / 317.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.1894, allocations: 3.962 MB / 321.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.834e-05/0.1895, allocations: 28 kB / 321.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.002823/0.1923, allocations: 2.812 MB / 324.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.1923, allocations: 45.31 kB / 324.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.075e-05/0.1924, allocations: 104 kB / 324.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.1927, allocations: 163.6 kB / 324.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.1944, allocations: 1.014 MB / 325.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009967/0.1954, allocations: 1.461 MB / 327 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.1968, allocations: 183.8 kB / 327.2 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.197, allocations: 228 kB / 327.4 MB, free: 8.008 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006645/0.1977, allocations: 472.5 kB / 327.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.1979, allocations: 123.8 kB / 328 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.1983, allocations: 377.3 kB / 328.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.1984, allocations: 12 kB / 328.4 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1984, allocations: 0 / 328.4 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.1984, allocations: 5.953 kB / 328.4 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.2006, allocations: 1.689 MB / 330.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.2006, allocations: 7.984 kB / 330.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2009, allocations: 103.8 kB / 330.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.2011, allocations: 190.5 kB / 330.4 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.2012, allocations: 43.58 kB / 330.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2012, allocations: 20.02 kB / 330.4 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008554/0.2021, allocations: 1.378 MB / 331.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2021, allocations: 0 / 331.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.2029, allocations: 1.044 MB / 332.8 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.203, allocations: 12 kB / 332.8 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.2034, allocations: 8 kB / 332.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.144e-05/0.2034, allocations: 43.86 kB / 332.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.2035, allocations: 20 kB / 332.9 MB, free: 2.297 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006035/0.2041, allocations: 0.7577 MB / 333.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2041, allocations: 0 / 333.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00194/0.206, allocations: 0.6442 MB / 334.3 MB, free: 0.8711 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (54): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003559/0.2064, allocations: 197.8 kB / 334.5 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.2082, allocations: 1.634 MB / 336.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.974e-05/0.2083, allocations: 63.94 kB / 336.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.2086, allocations: 289.3 kB / 336.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2097, allocations: 0.491 MB / 337 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.2166, allocations: 4.34 MB / 341.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.2173, allocations: 0.7302 MB / 342.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000824/0.2181, allocations: 319.1 kB / 342.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.2186, allocations: 345.3 kB / 342.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2186, allocations: 0 / 342.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of Templates: time 0.02615/0.2447, allocations: 16.88 MB / 359.6 MB, free: 7.715 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2148441337049007]