Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 118.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 215.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.88 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2773, allocations: 50.55 MB / 410.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009608/0.2869, allocations: 7.626 MB / 417.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006505/0.2934, allocations: 3.36 MB / 421.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.2943, allocations: 35.94 kB / 421.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2964, allocations: 1.039 MB / 422.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.2993, allocations: 1.331 MB / 423.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3005, allocations: 0.5418 MB / 424.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.3038, allocations: 2.621 MB / 426.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.3054, allocations: 1.202 MB / 428 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.3065, allocations: 0.8329 MB / 428.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.3079, allocations: 1.141 MB / 429.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.3082, allocations: 148 kB / 430.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3099, allocations: 0.8968 MB / 431 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.3109, allocations: 1.075 MB / 432.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.3122, allocations: 1.234 MB / 433.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.317, allocations: 4.096 MB / 437.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.317, allocations: 0 / 437.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.317, allocations: 0 / 437.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.244e-05/0.3171, allocations: 0 / 437.4 MB, free: 6.113 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.005632/0.3227, allocations: 3.069 MB / 440.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3227, allocations: 8.031 kB / 440.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.3284, allocations: 1.586 MB / 442.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.3314, allocations: 1.387 MB / 443.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.3315, allocations: 127 kB / 443.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.3319, allocations: 155.9 kB / 443.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.3422, allocations: 6.545 MB / 450.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/0.3423, allocations: 27.77 kB / 450.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.3425, allocations: 87.83 kB / 450.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002697/0.3452, allocations: 1.468 MB / 451.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.356, allocations: 5.822 MB / 457.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03124/0.3873, allocations: 25.7 MB / 483.4 MB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.3933, allocations: 2.463 MB / 485.8 MB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.395, allocations: 1.136 MB / 487 MB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008417/0.4034, allocations: 4.824 MB / 491.8 MB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.4035, allocations: 42.56 kB / 491.8 MB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.657e-06/0.4035, allocations: 0 / 491.8 MB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02496/0.4284, allocations: 9.92 MB / 0.49 GB, free: 3.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/0.4285, allocations: 141 kB / 0.4901 GB, free: 3.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.4321, allocations: 2.711 MB / 0.4928 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.97e-05/0.4322, allocations: 41.64 kB / 0.4928 GB, free: 1.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.4338, allocations: 2.124 MB / 0.4949 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.4342, allocations: 448.6 kB / 0.4953 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.4353, allocations: 0.8455 MB / 0.4961 GB, free: 13.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4354, allocations: 309.1 kB / 0.4964 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.4376, allocations: 1.449 MB / 0.4979 GB, free: 11.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004307/0.4419, allocations: 4.069 MB / 0.5018 GB, free: 6.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/0.4491, allocations: 5.954 MB / 0.5076 GB, free: 15.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.835e-05/0.4492, allocations: 28 kB / 0.5077 GB, free: 15.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01149/0.4606, allocations: 6.033 MB / 0.5136 GB, free: 9.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.4607, allocations: 44 kB / 0.5136 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.4608, allocations: 92 kB / 0.5137 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/0.4633, allocations: 0.8205 MB / 0.5145 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.4664, allocations: 0.9513 MB / 0.5154 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006903/0.4733, allocations: 4.652 MB / 0.52 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.4764, allocations: 243.7 kB / 0.5202 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005361/0.4769, allocations: 260 kB / 0.5204 GB, free: 1.91 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.002164/0.4791, allocations: 1.376 MB / 0.5218 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.4795, allocations: 238.3 kB / 0.522 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/0.4843, allocations: 2.126 MB / 0.5241 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.4844, allocations: 16 kB / 0.5241 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4844, allocations: 4 kB / 0.5241 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4844, allocations: 3.984 kB / 0.5241 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00969/0.4941, allocations: 5.066 MB / 0.5291 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.4941, allocations: 0 / 0.5291 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.4949, allocations: 159.8 kB / 0.5292 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.4973, allocations: 0.6834 MB / 0.5299 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/0.4974, allocations: 28.25 kB / 0.5299 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00575/0.5031, allocations: 4.149 MB / 0.534 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5031, allocations: 0 / 0.534 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1863/0.6894, allocations: 4.054 MB / 0.5379 GB, free: 123.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.69, allocations: 293.9 kB / 0.5382 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/0.6904, allocations: 17.02 kB / 0.5382 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.6915, allocations: 75.8 kB / 0.5383 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.6917, allocations: 55.97 kB / 0.5383 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6918, allocations: 33.88 kB / 0.5384 GB, free: 123.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002775/0.6946, allocations: 1.684 MB / 0.54 GB, free: 123.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6946, allocations: 0 / 0.54 GB, free: 123.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003035/0.6976, allocations: 0.6697 MB / 0.5407 GB, free: 123.5 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.0003887/0.698, allocations: 201.7 kB / 0.5409 GB, free: 123.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.7021, allocations: 3.362 MB / 0.5441 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7021, allocations: 0 / 0.5441 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7032, allocations: 0.9594 MB / 0.5451 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.7045, allocations: 266.5 kB / 0.5453 GB, free: 121.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006281/0.7108, allocations: 5.677 MB / 0.5509 GB, free: 119.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.7123, allocations: 2.238 MB / 0.5531 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002239/0.7146, allocations: 1.319 MB / 0.5544 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.7149, allocations: 163.2 kB / 0.5545 GB, free: 117.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7149, allocations: 0 / 0.5545 GB, free: 117.8 MB / 462.1 MB Notification: Performance of Templates: time 0.03523/0.7502, allocations: 21.88 MB / 0.5759 GB, free: 97.02 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches