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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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.0009323/0.0009324, allocations: 92.48 kB / 16.65 MB, free: 6.59 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.001135/0.001135, allocations: 182.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003179, allocations: 8 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.09982, allocations: 50.41 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01689/0.1168, allocations: 17.43 MB / 369.3 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1995/0.3163, allocations: 5.04 MB / 374.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.3189, allocations: 74.44 kB / 374.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008104/0.3197, allocations: 275 kB / 374.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.3231, allocations: 1.26 MB / 375.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.3245, allocations: 0.5041 MB / 376.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005007/0.3295, allocations: 3.557 MB / 380 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.3323, allocations: 1.727 MB / 381.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.3336, allocations: 0.6877 MB / 382.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.3352, allocations: 1.176 MB / 383.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.3355, allocations: 82.59 kB / 383.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.3372, allocations: 0.9022 MB / 384.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008678/0.3381, allocations: 1.001 MB / 385.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009214/0.339, allocations: 1.215 MB / 386.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.3426, allocations: 3.84 MB / 390.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3426, allocations: 0 / 390.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3427, allocations: 3.938 kB / 390.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.257e-05/0.3427, allocations: 0 / 390.6 MB, free: 3.973 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.00459/0.3473, allocations: 2.504 MB / 393.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3474, allocations: 9.625 kB / 393.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/0.3528, allocations: 1.613 MB / 394.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.3552, allocations: 1.386 MB / 396.1 MB, free: 420 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.3553, allocations: 134.2 kB / 396.3 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.3557, allocations: 161.2 kB / 396.4 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.3659, allocations: 6.548 MB / 403 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.3661, allocations: 23.81 kB / 403 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.3664, allocations: 83.73 kB / 403.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/0.3692, allocations: 1.465 MB / 404.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.3806, allocations: 5.851 MB / 410.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03/0.4106, allocations: 25.76 MB / 436.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005695/0.4163, allocations: 2.572 MB / 438.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.4179, allocations: 1.221 MB / 439.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007008/0.4249, allocations: 4.807 MB / 444.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4249, allocations: 46.56 kB / 444.8 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 4.208e-06/0.4249, allocations: 0 / 444.8 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02715/0.4521, allocations: 9.767 MB / 454.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.4522, allocations: 137 kB / 454.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.4563, allocations: 2.706 MB / 457.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.4565, allocations: 45.7 kB / 457.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.4583, allocations: 2.047 MB / 459.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.459, allocations: 432 kB / 459.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004712/0.4595, allocations: 350.8 kB / 460.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4596, allocations: 309.1 kB / 460.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.4619, allocations: 1.445 MB / 462 MB, free: 14.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0043/0.4662, allocations: 4.073 MB / 466.1 MB, free: 9.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006966/0.4732, allocations: 5.95 MB / 472 MB, free: 2.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.368e-05/0.4733, allocations: 28 kB / 472 MB, free: 2.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01093/0.4842, allocations: 6.03 MB / 478.1 MB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.4843, allocations: 44 kB / 478.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-05/0.4844, allocations: 92 kB / 478.2 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.4869, allocations: 0.824 MB / 479 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/0.4902, allocations: 0.9513 MB / 480 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.496, allocations: 4.338 MB / 484.3 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.4992, allocations: 248.5 kB / 484.6 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/0.4997, allocations: 271.4 kB / 484.8 MB, free: 5.199 MB / 398.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.002389/0.5021, allocations: 1.368 MB / 486.2 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/0.5025, allocations: 221.2 kB / 486.4 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.5071, allocations: 2.134 MB / 488.5 MB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/0.5072, allocations: 16 kB / 488.6 MB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5072, allocations: 3.984 kB / 488.6 MB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.5072, allocations: 7.984 kB / 488.6 MB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.5174, allocations: 5.067 MB / 493.6 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.5174, allocations: 3.938 kB / 493.6 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008692/0.5183, allocations: 163.8 kB / 493.8 MB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.5205, allocations: 0.6833 MB / 494.5 MB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.5206, allocations: 18.66 kB / 494.5 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005296/0.5259, allocations: 3.889 MB / 498.4 MB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.526, allocations: 7.938 kB / 498.4 MB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006993/0.533, allocations: 4.055 MB / 0.4907 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.5341, allocations: 294 kB / 0.491 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.5343, allocations: 18.81 kB / 0.491 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.5354, allocations: 71.89 kB / 0.4911 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.5356, allocations: 60.36 kB / 0.4911 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.5357, allocations: 32.28 kB / 0.4911 GB, free: 2.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00285/0.5385, allocations: 1.689 MB / 0.4928 GB, free: 1.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5385, allocations: 0 / 0.4928 GB, free: 1.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003843/0.5424, allocations: 0.6797 MB / 0.4935 GB, free: 448 kB / 414.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.0005253/0.5429, allocations: 199.2 kB / 0.4936 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005833/0.5488, allocations: 3.483 MB / 0.497 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5488, allocations: 4 kB / 0.497 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.5503, allocations: 1.04 MB / 0.4981 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.5525, allocations: 255.4 kB / 0.4983 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5633, allocations: 6.928 MB / 0.5051 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/0.5657, allocations: 2.233 MB / 0.5073 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003275/0.569, allocations: 1.328 MB / 0.5085 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.5695, allocations: 159.4 kB / 0.5087 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5695, allocations: 0 / 0.5087 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of Templates: time 0.2204/0.7899, allocations: 22.68 MB / 0.5308 GB, free: 145.4 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (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) 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) Reference file matches