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.0009337/0.0009338, allocations: 95.52 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000936/0.000936, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.1825/0.2864, allocations: 15.42 MB / 373.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00942/0.2958, allocations: 4.88 MB / 378.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.2988, allocations: 73.59 kB / 378.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.3011, allocations: 0.7123 MB / 379.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.3087, allocations: 2.405 MB / 381.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3103, allocations: 461.5 kB / 382 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003463/0.3138, allocations: 1.497 MB / 383.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.3169, allocations: 1.56 MB / 385.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.3185, allocations: 0.6338 MB / 385.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.3202, allocations: 0.8468 MB / 386.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006142/0.3208, allocations: 82.25 kB / 386.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.3231, allocations: 0.7237 MB / 387.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.3245, allocations: 0.9168 MB / 388.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.3256, allocations: 0.5007 MB / 388.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.3298, allocations: 3.074 MB / 391.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3298, allocations: 1.062 kB / 391.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3298, allocations: 0 / 391.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001854/0.33, allocations: 0 / 391.8 MB, free: 5.172 MB / 302.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.007311/0.3373, allocations: 2.592 MB / 394.4 MB, free: 3.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3373, allocations: 9.625 kB / 394.4 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006487/0.3438, allocations: 1.903 MB / 396.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.3472, allocations: 1.462 MB / 397.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.3473, allocations: 132.4 kB / 397.9 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/0.3477, allocations: 159.5 kB / 398.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01119/0.3589, allocations: 6.586 MB / 404.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.966e-05/0.359, allocations: 23.81 kB / 404.7 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.3593, allocations: 84.28 kB / 404.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/0.3618, allocations: 1.468 MB / 406.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.3737, allocations: 5.872 MB / 412.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03498/0.4087, allocations: 25.81 MB / 437.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006084/0.4148, allocations: 2.585 MB / 440.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009091/0.424, allocations: 4.848 MB / 445.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.424, allocations: 42.56 kB / 445.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 4.819e-06/0.4241, allocations: 0 / 445.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02604/0.4501, allocations: 10.04 MB / 455.4 MB, free: 8.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.4502, allocations: 141 kB / 455.6 MB, free: 8.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/0.4549, allocations: 2.808 MB / 458.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002797/0.4552, allocations: 44.05 kB / 458.4 MB, free: 5.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.4569, allocations: 2.041 MB / 460.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006995/0.4576, allocations: 430.9 kB / 460.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.458, allocations: 84.64 kB / 461 MB, free: 2.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003652/0.4583, allocations: 487 kB / 461.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/0.4608, allocations: 1.425 MB / 462.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/0.465, allocations: 4.033 MB / 466.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003812/0.4689, allocations: 2.336 MB / 469.2 MB, free: 9.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.851e-05/0.469, allocations: 28 kB / 469.3 MB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01221/0.4812, allocations: 5.974 MB / 475.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.4814, allocations: 47.95 kB / 475.3 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.4815, allocations: 92 kB / 475.4 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.4838, allocations: 0.828 MB / 476.2 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.4873, allocations: 0.9474 MB / 477.2 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/0.4932, allocations: 4.429 MB / 481.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.4967, allocations: 247.8 kB / 481.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007853/0.4975, allocations: 257 kB / 482.1 MB, free: 12.17 MB / 398.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 (498): * Single equations (assignments): 494 * 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.002956/0.5005, allocations: 1.369 MB / 483.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000586/0.501, allocations: 229.1 kB / 483.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.5057, allocations: 2.13 MB / 485.8 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.5058, allocations: 13.17 kB / 485.8 MB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.5058, allocations: 4 kB / 485.8 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.5058, allocations: 7.969 kB / 485.8 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.5195, allocations: 5.077 MB / 490.9 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.5196, allocations: 3.953 kB / 490.9 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/0.5205, allocations: 159.7 kB / 491.1 MB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.5227, allocations: 0.6757 MB / 491.7 MB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.5229, allocations: 23.98 kB / 491.8 MB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005839/0.5287, allocations: 3.985 MB / 495.8 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5288, allocations: 7.969 kB / 495.8 MB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007168/0.5359, allocations: 4.137 MB / 499.9 MB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.537, allocations: 302 kB / 0.4885 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006127/0.5376, allocations: 12.56 kB / 0.4885 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.539, allocations: 71.89 kB / 0.4886 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.5392, allocations: 62.91 kB / 0.4886 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.5394, allocations: 36.06 kB / 0.4886 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003673/0.543, allocations: 1.768 MB / 0.4904 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.5431, allocations: 0 / 0.4904 GB, free: 7.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004589/0.5477, allocations: 0.6913 MB / 0.491 GB, free: 7.102 MB / 414.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 (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.0007423/0.5484, allocations: 191.4 kB / 0.4912 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006227/0.5547, allocations: 3.452 MB / 0.4946 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5547, allocations: 0 / 0.4946 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.5563, allocations: 1.032 MB / 0.4956 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.5579, allocations: 234.1 kB / 0.4958 GB, free: 2.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.5696, allocations: 6.63 MB / 0.5023 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/0.5729, allocations: 2.291 MB / 0.5045 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003465/0.5764, allocations: 1.32 MB / 0.5058 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.577, allocations: 167.4 kB / 0.506 GB, free: 7.707 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.577, allocations: 0 / 0.506 GB, free: 7.707 MB / 430.1 MB Notification: Performance of Templates: time 0.04257/0.6196, allocations: 22.77 MB / 0.5282 GB, free: 1.016 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches