Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 198.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1989, allocations: 50.54 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008217/0.2071, allocations: 7.588 MB / 417.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005664/0.2128, allocations: 3.352 MB / 420.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007735/0.2136, allocations: 35.94 kB / 420.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.2157, allocations: 1.031 MB / 422 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.2185, allocations: 1.311 MB / 423.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2196, allocations: 0.5379 MB / 423.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003007/0.2226, allocations: 2.621 MB / 426.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.2242, allocations: 1.378 MB / 427.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.2253, allocations: 0.829 MB / 428.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.2268, allocations: 1.137 MB / 429.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.2272, allocations: 151.9 kB / 429.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2287, allocations: 0.8969 MB / 430.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008985/0.2297, allocations: 1.052 MB / 431.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.2307, allocations: 1.234 MB / 433.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.2343, allocations: 4.08 MB / 437.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2344, allocations: 4 kB / 437.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2344, allocations: 0 / 437.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.2344, allocations: 0 / 437.2 MB, free: 6.215 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.004385/0.2388, allocations: 2.984 MB / 440.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2388, allocations: 8.031 kB / 440.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.2438, allocations: 1.569 MB / 441.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.2462, allocations: 1.386 MB / 443.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.2463, allocations: 123 kB / 443.3 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.2466, allocations: 159.8 kB / 443.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007961/0.2546, allocations: 6.534 MB / 449.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.2547, allocations: 31.66 kB / 450 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.2549, allocations: 79.91 kB / 450.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002313/0.2572, allocations: 1.48 MB / 451.5 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009062/0.2663, allocations: 5.826 MB / 457.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/0.2915, allocations: 25.65 MB / 483 MB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.2968, allocations: 2.541 MB / 485.5 MB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.2982, allocations: 1.223 MB / 486.8 MB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006767/0.305, allocations: 4.815 MB / 491.6 MB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3051, allocations: 38.56 kB / 491.6 MB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.986e-06/0.3051, allocations: 4 kB / 491.6 MB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02291/0.328, allocations: 9.772 MB / 0.4896 GB, free: 4.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3281, allocations: 137.2 kB / 0.4898 GB, free: 4.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/0.3314, allocations: 2.706 MB / 0.4924 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.3315, allocations: 45.7 kB / 0.4925 GB, free: 1.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.3328, allocations: 2.048 MB / 0.4945 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.3332, allocations: 426.7 kB / 0.4949 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.3342, allocations: 0.8293 MB / 0.4957 GB, free: 13.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.3343, allocations: 305.1 kB / 0.496 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.3364, allocations: 1.449 MB / 0.4974 GB, free: 12.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/0.3401, allocations: 4.065 MB / 0.5014 GB, free: 6.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006219/0.3463, allocations: 5.963 MB / 0.5072 GB, free: 15.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.512e-05/0.3464, allocations: 24 kB / 0.5072 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01004/0.3565, allocations: 6.043 MB / 0.5131 GB, free: 9.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.3565, allocations: 52.06 kB / 0.5132 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.3567, allocations: 100 kB / 0.5132 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.359, allocations: 0.8201 MB / 0.5141 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.3616, allocations: 0.9396 MB / 0.515 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/0.3675, allocations: 4.663 MB / 0.5195 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.3699, allocations: 239.6 kB / 0.5198 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.3702, allocations: 256 kB / 0.52 GB, free: 2.234 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.001678/0.3719, allocations: 1.376 MB / 0.5213 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.3723, allocations: 225.1 kB / 0.5216 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/0.3766, allocations: 2.134 MB / 0.5236 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3766, allocations: 3.984 kB / 0.5236 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3766, allocations: 4 kB / 0.5236 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.3771, allocations: 278 kB / 0.5239 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.3773, allocations: 16 kB / 0.5239 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/0.3782, allocations: 75.89 kB / 0.524 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3784, allocations: 64.33 kB / 0.5241 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004762/0.3832, allocations: 2.659 MB / 0.5267 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003978/0.3872, allocations: 3.354 MB / 0.5299 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001031/0.3882, allocations: 0.8159 MB / 0.5307 GB, free: 7.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002369/0.3906, allocations: 1.685 MB / 0.5324 GB, free: 5.461 MB / 462.1 MB Notification: Performance of Backend: time 3.7e-07/0.3906, allocations: 0 / 0.5324 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00533/0.396, allocations: 2.992 MB / 0.5353 GB, free: 2.48 MB / 462.1 MB Notification: Performance of SimCode: time 0.1678/0.5637, allocations: 5.844 MB / 0.541 GB, free: 125.7 MB / 462.1 MB Notification: Performance of Templates: time 0.0411/0.6049, allocations: 29.85 MB / 0.5702 GB, free: 103.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches