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.002007/0.002007, allocations: 109.5 kB / 17.06 MB, free: 5.992 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.002378/0.002378, allocations: 192 kB / 18 MB, free: 5.082 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.58/1.58, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009649/0.0009649, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3051, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009042/0.3142, allocations: 7.62 MB / 408.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006654/0.3208, allocations: 3.337 MB / 411.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.3222, allocations: 39.88 kB / 411.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.3249, allocations: 1.016 MB / 412.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.3288, allocations: 1.377 MB / 414.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3304, allocations: 0.5418 MB / 414.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.3339, allocations: 2.594 MB / 417.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.3361, allocations: 1.393 MB / 418.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.3377, allocations: 0.829 MB / 419.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.3393, allocations: 1.156 MB / 420.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.3398, allocations: 144 kB / 420.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.3416, allocations: 0.9048 MB / 421.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.3428, allocations: 1.063 MB / 422.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.3445, allocations: 1.25 MB / 424 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.3491, allocations: 4.123 MB / 428.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3491, allocations: 4 kB / 428.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3492, allocations: 0 / 428.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001154/0.3493, allocations: 0 / 428.1 MB, free: 13.36 MB / 350.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.005656/0.3549, allocations: 2.999 MB / 431.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.355, allocations: 12.02 kB / 431.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/0.3604, allocations: 1.569 MB / 432.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.3635, allocations: 1.406 MB / 434.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3637, allocations: 131 kB / 434.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005026/0.3642, allocations: 163.8 kB / 434.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009807/0.374, allocations: 6.538 MB / 440.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/0.3741, allocations: 31.75 kB / 441 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.3743, allocations: 87.75 kB / 441.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/0.3768, allocations: 1.46 MB / 442.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.3871, allocations: 5.83 MB / 448.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03049/0.4177, allocations: 25.65 MB / 474 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.4234, allocations: 2.553 MB / 476.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.425, allocations: 1.215 MB / 477.8 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007848/0.4329, allocations: 4.815 MB / 482.6 MB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4329, allocations: 46.5 kB / 482.6 MB, free: 5.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 4.999e-06/0.4329, allocations: 3.984 kB / 482.6 MB, free: 5.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.02398/0.4569, allocations: 9.784 MB / 492.4 MB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.457, allocations: 140.9 kB / 492.5 MB, free: 11.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.4607, allocations: 2.706 MB / 495.2 MB, free: 8.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/0.4608, allocations: 41.7 kB / 495.3 MB, free: 8.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.4622, allocations: 2.041 MB / 497.3 MB, free: 6.293 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.4626, allocations: 434.6 kB / 497.8 MB, free: 5.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.4637, allocations: 0.8371 MB / 498.6 MB, free: 5.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.4638, allocations: 309 kB / 498.9 MB, free: 4.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.4659, allocations: 1.449 MB / 0.4886 GB, free: 3.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/0.4697, allocations: 4.073 MB / 0.4926 GB, free: 13.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006359/0.4761, allocations: 5.947 MB / 0.4984 GB, free: 6.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.985e-05/0.4762, allocations: 28 kB / 0.4984 GB, free: 6.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01026/0.4864, allocations: 6.033 MB / 0.5043 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.4865, allocations: 44 kB / 0.5044 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.4866, allocations: 95.98 kB / 0.5045 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.489, allocations: 0.8309 MB / 0.5053 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.4918, allocations: 0.9474 MB / 0.5062 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/0.4978, allocations: 4.648 MB / 0.5107 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.5005, allocations: 243.6 kB / 0.511 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.5009, allocations: 260 kB / 0.5112 GB, free: 9.324 MB / 446.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.001954/0.5029, allocations: 1.376 MB / 0.5126 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.5033, allocations: 229 kB / 0.5128 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/0.508, allocations: 2.128 MB / 0.5148 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.508, allocations: 12 kB / 0.5149 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.508, allocations: 4 kB / 0.5149 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.508, allocations: 3.984 kB / 0.5149 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009539/0.5176, allocations: 5.081 MB / 0.5198 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5176, allocations: 0 / 0.5198 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.5184, allocations: 155.8 kB / 0.52 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/0.5205, allocations: 0.6874 MB / 0.5206 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/0.5206, allocations: 12 kB / 0.5207 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/0.5258, allocations: 4.152 MB / 0.5247 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5259, allocations: 0 / 0.5247 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/0.5321, allocations: 4.055 MB / 0.5287 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.5328, allocations: 286.1 kB / 0.5289 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004581/0.5332, allocations: 12 kB / 0.529 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.5344, allocations: 79.89 kB / 0.529 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.5346, allocations: 60.3 kB / 0.5291 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/0.5347, allocations: 28 kB / 0.5291 GB, free: 6.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002954/0.5377, allocations: 1.693 MB / 0.5308 GB, free: 4.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5377, allocations: 0 / 0.5308 GB, free: 4.977 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00327/0.541, allocations: 0.6718 MB / 0.5314 GB, free: 4.305 MB / 462.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.0004607/0.5415, allocations: 206.8 kB / 0.5316 GB, free: 4.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.5465, allocations: 3.493 MB / 0.535 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5465, allocations: 4 kB / 0.535 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1867/0.7332, allocations: 1.036 MB / 0.5361 GB, free: 133.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.7355, allocations: 249.8 kB / 0.5363 GB, free: 133.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/0.7444, allocations: 5.611 MB / 0.5418 GB, free: 132.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.7462, allocations: 2.236 MB / 0.544 GB, free: 131.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002375/0.7486, allocations: 1.325 MB / 0.5453 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.749, allocations: 159.3 kB / 0.5454 GB, free: 131.1 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.749, allocations: 0 / 0.5454 GB, free: 131.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03462/0.7836, allocations: 21.76 MB / 0.5667 GB, free: 111.6 MB / 462.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