Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008894/0.0008894, allocations: 195.9 kB / 17.05 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.6 MB / 244.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007421/0.0007422, allocations: 101.9 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002118/0.0002117, allocations: 11.98 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1885, allocations: 51.3 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009914/0.1985, allocations: 16.28 MB / 423.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007159/0.2057, allocations: 4.768 MB / 428.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.2074, allocations: 71.81 kB / 428.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2085, allocations: 0.7737 MB / 429.4 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.2124, allocations: 2.638 MB / 432 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.2132, allocations: 467.2 kB / 432.5 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.2154, allocations: 2.863 MB / 435.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.2172, allocations: 1.565 MB / 436.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.2181, allocations: 0.7589 MB / 437.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.2193, allocations: 1.157 MB / 438.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.2195, allocations: 87.83 kB / 438.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.2208, allocations: 0.741 MB / 439.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007356/0.2216, allocations: 0.9856 MB / 440.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.2219, allocations: 0.4962 MB / 441.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.2245, allocations: 3.068 MB / 444.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2246, allocations: 0 / 444.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.2246, allocations: 0 / 444.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.2246, allocations: 3.938 kB / 444.2 MB, free: 7.008 MB / 314.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.003904/0.2285, allocations: 2.539 MB / 446.8 MB, free: 4.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2286, allocations: 8.031 kB / 446.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004784/0.2333, allocations: 1.611 MB / 448.4 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.2355, allocations: 1.339 MB / 449.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.2356, allocations: 127 kB / 449.8 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.2359, allocations: 167.9 kB / 450 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008118/0.244, allocations: 6.53 MB / 456.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.2441, allocations: 35.66 kB / 456.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.2443, allocations: 83.83 kB / 456.6 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/0.2465, allocations: 1.468 MB / 458.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008813/0.2553, allocations: 5.81 MB / 463.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.2803, allocations: 25.75 MB / 489.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/0.2856, allocations: 2.568 MB / 492.2 MB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.2872, allocations: 1.213 MB / 493.5 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006915/0.2941, allocations: 4.807 MB / 498.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2942, allocations: 46.52 kB / 498.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.066e-06/0.2942, allocations: 0 / 498.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.02335/0.3175, allocations: 9.747 MB / 0.4961 GB, free: 5.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.3177, allocations: 141 kB / 0.4963 GB, free: 5.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.3214, allocations: 2.691 MB / 0.4989 GB, free: 2.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3216, allocations: 41.64 kB / 0.499 GB, free: 2.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.323, allocations: 2.052 MB / 0.501 GB, free: 388 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1654/0.4884, allocations: 415.3 kB / 0.5014 GB, free: 93.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005233/0.489, allocations: 81.2 kB / 0.5014 GB, free: 93.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003144/0.4893, allocations: 489.5 kB / 0.5019 GB, free: 93.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.4916, allocations: 1.431 MB / 0.5033 GB, free: 93.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.4943, allocations: 4.059 MB / 0.5073 GB, free: 89.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.4971, allocations: 2.339 MB / 0.5095 GB, free: 88.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.875e-05/0.4972, allocations: 30.09 kB / 0.5096 GB, free: 88.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.007905/0.5051, allocations: 6.005 MB / 0.5154 GB, free: 86.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.5051, allocations: 49.47 kB / 0.5155 GB, free: 86.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-05/0.5052, allocations: 91.41 kB / 0.5156 GB, free: 86.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.5072, allocations: 0.8297 MB / 0.5164 GB, free: 86.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.5094, allocations: 0.9601 MB / 0.5173 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/0.5136, allocations: 4.336 MB / 0.5216 GB, free: 82.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.5158, allocations: 242.6 kB / 0.5218 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.516, allocations: 261.5 kB / 0.522 GB, free: 81.79 MB / 378.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.00159/0.5176, allocations: 1.376 MB / 0.5234 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.5178, allocations: 226.1 kB / 0.5236 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.5211, allocations: 2.132 MB / 0.5257 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.5211, allocations: 12 kB / 0.5257 GB, free: 78.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5212, allocations: 5.062 kB / 0.5257 GB, free: 78.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5212, allocations: 3.984 kB / 0.5257 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006445/0.5276, allocations: 5.064 MB / 0.5306 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.5276, allocations: 4 kB / 0.5306 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.5283, allocations: 155.8 kB / 0.5308 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.53, allocations: 0.6796 MB / 0.5315 GB, free: 72.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.5301, allocations: 16 kB / 0.5315 GB, free: 72.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.5336, allocations: 3.897 MB / 0.5353 GB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5336, allocations: 0 / 0.5353 GB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/0.5383, allocations: 4.058 MB / 0.5392 GB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.5386, allocations: 286 kB / 0.5395 GB, free: 63.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.5388, allocations: 20.06 kB / 0.5395 GB, free: 63.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.5397, allocations: 71.41 kB / 0.5396 GB, free: 63.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5398, allocations: 60.31 kB / 0.5397 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/0.5398, allocations: 28 kB / 0.5397 GB, free: 63.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001707/0.5416, allocations: 1.681 MB / 0.5413 GB, free: 62.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5416, allocations: 0 / 0.5413 GB, free: 62.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002436/0.544, allocations: 0.6718 MB / 0.542 GB, free: 61.35 MB / 378.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.0002997/0.5443, allocations: 188 kB / 0.5422 GB, free: 61.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003627/0.548, allocations: 3.466 MB / 0.5455 GB, free: 57.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.548, allocations: 0 / 0.5455 GB, free: 57.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009639/0.5489, allocations: 1.036 MB / 0.5466 GB, free: 56.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5501, allocations: 240.3 kB / 0.5468 GB, free: 56.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.5564, allocations: 6.938 MB / 0.5536 GB, free: 49.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.5578, allocations: 2.25 MB / 0.5558 GB, free: 47.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.5583, allocations: 195.4 kB / 0.5559 GB, free: 46.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5583, allocations: 0 / 0.5559 GB, free: 46.96 MB / 378.7 MB Notification: Performance of Templates: time 0.04442/0.6027, allocations: 47.93 MB / 0.6028 GB, free: 15.08 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches