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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 104.5 kB / 17.59 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 191.9 kB / 18.51 MB, free: 4.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB 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.001295/0.001295, allocations: 51.94 kB / 280.7 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 46.64 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008303/0.1182, allocations: 7.658 MB / 335 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.1243, allocations: 3.302 MB / 338.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.1253, allocations: 39.88 kB / 338.3 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.1272, allocations: 1.035 MB / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.1308, allocations: 1.335 MB / 340.7 MB, free: 7.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1323, allocations: 0.5457 MB / 341.2 MB, free: 6.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.1358, allocations: 2.598 MB / 343.8 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.1377, allocations: 1.401 MB / 345.2 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1391, allocations: 0.8368 MB / 346 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.1406, allocations: 1.16 MB / 347.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.141, allocations: 148 kB / 347.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.143, allocations: 0.8931 MB / 348.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009863/0.144, allocations: 1.06 MB / 349.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.1452, allocations: 1.246 MB / 350.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.15, allocations: 3.952 MB / 354.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.15, allocations: 0 / 354.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.15, allocations: 4 kB / 354.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.498e-05/0.1501, allocations: 0 / 354.5 MB, free: 9.137 MB / 302.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.005951/0.156, allocations: 2.995 MB / 357.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1561, allocations: 12.03 kB / 357.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.1613, allocations: 1.576 MB / 359.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.1641, allocations: 1.442 MB / 360.5 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1642, allocations: 130.9 kB / 360.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.1645, allocations: 167.8 kB / 360.8 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00875/0.1733, allocations: 6.53 MB / 367.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.116e-05/0.1734, allocations: 31.75 kB / 367.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.1736, allocations: 83.89 kB / 367.5 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00247/0.1761, allocations: 1.46 MB / 368.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009798/0.1859, allocations: 5.83 MB / 374.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2269/0.4128, allocations: 25.76 MB / 400.5 MB, free: 32.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.4181, allocations: 2.549 MB / 403.1 MB, free: 31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4196, allocations: 1.208 MB / 404.3 MB, free: 30.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006653/0.4263, allocations: 4.825 MB / 409.1 MB, free: 27.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4264, allocations: 42.47 kB / 409.1 MB, free: 27.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.176e-06/0.4264, allocations: 0 / 409.1 MB, free: 27.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02128/0.4477, allocations: 9.799 MB / 418.9 MB, free: 20.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.4477, allocations: 140.9 kB / 419.1 MB, free: 20.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.4507, allocations: 2.722 MB / 421.8 MB, free: 17.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4508, allocations: 37.7 kB / 421.8 MB, free: 17.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008406/0.4516, allocations: 2.05 MB / 423.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.4519, allocations: 431.8 kB / 424.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007666/0.4527, allocations: 0.837 MB / 425.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.4528, allocations: 309.1 kB / 425.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.4543, allocations: 1.449 MB / 426.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/0.4569, allocations: 4.075 MB / 431 MB, free: 7.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004402/0.4613, allocations: 5.952 MB / 436.9 MB, free: 52 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/0.4614, allocations: 28 kB / 436.9 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01004/0.4714, allocations: 6.025 MB / 443 MB, free: 9.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.4715, allocations: 44 kB / 443 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.583e-05/0.4716, allocations: 95.31 kB / 443.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.4739, allocations: 0.8193 MB / 443.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.4765, allocations: 0.9513 MB / 444.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/0.4823, allocations: 4.65 MB / 449.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/0.4856, allocations: 247.5 kB / 449.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/0.4861, allocations: 260 kB / 450 MB, free: 2.812 MB / 334.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.002228/0.4883, allocations: 1.376 MB / 451.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.4888, allocations: 229 kB / 451.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/0.493, allocations: 2.126 MB / 453.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.4931, allocations: 15.98 kB / 453.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4931, allocations: 4 kB / 453.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4931, allocations: 11.98 kB / 453.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009642/0.5027, allocations: 5.083 MB / 458.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5028, allocations: 3.938 kB / 458.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.5036, allocations: 156.3 kB / 459 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.5058, allocations: 0.6911 MB / 459.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.5059, allocations: 19.98 kB / 459.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/0.5111, allocations: 4.143 MB / 463.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.5111, allocations: 4 kB / 463.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006645/0.5178, allocations: 4.062 MB / 467.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.5188, allocations: 450 kB / 468.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/0.5194, allocations: 20 kB / 468.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.5207, allocations: 69.84 kB / 468.5 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.521, allocations: 64.36 kB / 468.5 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.846e-05/0.5211, allocations: 28.05 kB / 468.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002508/0.5236, allocations: 1.701 MB / 470.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5236, allocations: 0 / 470.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003621/0.5272, allocations: 0.6737 MB / 470.9 MB, free: 13.62 MB / 366.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.0004451/0.5277, allocations: 201.7 kB / 471.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.5329, allocations: 3.699 MB / 474.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.533, allocations: 1.188 kB / 474.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.5342, allocations: 1.04 MB / 475.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5358, allocations: 265.2 kB / 476.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.5448, allocations: 5.688 MB / 481.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/0.5474, allocations: 2.244 MB / 484.1 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002937/0.5504, allocations: 1.322 MB / 485.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.5508, allocations: 163.4 kB / 485.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.654e-06/0.5508, allocations: 0 / 485.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Templates: time 0.05057/0.6014, allocations: 23.96 MB / 0.4976 GB, free: 6.992 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (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) 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) Reference file matches