Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00357/0.00357, allocations: 162.5 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8409/0.8409, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 325.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.471e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005842/0.005866, allocations: 6.759 MB / 332.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.009654, allocations: 3.177 MB / 335.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005467/0.0102, allocations: 39.81 kB / 335.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.01151, allocations: 1.059 MB / 336.9 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.01335, allocations: 1.396 MB / 338.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.01409, allocations: 0.5805 MB / 338.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.01624, allocations: 2.975 MB / 341.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.0173, allocations: 1.458 MB / 343.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009302/0.01823, allocations: 1.282 MB / 344.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.01979, allocations: 1.333 MB / 345.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.0202, allocations: 152 kB / 346.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.02151, allocations: 0.8265 MB / 346.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008821/0.0224, allocations: 1.122 MB / 348 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009409/0.02334, allocations: 0.6734 MB / 348.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.02731, allocations: 4.096 MB / 352.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.02732, allocations: 0 / 352.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.02732, allocations: 0 / 352.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001306/0.02745, allocations: 4 kB / 352.8 MB, free: 4.371 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.004951/0.0324, allocations: 3.005 MB / 355.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.03244, allocations: 8.031 kB / 355.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.03536, allocations: 1.602 MB / 357.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.03727, allocations: 1.324 MB / 358.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.03735, allocations: 123.4 kB / 358.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.03766, allocations: 159.8 kB / 359 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006727/0.04439, allocations: 6.53 MB / 365.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.04445, allocations: 39.7 kB / 365.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.04462, allocations: 83.88 kB / 365.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.04607, allocations: 1.472 MB / 367.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007274/0.05334, allocations: 5.818 MB / 372.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.07615, allocations: 24.29 MB / 397.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/0.07974, allocations: 2.075 MB / 399.3 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.0809, allocations: 1.133 MB / 400.4 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00529/0.08619, allocations: 4.351 MB / 404.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.08623, allocations: 46.56 kB / 404.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 4.579e-06/0.08623, allocations: 0 / 404.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01484/0.1011, allocations: 9.999 MB / 414.8 MB, free: 4.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.1011, allocations: 149 kB / 415 MB, free: 4.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.1037, allocations: 2.612 MB / 417.6 MB, free: 2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.1039, allocations: 37.7 kB / 417.6 MB, free: 1.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.1051, allocations: 2.136 MB / 419.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/0.1056, allocations: 436.8 kB / 420.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000987/0.1066, allocations: 0.8338 MB / 421 MB, free: 14.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1067, allocations: 357.9 kB / 421.4 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.1082, allocations: 1.445 MB / 422.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.1112, allocations: 4.069 MB / 426.9 MB, free: 7.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004902/0.1161, allocations: 5.969 MB / 432.9 MB, free: 40 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.09e-05/0.1162, allocations: 28 kB / 432.9 MB, free: 12 kB / 394.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.007778/0.1239, allocations: 6.006 MB / 438.9 MB, free: 9.996 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.124, allocations: 47.98 kB / 438.9 MB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-05/0.1241, allocations: 96 kB / 439 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.1254, allocations: 0.8122 MB / 439.8 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.1272, allocations: 0.9553 MB / 440.8 MB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.1315, allocations: 4.51 MB / 445.3 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.1337, allocations: 271.5 kB / 445.6 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/0.1341, allocations: 264 kB / 445.8 MB, free: 2.953 MB / 410.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 (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.001841/0.136, allocations: 1.372 MB / 447.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.1363, allocations: 210.6 kB / 447.4 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1417/0.278, allocations: 2.098 MB / 449.5 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/0.278, allocations: 16 kB / 449.5 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.278, allocations: 6.766 kB / 449.5 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.278, allocations: 4.969 kB / 449.5 MB, free: 113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/0.2841, allocations: 4.361 MB / 453.9 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2841, allocations: 3.781 kB / 453.9 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.2845, allocations: 156.5 kB / 454.1 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.2855, allocations: 0.6771 MB / 454.7 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.2856, allocations: 19.88 kB / 454.7 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.2884, allocations: 4.027 MB / 458.8 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2884, allocations: 0 / 458.8 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.2917, allocations: 4.032 MB / 462.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.2921, allocations: 209 kB / 463 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.2923, allocations: 26.95 kB / 463 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.2928, allocations: 95.7 kB / 463.1 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.293, allocations: 68.27 kB / 463.2 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.293, allocations: 33.22 kB / 463.2 MB, free: 108.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.2943, allocations: 1.517 MB / 464.7 MB, free: 106.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2943, allocations: 1.812 kB / 464.7 MB, free: 106.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002004/0.2963, allocations: 0.7419 MB / 465.5 MB, free: 106.1 MB / 410.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 (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.0003808/0.2967, allocations: 216.1 kB / 465.7 MB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.2997, allocations: 3.362 MB / 469.1 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2997, allocations: 4 kB / 469.1 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.3004, allocations: 0.9597 MB / 470 MB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.3014, allocations: 228.3 kB / 470.2 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.3071, allocations: 5.943 MB / 476.2 MB, free: 95.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.3083, allocations: 1.666 MB / 477.9 MB, free: 93.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.3088, allocations: 180.5 kB / 478 MB, free: 93.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3088, allocations: 4 kB / 478 MB, free: 93.64 MB / 410.7 MB Notification: Performance of Templates: time 0.03673/0.3455, allocations: 49.13 MB / 0.5148 GB, free: 44.58 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.605547889135778]