Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001653/0.001653, allocations: 100.6 kB / 21.18 MB, free: 0.5508 MB / 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.001924/0.001924, allocations: 189.2 kB / 24.47 MB, free: 3.91 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 61.3 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3011, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009593/0.3107, allocations: 7.734 MB / 404.6 MB, free: 4.09 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01011/0.3208, allocations: 3.339 MB / 407.9 MB, free: 1.902 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.324, allocations: 42.84 kB / 407.9 MB, free: 1.891 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003851/0.3278, allocations: 1.053 MB / 409 MB, free: 1.426 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.008754/0.3366, allocations: 1.375 MB / 410.4 MB, free: 0.8359 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.339, allocations: 0.5444 MB / 410.9 MB, free: 0.5586 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006662/0.3457, allocations: 2.588 MB / 413.5 MB, free: 15.19 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002967/0.3487, allocations: 1.098 MB / 414.6 MB, free: 14.41 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.3514, allocations: 0.8528 MB / 415.4 MB, free: 13.95 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.3551, allocations: 1.278 MB / 416.7 MB, free: 13.18 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001067/0.3562, allocations: 148.1 kB / 416.9 MB, free: 13.18 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.3598, allocations: 0.9273 MB / 417.8 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002382/0.3621, allocations: 1.093 MB / 418.9 MB, free: 12.13 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004122/0.3663, allocations: 1.256 MB / 420.1 MB, free: 11.17 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3778, allocations: 4.134 MB / 424.3 MB, free: 7.883 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3779, allocations: 0 / 424.3 MB, free: 7.883 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.983e-06/0.3779, allocations: 0 / 424.3 MB, free: 7.883 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0001677/0.378, allocations: 7.984 kB / 424.3 MB, free: 7.875 MB / 334.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.01056/0.3886, allocations: 3.001 MB / 427.3 MB, free: 4.828 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.3886, allocations: 15.98 kB / 427.3 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007109/0.3958, allocations: 1.594 MB / 428.9 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/0.4002, allocations: 1.408 MB / 430.3 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.4004, allocations: 123 kB / 430.4 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005577/0.4009, allocations: 159.9 kB / 430.6 MB, free: 1.5 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.413, allocations: 6.53 MB / 437.1 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.642e-05/0.4131, allocations: 31.7 kB / 437.1 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.4134, allocations: 83.89 kB / 437.2 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.4162, allocations: 1.464 MB / 438.7 MB, free: 8.902 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.4288, allocations: 5.834 MB / 444.5 MB, free: 3.074 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03881/0.4676, allocations: 25.63 MB / 470.2 MB, free: 8.66 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.005749/0.4733, allocations: 2.019 MB / 472.2 MB, free: 6.598 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.4751, allocations: 1.133 MB / 473.3 MB, free: 5.453 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.4851, allocations: 4.544 MB / 477.9 MB, free: 0.8828 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4851, allocations: 50.5 kB / 477.9 MB, free: 0.8242 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=97): time 4.829e-06/0.4851, allocations: 0 / 477.9 MB, free: 0.8242 MB / 382.1 MB
Notification: Performance of matching and sorting (n=105): time 0.02683/0.512, allocations: 9.713 MB / 487.6 MB, free: 7.035 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5121, allocations: 140.9 kB / 487.8 MB, free: 6.867 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004549/0.5166, allocations: 2.735 MB / 490.5 MB, free: 4.113 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004472/0.5171, allocations: 45.69 kB / 490.5 MB, free: 4.062 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.5192, allocations: 2.128 MB / 492.7 MB, free: 1.914 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006986/0.5199, allocations: 452.6 kB / 493.1 MB, free: 1.469 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.5211, allocations: 0.8339 MB / 493.9 MB, free: 0.6211 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001432/0.5212, allocations: 301.1 kB / 494.2 MB, free: 332 kB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.5236, allocations: 1.452 MB / 495.7 MB, free: 14.86 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/0.5283, allocations: 4.065 MB / 499.8 MB, free: 9.469 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/0.5368, allocations: 5.968 MB / 0.4939 GB, free: 2.191 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-05/0.5369, allocations: 24 kB / 0.4939 GB, free: 2.168 MB / 414.1 MB
Notification: Performance of matching and sorting (n=538) (initialization): time 0.01412/0.551, allocations: 6.034 MB / 0.4998 GB, free: 12.12 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.5512, allocations: 48 kB / 0.4998 GB, free: 12.07 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/0.5514, allocations: 92 kB / 0.4999 GB, free: 11.98 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.5541, allocations: 0.8162 MB / 0.5007 GB, free: 11.16 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.5581, allocations: 0.9514 MB / 0.5016 GB, free: 10.21 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007306/0.5654, allocations: 4.557 MB / 0.5061 GB, free: 5.539 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.5693, allocations: 247.6 kB / 0.5063 GB, free: 5.297 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.5703, allocations: 260 kB / 0.5066 GB, free: 5.043 MB / 430.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.003934/0.5743, allocations: 1.372 MB / 0.5079 GB, free: 3.656 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/0.5751, allocations: 246.3 kB / 0.5081 GB, free: 3.414 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.5806, allocations: 2.114 MB / 0.5102 GB, free: 1.285 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.064e-05/0.5807, allocations: 16.55 kB / 0.5102 GB, free: 1.27 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.5807, allocations: 4 kB / 0.5102 GB, free: 1.266 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.5807, allocations: 11.98 kB / 0.5102 GB, free: 1.254 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.5947, allocations: 5.03 MB / 0.5152 GB, free: 12.15 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.5947, allocations: 0 / 0.5152 GB, free: 12.15 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/0.5957, allocations: 155.8 kB / 0.5153 GB, free: 12 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.5981, allocations: 0.6794 MB / 0.516 GB, free: 11.32 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.5983, allocations: 24.03 kB / 0.516 GB, free: 11.29 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005992/0.6043, allocations: 4.056 MB / 0.52 GB, free: 7.121 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6043, allocations: 0 / 0.52 GB, free: 7.121 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007732/0.612, allocations: 4.06 MB / 0.5239 GB, free: 3.027 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001883/0.6139, allocations: 390.1 kB / 0.5243 GB, free: 2.645 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006854/0.6146, allocations: 12 kB / 0.5243 GB, free: 2.633 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.6161, allocations: 79.83 kB / 0.5244 GB, free: 2.555 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.6163, allocations: 60.27 kB / 0.5244 GB, free: 2.496 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.6164, allocations: 28 kB / 0.5245 GB, free: 2.469 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.004357/0.6208, allocations: 1.701 MB / 0.5261 GB, free: 0.7578 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.9e-07/0.6208, allocations: 0 / 0.5261 GB, free: 0.7578 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.005582/0.6264, allocations: 0.6833 MB / 0.5268 GB, free: 76 kB / 446.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.0008334/0.6272, allocations: 194.8 kB / 0.527 GB, free: 15.88 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.008005/0.6352, allocations: 3.36 MB / 0.5303 GB, free: 12.52 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.6352, allocations: 0 / 0.5303 GB, free: 12.52 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001885/0.6371, allocations: 0.9655 MB / 0.5312 GB, free: 11.54 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.6402, allocations: 257.3 kB / 0.5314 GB, free: 11.29 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.6539, allocations: 5.759 MB / 0.5371 GB, free: 5.48 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/0.6578, allocations: 2.233 MB / 0.5393 GB, free: 3.219 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.003969/0.6618, allocations: 1.329 MB / 0.5405 GB, free: 1.883 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/0.6625, allocations: 159.4 kB / 0.5407 GB, free: 1.727 MB / 462.1 MB
Notification: Performance of SimCode: time 1.853e-06/0.6625, allocations: 0 / 0.5407 GB, free: 1.727 MB / 462.1 MB
Notification: Performance of Templates: time 0.3032/0.9657, allocations: 24.84 MB / 0.565 GB, free: 147.1 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.344512524083257]