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.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.001167/0.001167, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008324/0.0008324, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.814/0.814, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.712e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.00538/0.005407, allocations: 6.822 MB / 306.5 MB, free: 48 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.009007, allocations: 3.108 MB / 309.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.009385, allocations: 43.81 kB / 309.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.01065, allocations: 1.055 MB / 310.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.01231, allocations: 1.431 MB / 312.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.01297, allocations: 0.5844 MB / 312.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.01474, allocations: 2.925 MB / 315.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009837/0.01572, allocations: 1.482 MB / 317.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009344/0.01666, allocations: 1.298 MB / 318.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009663/0.01762, allocations: 1.344 MB / 319.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.01777, allocations: 152 kB / 320 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.01861, allocations: 0.8305 MB / 320.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.01918, allocations: 1.145 MB / 321.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.01961, allocations: 0.689 MB / 322.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.02215, allocations: 4.138 MB / 326.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.02215, allocations: 4 kB / 326.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.02215, allocations: 0 / 326.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.02218, allocations: 0 / 326.8 MB, free: 11.74 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.002975/0.02515, allocations: 3.032 MB / 329.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.02519, allocations: 11.98 kB / 329.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.02785, allocations: 1.602 MB / 331.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.02927, allocations: 1.376 MB / 332.8 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.02933, allocations: 127.4 kB / 332.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.02954, allocations: 167.8 kB / 333.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.03479, allocations: 6.542 MB / 339.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.03483, allocations: 27.77 kB / 339.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.03498, allocations: 83.89 kB / 339.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001346/0.03632, allocations: 1.468 MB / 341.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006304/0.04263, allocations: 5.822 MB / 347 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1378/0.1804, allocations: 24.29 MB / 371.3 MB, free: 40.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.1834, allocations: 2.068 MB / 373.4 MB, free: 39.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008718/0.1843, allocations: 1.139 MB / 374.5 MB, free: 39.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003779/0.1881, allocations: 4.365 MB / 378.9 MB, free: 37.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.1881, allocations: 38.47 kB / 378.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 2.645e-06/0.1881, allocations: 0 / 378.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.0124/0.2005, allocations: 10.04 MB / 389 MB, free: 31.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.2006, allocations: 145 kB / 389.1 MB, free: 31.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.2025, allocations: 2.669 MB / 391.8 MB, free: 28.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.2025, allocations: 37.7 kB / 391.8 MB, free: 28.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.2031, allocations: 2.132 MB / 393.9 MB, free: 26.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.2032, allocations: 451.6 kB / 394.4 MB, free: 26.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005136/0.2038, allocations: 0.8296 MB / 395.2 MB, free: 25.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.2038, allocations: 361.9 kB / 395.6 MB, free: 24.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.2049, allocations: 1.447 MB / 397 MB, free: 23.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.2066, allocations: 4.065 MB / 401.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/0.2098, allocations: 5.962 MB / 407 MB, free: 10.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.2098, allocations: 27.94 kB / 407.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.005022/0.2148, allocations: 6.007 MB / 413.1 MB, free: 4.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.2148, allocations: 44 kB / 413.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/0.2149, allocations: 96 kB / 413.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.216, allocations: 0.8201 MB / 414 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.2173, allocations: 0.9514 MB / 415 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.2211, allocations: 4.497 MB / 419.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.2227, allocations: 283.5 kB / 419.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.2229, allocations: 260 kB / 420 MB, free: 13.77 MB / 346.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.001478/0.2244, allocations: 1.376 MB / 421.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.2246, allocations: 218.5 kB / 421.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.227, allocations: 2.098 MB / 423.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.227, allocations: 13.44 kB / 423.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.227, allocations: 4 kB / 423.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2271, allocations: 7.984 kB / 423.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.2326, allocations: 4.385 MB / 428.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2326, allocations: 4 kB / 428.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.233, allocations: 155.8 kB / 428.3 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2341, allocations: 0.6842 MB / 429 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.2341, allocations: 19.98 kB / 429 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/0.2374, allocations: 4.037 MB / 433 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2374, allocations: 0 / 433 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.2414, allocations: 4.031 MB / 437 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.2419, allocations: 390.3 kB / 437.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.242, allocations: 12 kB / 437.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.2426, allocations: 103.8 kB / 437.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.2427, allocations: 64.33 kB / 437.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.2427, allocations: 39.55 kB / 437.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.2441, allocations: 1.549 MB / 439.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2441, allocations: 0 / 439.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002082/0.2462, allocations: 0.7615 MB / 439.9 MB, free: 9.648 MB / 362.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.0003731/0.2465, allocations: 226.6 kB / 440.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.2499, allocations: 3.356 MB / 443.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2499, allocations: 4 kB / 443.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007896/0.2507, allocations: 0.9663 MB / 444.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008382/0.2515, allocations: 223.4 kB / 444.7 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.2578, allocations: 5.963 MB / 450.7 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.2591, allocations: 1.672 MB / 452.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.2595, allocations: 184.5 kB / 452.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2595, allocations: 0 / 452.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of Templates: time 0.04125/0.3007, allocations: 49.45 MB / 0.4902 GB, free: 11.46 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.686596279963851]