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.001314/0.001314, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002775, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001269/0.001269, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002851, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9367/0.9367, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1681/1.105, allocations: 49.48 MB / 220.5 MB, free: 1.441 MB / 218.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 1.302e-06/1.302e-06, allocations: 0 / 221.8 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.186e-05, allocations: 6.109 kB / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008903/0.008924, allocations: 7.42 MB / 229.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007748/0.01667, allocations: 3.325 MB / 232.6 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.01815, allocations: 47.81 kB / 232.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.02054, allocations: 1.055 MB / 233.7 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.02473, allocations: 1.408 MB / 235.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.02628, allocations: 0.5376 MB / 235.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003045/0.02933, allocations: 2.822 MB / 238.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.03068, allocations: 1.319 MB / 239.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.03218, allocations: 1.404 MB / 241.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.03343, allocations: 1.255 MB / 242.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.03365, allocations: 148 kB / 242.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.03488, allocations: 0.8501 MB / 243.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.03557, allocations: 1.032 MB / 244.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.03614, allocations: 0.5645 MB / 245 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.03872, allocations: 2.665 MB / 247.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.03873, allocations: 0 / 247.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.03874, allocations: 0 / 247.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.278e-05/0.0388, allocations: 0 / 247.7 MB, free: 6.176 MB / 250.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.003493/0.04229, allocations: 3.348 MB / 251 MB, free: 2.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.04233, allocations: 11.89 kB / 251.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.04417, allocations: 0.7577 MB / 251.8 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.04544, allocations: 1.083 MB / 252.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.04551, allocations: 119.4 kB / 253 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.04571, allocations: 171.8 kB / 253.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.04879, allocations: 3.124 MB / 256.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.04883, allocations: 31.73 kB / 256.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.04896, allocations: 79.91 kB / 256.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009795/0.04994, allocations: 1.254 MB / 257.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.05224, allocations: 1.625 MB / 259.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.06657, allocations: 20.35 MB / 279.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.06842, allocations: 0.9146 MB / 280.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.06869, allocations: 208 kB / 280.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003218/0.0719, allocations: 2.153 MB / 282.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.07194, allocations: 54.44 kB / 283 MB, free: 1.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 3.146e-06/0.07194, allocations: 0 / 283 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.1125/0.1844, allocations: 1.908 MB / 284.9 MB, free: 48.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1845, allocations: 139.6 kB / 285 MB, free: 47.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.1867, allocations: 2.19 MB / 287.2 MB, free: 47.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/0.1868, allocations: 36.16 kB / 287.2 MB, free: 47.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009267/0.1877, allocations: 2.104 MB / 289.3 MB, free: 46.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.188, allocations: 362.8 kB / 289.7 MB, free: 45.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006731/0.1886, allocations: 0.7753 MB / 290.5 MB, free: 45.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.1887, allocations: 363.9 kB / 290.8 MB, free: 45.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.1895, allocations: 488.3 kB / 291.3 MB, free: 45.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.1909, allocations: 3.107 MB / 294.4 MB, free: 41.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.1934, allocations: 3.947 MB / 298.4 MB, free: 38.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.708e-05/0.1935, allocations: 29.16 kB / 298.4 MB, free: 38.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003696/0.1972, allocations: 2.831 MB / 301.2 MB, free: 37.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.1972, allocations: 49.75 kB / 301.3 MB, free: 37.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-05/0.1973, allocations: 100.1 kB / 301.4 MB, free: 37.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.1976, allocations: 162.6 kB / 301.5 MB, free: 37.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.199, allocations: 1.018 MB / 302.5 MB, free: 37.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/0.1998, allocations: 1.45 MB / 304 MB, free: 36.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.2014, allocations: 189.4 kB / 304.2 MB, free: 36.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.2016, allocations: 233.2 kB / 304.4 MB, free: 36.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006487/0.2023, allocations: 471.5 kB / 304.9 MB, free: 35.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.2025, allocations: 124.5 kB / 305 MB, free: 35.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.2029, allocations: 378.8 kB / 305.4 MB, free: 35.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.203, allocations: 10.06 kB / 305.4 MB, free: 35.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.203, allocations: 2.188 kB / 305.4 MB, free: 35.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.203, allocations: 7.547 kB / 305.4 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2052, allocations: 1.705 MB / 307.1 MB, free: 35.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2052, allocations: 1.312 kB / 307.1 MB, free: 35.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.2055, allocations: 95.28 kB / 307.2 MB, free: 35.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.2059, allocations: 256.1 kB / 307.4 MB, free: 35.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.206, allocations: 45.58 kB / 307.5 MB, free: 35.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.206, allocations: 11.62 kB / 307.5 MB, free: 35.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007564/0.2068, allocations: 1.388 MB / 308.9 MB, free: 34.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.247e-06/0.2068, allocations: 5.812 kB / 308.9 MB, free: 34.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.2075, allocations: 1.043 MB / 309.9 MB, free: 33.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.2077, allocations: 16.23 kB / 309.9 MB, free: 33.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.208, allocations: 11.78 kB / 309.9 MB, free: 33.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.2081, allocations: 37.09 kB / 310 MB, free: 33.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.2081, allocations: 20.11 kB / 310 MB, free: 33.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005645/0.2087, allocations: 0.7691 MB / 310.8 MB, free: 33.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2087, allocations: 0 / 310.8 MB, free: 33.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002192/0.2109, allocations: 0.6575 MB / 311.4 MB, free: 33.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (54): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000343/0.2112, allocations: 201.4 kB / 311.6 MB, free: 33.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.2132, allocations: 1.62 MB / 313.2 MB, free: 32.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.391e-05/0.2133, allocations: 71.75 kB / 313.3 MB, free: 32.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.2136, allocations: 291.3 kB / 313.6 MB, free: 32.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2147, allocations: 0.4955 MB / 314.1 MB, free: 31.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.2207, allocations: 4.372 MB / 318.5 MB, free: 27.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.2212, allocations: 0.7312 MB / 319.2 MB, free: 27.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007003/0.2219, allocations: 322.2 kB / 319.5 MB, free: 26.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.2223, allocations: 339.2 kB / 319.8 MB, free: 26.64 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2223, allocations: 4 kB / 319.8 MB, free: 26.63 MB / 282.7 MB Notification: Performance of Templates: time 0.02487/0.2471, allocations: 17.18 MB / 337 MB, free: 9.664 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.253347753547132]