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.002616/0.002616, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.003232/0.003232, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.607/1.607, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 4.288e-06/4.288e-06, allocations: 4 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.54e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01036/0.01039, allocations: 7.381 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006794/0.01718, allocations: 3.278 MB / 282.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009239/0.01811, allocations: 43.81 kB / 282.9 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.02057, allocations: 1.094 MB / 284 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.02387, allocations: 1.396 MB / 285.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.02518, allocations: 0.5922 MB / 286 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.02908, allocations: 2.968 MB / 289 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1218/0.1509, allocations: 1.52 MB / 290.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.153, allocations: 1.279 MB / 291.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.1551, allocations: 1.337 MB / 293.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.1554, allocations: 151.4 kB / 293.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.1573, allocations: 0.8246 MB / 294.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.1585, allocations: 1.129 MB / 295.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000966/0.1594, allocations: 0.6786 MB / 295.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.1658, allocations: 4.104 MB / 300 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1658, allocations: 1.344 kB / 300 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1658, allocations: 0 / 300 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.166, allocations: 0 / 300 MB, free: 14.41 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.007916/0.1739, allocations: 3.543 MB / 303.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1739, allocations: 13.42 kB / 303.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/0.1796, allocations: 1.898 MB / 305.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.1825, allocations: 1.225 MB / 306.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/0.1826, allocations: 120.4 kB / 306.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.1829, allocations: 157.2 kB / 306.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007384/0.1903, allocations: 4.138 MB / 311.1 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.996e-05/0.1904, allocations: 32.12 kB / 311.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.1906, allocations: 83.31 kB / 311.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002551/0.1932, allocations: 1.467 MB / 312.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00732/0.2005, allocations: 2.418 MB / 315.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/0.2417, allocations: 31.06 MB / 346.1 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/0.247, allocations: 1.258 MB / 347.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.248, allocations: 407.9 kB / 347.8 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009012/0.257, allocations: 3.381 MB / 351.2 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.2571, allocations: 56.41 kB / 351.2 MB, free: 108 kB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 4.198e-06/0.2571, allocations: 0 / 351.2 MB, free: 108 kB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.02393/0.281, allocations: 6.991 MB / 358.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.2811, allocations: 144.2 kB / 358.4 MB, free: 8.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005033/0.2861, allocations: 2.95 MB / 361.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.2864, allocations: 37.7 kB / 361.3 MB, free: 5.875 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.2889, allocations: 2.388 MB / 363.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007316/0.2896, allocations: 483.2 kB / 364.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/0.2914, allocations: 1.05 MB / 365.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003975/0.2918, allocations: 0.5512 MB / 365.8 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.2932, allocations: 0.496 MB / 366.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005427/0.2986, allocations: 4.51 MB / 370.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007997/0.3066, allocations: 5.505 MB / 376.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.3067, allocations: 28 kB / 376.3 MB, free: 3.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01092/0.3177, allocations: 4.161 MB / 380.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.3177, allocations: 48.03 kB / 380.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.3179, allocations: 95.25 kB / 380.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/0.3201, allocations: 0.5614 MB / 381.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.3231, allocations: 0.9513 MB / 382.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.3282, allocations: 3.06 MB / 385.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.3314, allocations: 283.5 kB / 385.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005329/0.3319, allocations: 263.7 kB / 385.8 MB, free: 9.844 MB / 346.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.001572/0.3335, allocations: 0.5667 MB / 386.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.3341, allocations: 242.6 kB / 386.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.3379, allocations: 1.187 MB / 387.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.3379, allocations: 12 kB / 387.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3379, allocations: 7.938 kB / 387.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.3379, allocations: 7.984 kB / 387.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.3483, allocations: 3.929 MB / 391.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3483, allocations: 0 / 391.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008539/0.3492, allocations: 159.8 kB / 391.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.3513, allocations: 435.7 kB / 392.3 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.3514, allocations: 19.94 kB / 392.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/0.3556, allocations: 2.539 MB / 394.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3557, allocations: 7.938 kB / 394.9 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.361, allocations: 2.155 MB / 397 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/0.3618, allocations: 214.4 kB / 397.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.3621, allocations: 12 kB / 397.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.3633, allocations: 107.8 kB / 397.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.3635, allocations: 60.33 kB / 397.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/0.3636, allocations: 33.39 kB / 397.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002473/0.3661, allocations: 1.205 MB / 398.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3661, allocations: 4 kB / 398.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003864/0.3699, allocations: 0.7419 MB / 399.4 MB, free: 11.98 MB / 362.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.0006293/0.3705, allocations: 221 kB / 399.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004965/0.3755, allocations: 2.326 MB / 401.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3755, allocations: 0 / 401.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3766, allocations: 0.5923 MB / 402.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.3782, allocations: 235.4 kB / 402.7 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/0.3873, allocations: 4.595 MB / 407.3 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.3896, allocations: 1.494 MB / 408.8 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002892/0.3925, allocations: 1.114 MB / 409.9 MB, free: 1.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.393, allocations: 156.5 kB / 410.1 MB, free: 1.125 MB / 362.7 MB Notification: Performance of SimCode: time 2.103e-06/0.393, allocations: 4 kB / 410.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of Templates: time 0.04829/0.4413, allocations: 20.84 MB / 430.9 MB, free: 12.59 MB / 394.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 -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","/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.084387085051276]