Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002017, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001855/0.003234, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9519/0.9519, allocations: 173.3 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07935/1.031, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.146e-05, allocations: 2.875 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006223/0.006245, allocations: 7.362 MB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.01131, allocations: 3.367 MB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007722/0.01208, allocations: 43.81 kB / 250.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.01346, allocations: 1.051 MB / 251.4 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.01587, allocations: 1.408 MB / 252.8 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.01674, allocations: 0.5415 MB / 253.3 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.01919, allocations: 2.808 MB / 256.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.02063, allocations: 1.311 MB / 257.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.02215, allocations: 1.393 MB / 258.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.02341, allocations: 1.239 MB / 260.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.02368, allocations: 152 kB / 260.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.02486, allocations: 0.8579 MB / 261.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006629/0.02553, allocations: 1.036 MB / 262.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.02608, allocations: 0.5606 MB / 262.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.02844, allocations: 2.657 MB / 265.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.02846, allocations: 0 / 265.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02846, allocations: 0 / 265.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.442e-05/0.02855, allocations: 0 / 265.4 MB, free: 9.246 MB / 266.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.003722/0.03227, allocations: 3.34 MB / 268.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.03231, allocations: 15.89 kB / 268.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.03418, allocations: 0.7616 MB / 269.5 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.03538, allocations: 1.051 MB / 270.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.03545, allocations: 127.4 kB / 270.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.03564, allocations: 163.8 kB / 270.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/0.03872, allocations: 3.128 MB / 273.9 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/0.03877, allocations: 31.73 kB / 274 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1075/0.1462, allocations: 79.23 kB / 274 MB, free: 21.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001658/0.1479, allocations: 1.245 MB / 275.3 MB, free: 21.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004148/0.152, allocations: 1.618 MB / 276.9 MB, free: 21.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.1667, allocations: 20.35 MB / 297.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.1686, allocations: 0.9288 MB / 298.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.1689, allocations: 199.9 kB / 298.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002695/0.1716, allocations: 2.164 MB / 300.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1717, allocations: 41.16 kB / 300.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.196e-06/0.1717, allocations: 0 / 300.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=80): time 0.003995/0.1757, allocations: 1.906 MB / 302.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1757, allocations: 139 kB / 302.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.1772, allocations: 2.186 MB / 304.8 MB, free: 4.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.1772, allocations: 36.92 kB / 304.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.1778, allocations: 2.099 MB / 306.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.1779, allocations: 359.8 kB / 307.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/0.1783, allocations: 0.7732 MB / 308.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.1784, allocations: 360.6 kB / 308.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.1789, allocations: 489.8 kB / 308.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.1808, allocations: 3.1 MB / 312 MB, free: 12.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/0.1851, allocations: 3.961 MB / 316 MB, free: 7.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.532e-05/0.1852, allocations: 28 kB / 316 MB, free: 7.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.004224/0.1894, allocations: 2.819 MB / 318.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.1895, allocations: 51.94 kB / 318.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.689e-05/0.1895, allocations: 100 kB / 319 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.1898, allocations: 159.6 kB / 319.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.1914, allocations: 1.022 MB / 320.1 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.1924, allocations: 1.447 MB / 321.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.1938, allocations: 187.5 kB / 321.8 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.194, allocations: 232 kB / 322 MB, free: 1.07 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.0006578/0.1947, allocations: 472.4 kB / 322.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.1949, allocations: 127.8 kB / 322.6 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.1953, allocations: 375.7 kB / 322.9 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.1953, allocations: 12.88 kB / 323 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1953, allocations: 3.984 kB / 323 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1953, allocations: 3.938 kB / 323 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.1977, allocations: 1.693 MB / 324.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1977, allocations: 4 kB / 324.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.198, allocations: 99.89 kB / 324.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.1982, allocations: 194.4 kB / 324.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.1983, allocations: 43.62 kB / 325 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1983, allocations: 12 kB / 325 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008343/0.1992, allocations: 1.385 MB / 326.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1992, allocations: 3.938 kB / 326.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.2, allocations: 1.036 MB / 327.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.2001, allocations: 15.94 kB / 327.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.2004, allocations: 11.98 kB / 327.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.2005, allocations: 39.94 kB / 327.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.2005, allocations: 23.97 kB / 327.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005953/0.2011, allocations: 0.762 MB / 328.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2011, allocations: 0 / 328.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00177/0.2029, allocations: 0.656 MB / 328.9 MB, free: 9.934 MB / 298.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.0003216/0.2032, allocations: 196 kB / 329.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.2049, allocations: 1.632 MB / 330.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-05/0.205, allocations: 63.92 kB / 330.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.2053, allocations: 302.2 kB / 331.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.2064, allocations: 0.511 MB / 331.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.213, allocations: 4.33 MB / 336 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.2136, allocations: 0.726 MB / 336.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007681/0.2144, allocations: 332.5 kB / 337 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.2148, allocations: 341.3 kB / 337.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of SimCode: time 1.994e-06/0.2148, allocations: 4 kB / 337.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of Templates: time 0.02642/0.2412, allocations: 16.98 MB / 354.3 MB, free: 0.6094 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.291053043678403]