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.0008982/0.0008982, allocations: 93.8 kB / 16.3 MB, free: 5.996 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.0009222/0.0009224, allocations: 180 kB / 17.2 MB, free: 5.914 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.337/1.337, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002378, allocations: 6.375 kB / 300.7 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08739, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.013/0.1004, allocations: 15.41 MB / 366.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008074/0.1085, allocations: 4.867 MB / 371.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.1111, allocations: 71.81 kB / 371.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.1127, allocations: 0.7077 MB / 372.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005919/0.1186, allocations: 2.416 MB / 374.6 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1198, allocations: 455.2 kB / 375.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.1222, allocations: 1.472 MB / 376.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.1241, allocations: 1.557 MB / 378.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.1249, allocations: 0.6307 MB / 378.7 MB, free: 16 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.1259, allocations: 0.8527 MB / 379.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.1261, allocations: 80 kB / 379.7 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1273, allocations: 0.7449 MB / 380.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007261/0.1281, allocations: 0.9156 MB / 381.3 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004071/0.1285, allocations: 0.5001 MB / 381.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.1314, allocations: 3.071 MB / 384.9 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1314, allocations: 0 / 384.9 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1314, allocations: 0 / 384.9 MB, free: 9.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.486e-05/0.1315, allocations: 0 / 384.9 MB, free: 9.832 MB / 318.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.005031/0.1365, allocations: 2.594 MB / 387.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1366, allocations: 8.031 kB / 387.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006315/0.1429, allocations: 1.892 MB / 389.4 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.1461, allocations: 1.476 MB / 390.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1462, allocations: 123 kB / 391 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/0.1466, allocations: 159.9 kB / 391.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009756/0.1563, allocations: 6.585 MB / 397.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.1564, allocations: 27.75 kB / 397.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.1567, allocations: 83.89 kB / 397.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/0.1591, allocations: 1.468 MB / 399.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.1693, allocations: 5.869 MB / 405.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2054/0.3748, allocations: 25.78 MB / 430.9 MB, free: 46.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005379/0.3802, allocations: 2.585 MB / 433.5 MB, free: 46.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008155/0.3884, allocations: 4.851 MB / 438.4 MB, free: 45.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3884, allocations: 48.53 kB / 438.4 MB, free: 45.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.507e-06/0.3885, allocations: 0 / 438.4 MB, free: 45.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02174/0.4102, allocations: 10.03 MB / 448.5 MB, free: 42.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4103, allocations: 143.3 kB / 448.6 MB, free: 42.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.4132, allocations: 2.815 MB / 451.4 MB, free: 41.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.4133, allocations: 40.92 kB / 451.5 MB, free: 41.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008311/0.4142, allocations: 2.048 MB / 453.5 MB, free: 40.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.4145, allocations: 429.5 kB / 453.9 MB, free: 39.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.4146, allocations: 80.84 kB / 454 MB, free: 39.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4148, allocations: 486.1 kB / 454.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.4164, allocations: 1.423 MB / 455.9 MB, free: 38.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.4189, allocations: 4.03 MB / 459.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.4212, allocations: 2.333 MB / 462.3 MB, free: 32.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-05/0.4213, allocations: 29.97 kB / 462.3 MB, free: 32.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.007864/0.4291, allocations: 5.977 MB / 468.3 MB, free: 26.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.4292, allocations: 44 kB / 468.3 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/0.4293, allocations: 96 kB / 468.4 MB, free: 26.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.4313, allocations: 0.8285 MB / 469.2 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.4336, allocations: 0.9409 MB / 470.2 MB, free: 24.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.4381, allocations: 4.441 MB / 474.6 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.4406, allocations: 240.2 kB / 474.8 MB, free: 19.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.4408, allocations: 257.4 kB / 475.1 MB, free: 19.49 MB / 350.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.001557/0.4424, allocations: 1.373 MB / 476.5 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.4427, allocations: 221.9 kB / 476.7 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.4464, allocations: 2.127 MB / 478.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.4464, allocations: 12.94 kB / 478.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.4464, allocations: 6.062 kB / 478.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4465, allocations: 7.984 kB / 478.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.4546, allocations: 5.083 MB / 483.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4546, allocations: 0 / 483.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.4553, allocations: 155.8 kB / 484.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.4572, allocations: 0.6873 MB / 484.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.4573, allocations: 13.17 kB / 484.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.4613, allocations: 3.985 MB / 488.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4613, allocations: 4.906 kB / 488.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.4664, allocations: 4.144 MB / 492.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005801/0.467, allocations: 298 kB / 493.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.4673, allocations: 19.95 kB / 493.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008882/0.4682, allocations: 71.95 kB / 493.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4683, allocations: 65.64 kB / 493.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.4684, allocations: 31.98 kB / 493.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002117/0.4705, allocations: 1.772 MB / 495.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4705, allocations: 0 / 495.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002969/0.4735, allocations: 0.6893 MB / 495.8 MB, free: 14.45 MB / 366.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.0004142/0.4739, allocations: 199.1 kB / 496 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004893/0.4788, allocations: 3.446 MB / 499.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4789, allocations: 1 kB / 499.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.4801, allocations: 1.036 MB / 0.4888 GB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4812, allocations: 232.8 kB / 0.489 GB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008327/0.4896, allocations: 6.64 MB / 0.4955 GB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.4915, allocations: 2.288 MB / 0.4977 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00285/0.4943, allocations: 1.323 MB / 0.499 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.4947, allocations: 159.4 kB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4947, allocations: 0 / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Templates: time 0.0381/0.5328, allocations: 22.85 MB / 0.5215 GB, free: 8.328 MB / 398.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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches