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.001326/0.001326, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001523/0.001524, allocations: 190 kB / 18.07 MB, free: 5.414 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.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001545/0.001546, allocations: 43.92 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0188/0.1283, allocations: 18.15 MB / 344.8 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.1404, allocations: 5.068 MB / 349.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004455/0.1449, allocations: 71.81 kB / 349.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.1476, allocations: 1.009 MB / 350.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.151, allocations: 1.246 MB / 352.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1522, allocations: 0.4991 MB / 352.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.1562, allocations: 3.577 MB / 356.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.1579, allocations: 1.368 MB / 357.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.159, allocations: 0.747 MB / 358.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.1604, allocations: 1.242 MB / 359.6 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.1606, allocations: 108 kB / 359.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.1624, allocations: 0.9047 MB / 360.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009255/0.1633, allocations: 1.04 MB / 361.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.1645, allocations: 1.223 MB / 362.9 MB, free: 484 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0043/0.1688, allocations: 3.925 MB / 366.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1688, allocations: 0 / 366.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1688, allocations: 0 / 366.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.719e-05/0.1689, allocations: 0 / 366.8 MB, free: 12.54 MB / 318.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.005752/0.1747, allocations: 3.003 MB / 369.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1747, allocations: 16.03 kB / 369.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/0.1799, allocations: 1.553 MB / 371.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.183, allocations: 1.457 MB / 372.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.1832, allocations: 126.9 kB / 372.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.1836, allocations: 163.8 kB / 373.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1984/0.382, allocations: 6.537 MB / 379.6 MB, free: 51.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.3821, allocations: 32.03 kB / 379.7 MB, free: 51.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.3824, allocations: 84.36 kB / 379.7 MB, free: 51.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002918/0.3854, allocations: 1.465 MB / 381.2 MB, free: 51.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.3973, allocations: 5.832 MB / 387 MB, free: 49.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/0.4227, allocations: 25.77 MB / 412.8 MB, free: 29.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/0.4278, allocations: 2.54 MB / 415.3 MB, free: 26.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.429, allocations: 1.216 MB / 416.6 MB, free: 25.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005991/0.435, allocations: 4.825 MB / 421.4 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.435, allocations: 42.5 kB / 421.4 MB, free: 20.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.025e-06/0.435, allocations: 0 / 421.4 MB, free: 20.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02764/0.4627, allocations: 9.811 MB / 431.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4628, allocations: 140.9 kB / 431.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.4658, allocations: 2.722 MB / 434.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.466, allocations: 37.7 kB / 434.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000775/0.4667, allocations: 2.044 MB / 436.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.467, allocations: 427.8 kB / 436.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007553/0.4678, allocations: 0.8398 MB / 437.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.4678, allocations: 301.1 kB / 437.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.4694, allocations: 1.449 MB / 439.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/0.473, allocations: 4.073 MB / 443.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00907/0.482, allocations: 5.962 MB / 449.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.551e-05/0.4821, allocations: 24 kB / 449.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01361/0.4958, allocations: 6.027 MB / 455.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.4959, allocations: 44 kB / 455.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/0.4962, allocations: 103.9 kB / 455.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.4987, allocations: 0.8173 MB / 456.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.5016, allocations: 0.9474 MB / 457.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.5076, allocations: 4.336 MB / 461.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.5107, allocations: 247.5 kB / 461.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005969/0.5113, allocations: 268 kB / 462 MB, free: 8.621 MB / 350.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.002472/0.5138, allocations: 1.368 MB / 463.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/0.5144, allocations: 225.1 kB / 463.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.5189, allocations: 2.139 MB / 465.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.5189, allocations: 12 kB / 465.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.5189, allocations: 4 kB / 465.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.519, allocations: 7.922 kB / 465.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5293, allocations: 5.082 MB / 470.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5294, allocations: 3.375 kB / 470.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000831/0.5302, allocations: 159.8 kB / 471 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.5323, allocations: 0.6795 MB / 471.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.5325, allocations: 12 kB / 471.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005047/0.5375, allocations: 3.894 MB / 475.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5376, allocations: 4 kB / 475.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.5438, allocations: 4.059 MB / 479.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.5448, allocations: 461.8 kB / 480.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005057/0.5454, allocations: 24.05 kB / 480.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.5466, allocations: 67.89 kB / 480.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.5468, allocations: 56.36 kB / 480.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.5469, allocations: 28 kB / 480.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00307/0.55, allocations: 1.701 MB / 482 MB, free: 4.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.55, allocations: 0 / 482 MB, free: 4.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005185/0.5552, allocations: 0.6641 MB / 482.6 MB, free: 3.68 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.0007659/0.556, allocations: 201.5 kB / 482.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008587/0.5646, allocations: 3.485 MB / 486.3 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.5646, allocations: 0 / 486.3 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.567, allocations: 1.04 MB / 487.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.5704, allocations: 247.5 kB / 487.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.5877, allocations: 6.886 MB / 494.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004788/0.5925, allocations: 2.248 MB / 496.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.005858/0.5984, allocations: 1.316 MB / 498.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009217/0.5994, allocations: 159.4 kB / 498.2 MB, free: 4.035 MB / 382.1 MB Notification: Performance of SimCode: time 1.894e-06/0.5994, allocations: 4 kB / 498.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of Templates: time 0.06201/0.6614, allocations: 23.05 MB / 0.509 GB, free: 12.95 MB / 414.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches