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.001174/0.001174, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001133/0.001134, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.347/1.347, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009687, allocations: 54.73 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.09047, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009714/0.1003, allocations: 7.616 MB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.1065, allocations: 3.34 MB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.1076, allocations: 39.88 kB / 362.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1096, allocations: 1.035 MB / 363.5 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.1124, allocations: 1.342 MB / 364.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1135, allocations: 0.5379 MB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.1163, allocations: 2.589 MB / 368 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.1178, allocations: 1.378 MB / 369.4 MB, free: 1.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009838/0.1188, allocations: 0.8368 MB / 370.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1767/0.2955, allocations: 1.148 MB / 371.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007267/0.2963, allocations: 147.8 kB / 371.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.2988, allocations: 0.9044 MB / 372.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.3004, allocations: 1.052 MB / 373.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.3019, allocations: 1.246 MB / 374.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.3077, allocations: 4.125 MB / 378.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3077, allocations: 0.8906 kB / 378.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3077, allocations: 1.562 kB / 378.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.3078, allocations: 1.062 kB / 378.8 MB, free: 10.8 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.006907/0.3147, allocations: 2.996 MB / 381.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.3148, allocations: 11.75 kB / 381.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.3201, allocations: 1.566 MB / 383.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.3236, allocations: 1.412 MB / 384.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3237, allocations: 130.3 kB / 385 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.3241, allocations: 164.9 kB / 385.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3351, allocations: 6.534 MB / 391.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.787e-05/0.3352, allocations: 26.34 kB / 391.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.3355, allocations: 81.73 kB / 391.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.3377, allocations: 1.471 MB / 393.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009708/0.3475, allocations: 5.839 MB / 399.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02994/0.3774, allocations: 25.65 MB / 424.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/0.3827, allocations: 2.555 MB / 427.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3842, allocations: 1.217 MB / 428.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007563/0.3918, allocations: 4.814 MB / 433.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3918, allocations: 47.69 kB / 433.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.407e-06/0.3918, allocations: 0 / 433.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02265/0.4145, allocations: 9.783 MB / 443.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.4146, allocations: 141 kB / 443.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.4182, allocations: 2.71 MB / 446 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.4183, allocations: 41.7 kB / 446 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.4195, allocations: 2.04 MB / 448.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.4199, allocations: 433.7 kB / 448.5 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.4209, allocations: 0.8313 MB / 449.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.421, allocations: 305.1 kB / 449.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.423, allocations: 1.445 MB / 451.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.4264, allocations: 4.074 MB / 455.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006091/0.4325, allocations: 5.96 MB / 461.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.064e-05/0.4326, allocations: 24 kB / 461.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01009/0.4427, allocations: 6.033 MB / 467.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.4428, allocations: 48 kB / 467.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.257e-05/0.4429, allocations: 93.12 kB / 467.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.445, allocations: 0.8239 MB / 468.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.4475, allocations: 0.9475 MB / 469.1 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005448/0.453, allocations: 4.652 MB / 473.7 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.4558, allocations: 239.6 kB / 473.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.4561, allocations: 266.3 kB / 474.2 MB, free: 3.949 MB / 382.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.002004/0.4581, allocations: 1.377 MB / 475.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.4585, allocations: 221.1 kB / 475.8 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.4625, allocations: 2.126 MB / 477.9 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.4626, allocations: 15.94 kB / 477.9 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4626, allocations: 4 kB / 477.9 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4626, allocations: 11.97 kB / 477.9 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009504/0.4721, allocations: 5.061 MB / 483 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.4721, allocations: 8.031 kB / 483 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.4729, allocations: 159.7 kB / 483.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.4749, allocations: 0.6756 MB / 483.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/0.475, allocations: 20 kB / 483.9 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004995/0.48, allocations: 4.154 MB / 488 MB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.48, allocations: 2.422 kB / 488 MB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006136/0.4862, allocations: 4.062 MB / 492.1 MB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/0.487, allocations: 282 kB / 492.4 MB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.4872, allocations: 23.98 kB / 492.4 MB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.4881, allocations: 67.89 kB / 492.5 MB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.4883, allocations: 60.25 kB / 492.5 MB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.4884, allocations: 34.64 kB / 492.5 MB, free: 1.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002588/0.491, allocations: 1.693 MB / 494.2 MB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.491, allocations: 288 / 494.2 MB, free: 15.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003464/0.4945, allocations: 0.6757 MB / 494.9 MB, free: 14.95 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 (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.0004545/0.495, allocations: 207.3 kB / 495.1 MB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005105/0.5001, allocations: 3.484 MB / 498.6 MB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5001, allocations: 0 / 498.6 MB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.5014, allocations: 1.04 MB / 499.6 MB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.503, allocations: 252.6 kB / 499.9 MB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.5133, allocations: 5.604 MB / 0.4936 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.5157, allocations: 2.24 MB / 0.4958 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002985/0.5187, allocations: 1.325 MB / 0.4971 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.5191, allocations: 151.4 kB / 0.4973 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5191, allocations: 0 / 0.4973 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of Templates: time 0.0428/0.5619, allocations: 20.4 MB / 0.5172 GB, free: 12.37 MB / 446.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 -s cvode -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/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches