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.00117/0.00117, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001997/0.003168, allocations: 453.8 kB / 10.46 MB, free: 236 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.001195/0.001195, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001699/0.002894, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9014/0.9014, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1358/1.037, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.423e-06/1.423e-06, allocations: 0 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.339e-05, allocations: 6.312 kB / 222 MB, free: 40 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008541/0.008564, allocations: 7.424 MB / 229.4 MB, free: 8.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007222/0.01579, allocations: 3.317 MB / 232.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.01725, allocations: 43.81 kB / 232.8 MB, free: 5.207 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.01959, allocations: 1.058 MB / 233.8 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003861/0.02345, allocations: 1.412 MB / 235.3 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.02498, allocations: 0.5377 MB / 235.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.0289, allocations: 2.804 MB / 238.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.03108, allocations: 1.319 MB / 239.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.03264, allocations: 1.404 MB / 241.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.0341, allocations: 1.255 MB / 242.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.03448, allocations: 148 kB / 242.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.03578, allocations: 0.8501 MB / 243.6 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.03648, allocations: 1.04 MB / 244.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006221/0.0371, allocations: 0.5606 MB / 245.2 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.03961, allocations: 2.654 MB / 247.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.03962, allocations: 0 / 247.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03962, allocations: 0 / 247.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.396e-05/0.03968, allocations: 0 / 247.8 MB, free: 6.098 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.003426/0.04311, allocations: 3.351 MB / 251.2 MB, free: 2.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.04314, allocations: 11.89 kB / 251.2 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.04507, allocations: 0.7616 MB / 251.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.04647, allocations: 1.087 MB / 253 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.04655, allocations: 119.4 kB / 253.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.04679, allocations: 167.8 kB / 253.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.05028, allocations: 3.128 MB / 256.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/0.05034, allocations: 19.81 kB / 256.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.05051, allocations: 83.89 kB / 256.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.0516, allocations: 1.16 MB / 257.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.05448, allocations: 1.637 MB / 259.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.0693, allocations: 20.35 MB / 279.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.07104, allocations: 0.9106 MB / 280.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.07127, allocations: 204 kB / 280.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0026/0.07387, allocations: 2.169 MB / 283 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.0739, allocations: 42.5 kB / 283 MB, free: 1.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.224e-06/0.0739, allocations: 112 / 283 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.1361/0.21, allocations: 2.039 MB / 285.1 MB, free: 48.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2101, allocations: 140.1 kB / 285.2 MB, free: 48.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.2122, allocations: 2.186 MB / 287.4 MB, free: 47.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.2123, allocations: 41.69 kB / 287.4 MB, free: 47.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007467/0.213, allocations: 2.112 MB / 289.5 MB, free: 46.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.2132, allocations: 353.5 kB / 289.9 MB, free: 46.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006108/0.2139, allocations: 0.7765 MB / 290.7 MB, free: 46.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.2139, allocations: 364.1 kB / 291 MB, free: 45.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.2147, allocations: 488.5 kB / 291.5 MB, free: 45.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.2163, allocations: 3.105 MB / 294.6 MB, free: 42.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.2193, allocations: 4.271 MB / 298.9 MB, free: 38.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.923e-05/0.2193, allocations: 29.09 kB / 298.9 MB, free: 38.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003478/0.2228, allocations: 2.823 MB / 301.7 MB, free: 37.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.2229, allocations: 48.66 kB / 301.8 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/0.2229, allocations: 103.9 kB / 301.9 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.2232, allocations: 169.1 kB / 302 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.2246, allocations: 1.013 MB / 303 MB, free: 37.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.2255, allocations: 1.447 MB / 304.5 MB, free: 36.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.227, allocations: 190.6 kB / 304.7 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.2271, allocations: 232.4 kB / 304.9 MB, free: 36.45 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.0005991/0.2277, allocations: 473.1 kB / 305.4 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.2279, allocations: 122.3 kB / 305.5 MB, free: 36.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.2284, allocations: 376.9 kB / 305.8 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.2284, allocations: 11.09 kB / 305.9 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2284, allocations: 1.375 kB / 305.9 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2284, allocations: 5.094 kB / 305.9 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.2306, allocations: 1.703 MB / 307.6 MB, free: 35.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.2306, allocations: 7.844 kB / 307.6 MB, free: 35.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.2309, allocations: 104.5 kB / 307.7 MB, free: 35.65 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.2312, allocations: 252.1 kB / 307.9 MB, free: 35.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.2313, allocations: 43.75 kB / 308 MB, free: 35.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.2313, allocations: 21.3 kB / 308 MB, free: 35.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/0.232, allocations: 1.384 MB / 309.4 MB, free: 34.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.232, allocations: 0 / 309.4 MB, free: 34.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.2327, allocations: 1.043 MB / 310.4 MB, free: 33.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2328, allocations: 19.22 kB / 310.4 MB, free: 33.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.2332, allocations: 11.31 kB / 310.4 MB, free: 33.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.2332, allocations: 37.78 kB / 310.5 MB, free: 33.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.2333, allocations: 26.41 kB / 310.5 MB, free: 33.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005651/0.2338, allocations: 0.7716 MB / 311.3 MB, free: 33.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2338, allocations: 0 / 311.3 MB, free: 33.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001963/0.2358, allocations: 0.6526 MB / 311.9 MB, free: 33.63 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.0003425/0.2361, allocations: 198.2 kB / 312.1 MB, free: 33.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.2378, allocations: 1.716 MB / 313.8 MB, free: 32.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.353e-05/0.2379, allocations: 63.88 kB / 313.9 MB, free: 32.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.2382, allocations: 331.5 kB / 314.2 MB, free: 31.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.2394, allocations: 1.676 MB / 315.9 MB, free: 30.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.2451, allocations: 4.366 MB / 320.3 MB, free: 26.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.2456, allocations: 0.7363 MB / 321 MB, free: 25.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006503/0.2462, allocations: 326.8 kB / 321.3 MB, free: 25.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.2466, allocations: 333.3 kB / 321.7 MB, free: 24.95 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2466, allocations: 0 / 321.7 MB, free: 24.95 MB / 282.7 MB Notification: Performance of Templates: time 0.02193/0.2685, allocations: 15.74 MB / 337.4 MB, free: 9.195 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.151112266816199]