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.001301/0.001301, allocations: 92.59 kB / 20.96 MB, free: 476 kB / 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.001779/0.001779, allocations: 154.9 kB / 24.25 MB, free: 3.539 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.412/1.412, allocations: 173.3 MB / 200.8 MB, free: 12.78 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 1.493e-06/1.493e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.912e-05, allocations: 5.406 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009584/0.009614, allocations: 6.786 MB / 274.1 MB, free: 3.406 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.007313/0.01693, allocations: 3.146 MB / 277.3 MB, free: 256 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.01826, allocations: 43.81 kB / 277.3 MB, free: 212 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.02124, allocations: 1.066 MB / 278.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.02533, allocations: 1.435 MB / 279.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.02693, allocations: 0.5844 MB / 280.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.03143, allocations: 2.918 MB / 283.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.03399, allocations: 1.521 MB / 284.8 MB, free: 8.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.03658, allocations: 1.294 MB / 286.1 MB, free: 7.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.03901, allocations: 1.337 MB / 287.5 MB, free: 5.996 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005431/0.03955, allocations: 152 kB / 287.6 MB, free: 5.848 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.04167, allocations: 0.8344 MB / 288.4 MB, free: 5.012 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.04316, allocations: 1.137 MB / 289.6 MB, free: 3.871 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.04456, allocations: 0.6773 MB / 290.3 MB, free: 3.191 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.05024, allocations: 4.158 MB / 294.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.05024, allocations: 0 / 294.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.05024, allocations: 4 kB / 294.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.05037, allocations: 0 / 294.4 MB, free: 15.02 MB / 286.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.006976/0.05734, allocations: 3.017 MB / 297.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.05738, allocations: 8.031 kB / 297.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006558/0.06394, allocations: 1.984 MB / 299.4 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.06725, allocations: 1.336 MB / 300.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.06739, allocations: 123.4 kB / 300.9 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.06782, allocations: 159.8 kB / 301 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.07872, allocations: 6.549 MB / 307.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-05/0.07879, allocations: 27.77 kB / 307.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/0.07906, allocations: 83.89 kB / 307.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1135/0.1925, allocations: 1.461 MB / 309.2 MB, free: 46.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.204, allocations: 5.838 MB / 315 MB, free: 44.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02243/0.2265, allocations: 24.34 MB / 339.3 MB, free: 25.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/0.2313, allocations: 2.077 MB / 341.4 MB, free: 23.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.2324, allocations: 1.137 MB / 342.5 MB, free: 22.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005885/0.2383, allocations: 4.358 MB / 346.9 MB, free: 17.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2383, allocations: 42.56 kB / 346.9 MB, free: 17.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=97): time 3.276e-06/0.2383, allocations: 0 / 346.9 MB, free: 17.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=105): time 0.02209/0.2604, allocations: 10.05 MB / 357 MB, free: 7.762 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2605, allocations: 141 kB / 357.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.263, allocations: 2.618 MB / 359.8 MB, free: 4.988 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.2632, allocations: 37.7 kB / 359.8 MB, free: 4.945 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008044/0.264, allocations: 2.134 MB / 361.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.2644, allocations: 443 kB / 362.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008657/0.2652, allocations: 0.826 MB / 363.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.2653, allocations: 365.9 kB / 363.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.2674, allocations: 1.456 MB / 365 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005055/0.2724, allocations: 4.077 MB / 369.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008085/0.2805, allocations: 5.974 MB / 375 MB, free: 3.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.296e-05/0.2806, allocations: 28 kB / 375.1 MB, free: 3.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01307/0.2937, allocations: 6.256 MB / 381.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/0.2937, allocations: 46.97 kB / 381.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.2938, allocations: 96.88 kB / 381.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.2964, allocations: 0.8343 MB / 382.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.2997, allocations: 0.9529 MB / 383.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.3065, allocations: 4.514 MB / 387.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.3099, allocations: 299.6 kB / 388.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006815/0.3105, allocations: 267.8 kB / 388.3 MB, free: 5.664 MB / 318.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.002532/0.3131, allocations: 1.364 MB / 389.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/0.3137, allocations: 242.5 kB / 389.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004723/0.3184, allocations: 2.109 MB / 392 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/0.3185, allocations: 16 kB / 392.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3185, allocations: 4 kB / 392.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.3185, allocations: 7.984 kB / 392.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/0.3283, allocations: 4.374 MB / 396.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.3283, allocations: 4.062 kB / 396.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008475/0.3291, allocations: 159.8 kB / 396.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.3314, allocations: 0.6911 MB / 397.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.3315, allocations: 16 kB / 397.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006015/0.3375, allocations: 4.034 MB / 401.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3375, allocations: 4.031 kB / 401.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007247/0.3448, allocations: 4.055 MB / 405.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007139/0.3455, allocations: 210.5 kB / 405.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.3459, allocations: 19.92 kB / 405.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.3473, allocations: 111.8 kB / 405.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.3475, allocations: 60.39 kB / 405.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.3476, allocations: 28 kB / 405.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002772/0.3504, allocations: 1.522 MB / 407.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3504, allocations: 4.062 kB / 407.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003628/0.354, allocations: 0.7608 MB / 408.1 MB, free: 1.684 MB / 334.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.0006477/0.3546, allocations: 230.3 kB / 408.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006074/0.3607, allocations: 3.373 MB / 411.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.3607, allocations: 0 / 411.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.3623, allocations: 0.9578 MB / 412.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.3645, allocations: 241.1 kB / 412.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.3756, allocations: 5.747 MB / 418.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/0.3779, allocations: 1.671 MB / 420.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.003002/0.3809, allocations: 1.299 MB / 421.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.3814, allocations: 156.4 kB / 421.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3814, allocations: 0 / 421.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of Templates: time 0.04468/0.426, allocations: 20.88 MB / 442.6 MB, free: 15.32 MB / 382.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.548933904618025]