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.001166/0.001166, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003821/0.003821, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 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 0.844/0.844, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.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.383e-06/1.383e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.953e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005226/0.005246, allocations: 6.765 MB / 332.6 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.008819, allocations: 3.164 MB / 335.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.009149, allocations: 43.81 kB / 335.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.01033, allocations: 1.059 MB / 336.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.01183, allocations: 1.392 MB / 338.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.01241, allocations: 0.5883 MB / 338.8 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.01432, allocations: 2.967 MB / 341.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.01526, allocations: 1.462 MB / 343.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008726/0.01613, allocations: 1.286 MB / 344.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009652/0.0171, allocations: 1.333 MB / 345.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.01724, allocations: 148 kB / 346 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008532/0.01809, allocations: 0.8304 MB / 346.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.01864, allocations: 1.118 MB / 347.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006892/0.01933, allocations: 0.6695 MB / 348.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.02186, allocations: 4.1 MB / 352.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.02187, allocations: 4 kB / 352.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.02187, allocations: 0 / 352.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.02189, allocations: 0 / 352.7 MB, free: 4.336 MB / 314.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.003174/0.02507, allocations: 3.001 MB / 355.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.0251, allocations: 11.98 kB / 355.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.02769, allocations: 1.61 MB / 357.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.02902, allocations: 1.321 MB / 358.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.02908, allocations: 123.4 kB / 358.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.02928, allocations: 163.8 kB / 358.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.03473, allocations: 6.538 MB / 365.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.03477, allocations: 31.7 kB / 365.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.03492, allocations: 79.89 kB / 365.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001327/0.03625, allocations: 1.468 MB / 367.1 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006209/0.04246, allocations: 5.822 MB / 372.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.05854, allocations: 24.3 MB / 397.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.06154, allocations: 2.075 MB / 399.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000896/0.06244, allocations: 1.129 MB / 400.4 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004096/0.06653, allocations: 4.347 MB / 404.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.06656, allocations: 42.5 kB / 404.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 2.836e-06/0.06656, allocations: 0 / 404.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01334/0.0799, allocations: 10.01 MB / 414.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.07995, allocations: 137 kB / 414.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.08199, allocations: 2.619 MB / 417.5 MB, free: 1.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.08205, allocations: 37.7 kB / 417.6 MB, free: 1.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/0.08286, allocations: 2.128 MB / 419.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.08309, allocations: 436.8 kB / 420.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007778/0.08387, allocations: 0.8377 MB / 421 MB, free: 14.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.08396, allocations: 357.9 kB / 421.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.08525, allocations: 1.448 MB / 422.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.0877, allocations: 4.069 MB / 426.8 MB, free: 7.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/0.09167, allocations: 5.961 MB / 432.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-05/0.09169, allocations: 28 kB / 432.8 MB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.005803/0.09749, allocations: 6.012 MB / 438.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.09753, allocations: 44 kB / 438.9 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-05/0.09759, allocations: 95.98 kB / 439 MB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.09892, allocations: 0.8205 MB / 439.8 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.1003, allocations: 0.9513 MB / 440.7 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.1039, allocations: 4.502 MB / 445.2 MB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.1054, allocations: 279.6 kB / 445.5 MB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.1056, allocations: 264.5 kB / 445.8 MB, free: 2.91 MB / 410.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.001488/0.1071, allocations: 1.364 MB / 447.1 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.1073, allocations: 210.6 kB / 447.3 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1515/0.2587, allocations: 2.099 MB / 449.4 MB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.2588, allocations: 14.69 kB / 449.5 MB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2588, allocations: 6.031 kB / 449.5 MB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.2588, allocations: 8.875 kB / 449.5 MB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.2643, allocations: 4.373 MB / 453.8 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2643, allocations: 3.688 kB / 453.8 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.2647, allocations: 155.4 kB / 454 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009738/0.2657, allocations: 0.6763 MB / 454.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.543e-05/0.2657, allocations: 18.67 kB / 454.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.2683, allocations: 4.027 MB / 458.7 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2683, allocations: 1.656 kB / 458.7 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.2714, allocations: 4.029 MB / 462.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.2716, allocations: 209 kB / 463 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2717, allocations: 23.72 kB / 463 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.2723, allocations: 106.5 kB / 463.1 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2724, allocations: 53.7 kB / 463.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.2724, allocations: 34.58 kB / 463.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001084/0.2735, allocations: 1.513 MB / 464.7 MB, free: 106.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2735, allocations: 0 / 464.7 MB, free: 106.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001855/0.2754, allocations: 0.7466 MB / 465.4 MB, free: 106.1 MB / 410.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.0003334/0.2757, allocations: 215.7 kB / 465.6 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.2782, allocations: 3.356 MB / 469 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2782, allocations: 4 kB / 469 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.2788, allocations: 0.9614 MB / 470 MB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.2796, allocations: 227.5 kB / 470.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.2841, allocations: 5.942 MB / 476.1 MB, free: 95.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009789/0.2851, allocations: 1.665 MB / 477.8 MB, free: 93.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.2854, allocations: 188.5 kB / 478 MB, free: 93.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2854, allocations: 0 / 478 MB, free: 93.59 MB / 410.7 MB Notification: Performance of Templates: time 0.02746/0.3128, allocations: 49.14 MB / 0.5148 GB, free: 44.52 MB / 410.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=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: 6.468720404431224]