Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001136/0.001136, allocations: 97.31 kB / 17.3 MB, free: 6.117 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.001198/0.001198, allocations: 178.5 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 16 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09145, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01722/0.1087, allocations: 17.5 MB / 346.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.1197, allocations: 5.01 MB / 351.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.1231, allocations: 71.81 kB / 351.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.1243, allocations: 282.7 kB / 351.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.1278, allocations: 1.25 MB / 353.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.129, allocations: 0.4991 MB / 353.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.1332, allocations: 3.585 MB / 357.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.1357, allocations: 1.728 MB / 358.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1369, allocations: 0.6962 MB / 359.6 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.1384, allocations: 1.168 MB / 360.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.1386, allocations: 84 kB / 360.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.1403, allocations: 0.893 MB / 361.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009124/0.1412, allocations: 1.013 MB / 362.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.1423, allocations: 1.209 MB / 363.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.146, allocations: 3.854 MB / 367.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.146, allocations: 0 / 367.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1461, allocations: 0 / 367.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.771e-05/0.1461, allocations: 0 / 367.8 MB, free: 12.75 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.00428/0.1504, allocations: 2.504 MB / 370.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1505, allocations: 8.031 kB / 370.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005254/0.1557, allocations: 1.612 MB / 371.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.1582, allocations: 1.446 MB / 373.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.1583, allocations: 127 kB / 373.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.1586, allocations: 159.9 kB / 373.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1769/0.3355, allocations: 6.545 MB / 380.2 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.3357, allocations: 27.88 kB / 380.2 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.336, allocations: 81.81 kB / 380.3 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.3388, allocations: 1.469 MB / 381.8 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.3501, allocations: 5.84 MB / 387.6 MB, free: 49.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/0.3752, allocations: 25.77 MB / 413.4 MB, free: 28.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/0.3803, allocations: 2.575 MB / 416 MB, free: 26.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3816, allocations: 1.219 MB / 417.2 MB, free: 24.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006308/0.388, allocations: 4.81 MB / 422 MB, free: 19.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.388, allocations: 42.55 kB / 422 MB, free: 19.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.95e-06/0.3881, allocations: 0 / 422 MB, free: 19.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02111/0.4092, allocations: 9.782 MB / 431.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4093, allocations: 140.9 kB / 431.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.4124, allocations: 2.722 MB / 434.7 MB, free: 7.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.4127, allocations: 41.64 kB / 434.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009426/0.4136, allocations: 2.044 MB / 436.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.414, allocations: 428 kB / 437.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.4144, allocations: 354.8 kB / 437.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.4144, allocations: 305.1 kB / 437.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.4162, allocations: 1.441 MB / 439.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/0.42, allocations: 4.069 MB / 443.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007381/0.4274, allocations: 5.958 MB / 449.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.955e-05/0.4276, allocations: 32 kB / 449.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01185/0.4394, allocations: 6.039 MB / 455.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.148e-05/0.4395, allocations: 44 kB / 455.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/0.4396, allocations: 99.94 kB / 455.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.4421, allocations: 0.815 MB / 456.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/0.4452, allocations: 0.9513 MB / 457.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/0.4512, allocations: 4.32 MB / 461.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/0.4546, allocations: 251.6 kB / 461.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005007/0.4551, allocations: 265.1 kB / 462.1 MB, free: 8.82 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 (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.002183/0.4573, allocations: 1.372 MB / 463.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/0.4577, allocations: 229 kB / 463.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.4622, allocations: 2.134 MB / 465.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.4623, allocations: 12.94 kB / 465.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.4623, allocations: 4 kB / 465.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4623, allocations: 7.922 kB / 465.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009389/0.4717, allocations: 5.084 MB / 470.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4718, allocations: 0 / 470.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/0.4726, allocations: 155.8 kB / 471.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.4748, allocations: 0.6833 MB / 471.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.475, allocations: 25.38 kB / 471.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.4801, allocations: 3.888 MB / 475.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4801, allocations: 0 / 475.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/0.4869, allocations: 4.067 MB / 479.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.4881, allocations: 458 kB / 480.2 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.4884, allocations: 12.94 kB / 480.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009597/0.4894, allocations: 75.95 kB / 480.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.4896, allocations: 52.36 kB / 480.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/0.4897, allocations: 34.09 kB / 480.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00264/0.4923, allocations: 1.697 MB / 482.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4923, allocations: 0 / 482.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003654/0.496, allocations: 0.6758 MB / 482.7 MB, free: 3.898 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 (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.0005196/0.4965, allocations: 194.8 kB / 482.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006399/0.5029, allocations: 3.478 MB / 486.4 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.503, allocations: 4.188 kB / 486.4 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.5044, allocations: 1.046 MB / 487.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.5065, allocations: 247 kB / 487.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5169, allocations: 6.946 MB / 494.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.5192, allocations: 2.245 MB / 496.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003435/0.5227, allocations: 1.323 MB / 498.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.5231, allocations: 159.4 kB / 498.4 MB, free: 4.191 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5232, allocations: 4 kB / 498.4 MB, free: 4.188 MB / 382.1 MB Notification: Performance of Templates: time 0.04688/0.57, allocations: 22.72 MB / 0.5089 GB, free: 13.49 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches