Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001837/0.001837, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008241/0.0008242, allocations: 98.28 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0114/0.2062, allocations: 16.34 MB / 390.9 MB, free: 32.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00775/0.214, allocations: 4.688 MB / 395.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.2157, allocations: 75.81 kB / 395.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2169, allocations: 0.7776 MB / 396.4 MB, free: 26.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.221, allocations: 2.646 MB / 399.1 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.2219, allocations: 483 kB / 399.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.224, allocations: 2.822 MB / 402.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.2255, allocations: 1.566 MB / 403.9 MB, free: 19.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006702/0.2261, allocations: 0.7589 MB / 404.7 MB, free: 18.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008948/0.227, allocations: 1.168 MB / 405.9 MB, free: 17.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.2272, allocations: 84 kB / 405.9 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.2282, allocations: 0.7449 MB / 406.7 MB, free: 16.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.2288, allocations: 0.9856 MB / 407.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.229, allocations: 0.5039 MB / 408.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.2309, allocations: 3.068 MB / 411.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2309, allocations: 4 kB / 411.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2309, allocations: 0 / 411.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.621e-05/0.2309, allocations: 0 / 411.3 MB, free: 12.03 MB / 298.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.003177/0.2341, allocations: 2.532 MB / 413.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2341, allocations: 8.031 kB / 413.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/0.2385, allocations: 1.622 MB / 415.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.2404, allocations: 1.414 MB / 416.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.2405, allocations: 127 kB / 416.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.2407, allocations: 167.8 kB / 417.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006723/0.2474, allocations: 6.534 MB / 423.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/0.2475, allocations: 31.66 kB / 423.7 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.2477, allocations: 79.89 kB / 423.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.2499, allocations: 1.468 MB / 425.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008813/0.2588, allocations: 5.814 MB / 431 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.2826, allocations: 25.76 MB / 456.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005002/0.2877, allocations: 2.584 MB / 459.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.2891, allocations: 1.219 MB / 460.6 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006647/0.2958, allocations: 4.799 MB / 465.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2959, allocations: 46.5 kB / 465.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 4.098e-06/0.2959, allocations: 4 kB / 465.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.02216/0.318, allocations: 9.753 MB / 475.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3181, allocations: 148.9 kB / 475.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.3211, allocations: 2.706 MB / 478.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-05/0.3212, allocations: 37.7 kB / 478.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.3223, allocations: 2.044 MB / 480.1 MB, free: 5.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.3227, allocations: 430.7 kB / 480.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3228, allocations: 80 kB / 480.6 MB, free: 4.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.323, allocations: 499 kB / 481.1 MB, free: 4.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.3249, allocations: 1.429 MB / 482.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/0.3281, allocations: 4.049 MB / 486.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.331, allocations: 2.348 MB / 488.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-05/0.331, allocations: 28 kB / 489 MB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009331/0.3404, allocations: 6.004 MB / 495 MB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.3405, allocations: 44.47 kB / 495 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-05/0.3405, allocations: 92 kB / 495.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/0.3427, allocations: 0.8244 MB / 495.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.3456, allocations: 0.9513 MB / 496.9 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/0.3508, allocations: 4.336 MB / 0.4895 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.3535, allocations: 243.6 kB / 0.4897 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003437/0.3539, allocations: 256 kB / 0.49 GB, free: 14.21 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001818/0.3557, allocations: 1.373 MB / 0.4913 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.3561, allocations: 229 kB / 0.4915 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.3601, allocations: 2.129 MB / 0.4936 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.3601, allocations: 12 kB / 0.4936 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3602, allocations: 8 kB / 0.4936 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3602, allocations: 3.984 kB / 0.4936 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008154/0.3683, allocations: 5.084 MB / 0.4986 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3684, allocations: 0 / 0.4986 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.3691, allocations: 159.7 kB / 0.4987 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.371, allocations: 0.6796 MB / 0.4994 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.3711, allocations: 15.98 kB / 0.4994 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00448/0.3756, allocations: 3.894 MB / 0.5032 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3756, allocations: 8.094 kB / 0.5032 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1562/0.5318, allocations: 4.043 MB / 0.5072 GB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.5327, allocations: 457.9 kB / 0.5076 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.533, allocations: 17.03 kB / 0.5076 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/0.5338, allocations: 74.72 kB / 0.5077 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.534, allocations: 57.36 kB / 0.5077 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.5341, allocations: 30.56 kB / 0.5078 GB, free: 120.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002146/0.5362, allocations: 1.69 MB / 0.5094 GB, free: 120 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5363, allocations: 0 / 0.5094 GB, free: 120 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003736/0.54, allocations: 0.6796 MB / 0.5101 GB, free: 119.9 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.5404, allocations: 172.5 kB / 0.5103 GB, free: 119.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005031/0.5455, allocations: 3.455 MB / 0.5136 GB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5455, allocations: 0 / 0.5136 GB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5466, allocations: 1.034 MB / 0.5146 GB, free: 118.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5482, allocations: 248.2 kB / 0.5149 GB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.5558, allocations: 6.954 MB / 0.5217 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.5574, allocations: 2.249 MB / 0.5239 GB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.5579, allocations: 191.4 kB / 0.524 GB, free: 113.3 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5579, allocations: 0 / 0.524 GB, free: 113.3 MB / 394.7 MB Notification: Performance of Templates: time 0.04395/0.6018, allocations: 47.96 MB / 0.5709 GB, free: 65.29 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches