Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 204.7 kB / 24.48 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.86 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2066, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008838/0.2155, allocations: 6.76 MB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.221, allocations: 3.153 MB / 442.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.2214, allocations: 43.81 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2234, allocations: 1.008 MB / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.2259, allocations: 1.358 MB / 444.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.2269, allocations: 0.5379 MB / 445.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00287/0.2297, allocations: 2.613 MB / 447.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.2311, allocations: 1.225 MB / 449 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.232, allocations: 0.8446 MB / 449.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.2335, allocations: 1.261 MB / 451.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.2337, allocations: 144 kB / 451.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.235, allocations: 0.7995 MB / 452.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00097/0.236, allocations: 1.071 MB / 453.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008778/0.2369, allocations: 0.8924 MB / 454.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.241, allocations: 4.108 MB / 458.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.241, allocations: 0 / 458.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.241, allocations: 0 / 458.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.479e-05/0.241, allocations: 0 / 458.2 MB, free: 12.81 MB / 366.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.004953/0.246, allocations: 2.982 MB / 461.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.246, allocations: 12.03 kB / 461.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/0.2514, allocations: 1.582 MB / 462.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.2543, allocations: 1.337 MB / 464.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2544, allocations: 123 kB / 464.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.2547, allocations: 155.9 kB / 464.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00939/0.2641, allocations: 6.542 MB / 470.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/0.2642, allocations: 31.7 kB / 470.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.2644, allocations: 79.89 kB / 471 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002584/0.267, allocations: 1.472 MB / 472.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009723/0.2768, allocations: 5.822 MB / 478.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.304, allocations: 24.17 MB / 0.4907 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/0.3095, allocations: 2.009 MB / 0.4926 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3111, allocations: 1.133 MB / 0.4938 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/0.3191, allocations: 4.252 MB / 0.4979 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3191, allocations: 42.56 kB / 0.4979 GB, free: 7.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.015e-06/0.3191, allocations: 0 / 0.4979 GB, free: 7.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02412/0.3432, allocations: 9.726 MB / 0.5074 GB, free: 13.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.3433, allocations: 137 kB / 0.5076 GB, free: 13.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.3465, allocations: 2.541 MB / 0.5101 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/0.3466, allocations: 37.7 kB / 0.5101 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.3481, allocations: 2.147 MB / 0.5122 GB, free: 8.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.3485, allocations: 456.6 kB / 0.5126 GB, free: 8.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.3496, allocations: 0.8378 MB / 0.5134 GB, free: 7.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3497, allocations: 357.9 kB / 0.5138 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.3519, allocations: 1.448 MB / 0.5152 GB, free: 5.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/0.3563, allocations: 4.069 MB / 0.5192 GB, free: 396 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007038/0.3633, allocations: 5.968 MB / 0.525 GB, free: 9.109 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-05/0.3634, allocations: 28 kB / 0.525 GB, free: 9.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01071/0.3741, allocations: 6.005 MB / 0.5309 GB, free: 3.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/0.3741, allocations: 44 kB / 0.5309 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-05/0.3742, allocations: 99.94 kB / 0.531 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.3768, allocations: 0.8209 MB / 0.5318 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.3797, allocations: 0.9513 MB / 0.5328 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.3861, allocations: 4.494 MB / 0.5372 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.3885, allocations: 243.7 kB / 0.5374 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.3888, allocations: 260 kB / 0.5376 GB, free: 12.07 MB / 462.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.001858/0.3907, allocations: 1.368 MB / 0.539 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.391, allocations: 214.5 kB / 0.5392 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.3957, allocations: 2.104 MB / 0.5412 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.3957, allocations: 7.984 kB / 0.5412 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.3957, allocations: 3.938 kB / 0.5412 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.396, allocations: 186.5 kB / 0.5414 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.3962, allocations: 16 kB / 0.5414 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.3971, allocations: 71.88 kB / 0.5415 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.3973, allocations: 64.31 kB / 0.5416 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005144/0.4025, allocations: 2.644 MB / 0.5441 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00445/0.4069, allocations: 3.355 MB / 0.5474 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001117/0.408, allocations: 0.7529 MB / 0.5482 GB, free: 1.238 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1637/0.5717, allocations: 1.45 MB / 0.5496 GB, free: 114.7 MB / 462.1 MB Notification: Performance of Backend: time 5.11e-07/0.5717, allocations: 0 / 0.5496 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005751/0.5774, allocations: 2.849 MB / 0.5524 GB, free: 114.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.006774/0.5842, allocations: 5.91 MB / 0.5581 GB, free: 111.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04135/0.6256, allocations: 32.49 MB / 0.5898 GB, free: 85.53 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.526701963994128]