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.001324/0.001324, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001515/0.001515, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.954/0.954, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.803e-06/1.803e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.939e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006104/0.006123, allocations: 7.24 MB / 280.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.01025, allocations: 3.255 MB / 283.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.01076, allocations: 43.81 kB / 283.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.01222, allocations: 1.086 MB / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.01402, allocations: 1.396 MB / 286.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.01474, allocations: 0.5961 MB / 287 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.01685, allocations: 2.975 MB / 290 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1044/0.1212, allocations: 1.519 MB / 291.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.123, allocations: 1.313 MB / 292.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.1246, allocations: 1.318 MB / 294.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003414/0.1249, allocations: 152.8 kB / 294.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1262, allocations: 0.8264 MB / 295.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.127, allocations: 1.124 MB / 296.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007563/0.1277, allocations: 0.6741 MB / 296.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.1306, allocations: 2.83 MB / 299.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1306, allocations: 1.75 kB / 299.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1306, allocations: 0 / 299.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.671e-05/0.1307, allocations: 1.219 kB / 299.8 MB, free: 14.09 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.004002/0.1347, allocations: 3.163 MB / 302.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1347, allocations: 8.938 kB / 302.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.137, allocations: 1.002 MB / 303.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.138, allocations: 1.134 MB / 305.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.1381, allocations: 123.8 kB / 305.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.1383, allocations: 156.7 kB / 305.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.141, allocations: 3.53 MB / 308.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.1411, allocations: 34.11 kB / 308.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.1412, allocations: 81.8 kB / 309 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008756/0.1421, allocations: 1.238 MB / 310.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.1441, allocations: 1.612 MB / 311.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.1577, allocations: 28.36 MB / 340.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.1596, allocations: 0.9312 MB / 341.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.1599, allocations: 273.1 kB / 341.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002658/0.1625, allocations: 2.474 MB / 343.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1625, allocations: 50.16 kB / 343.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 1.824e-06/0.1625, allocations: 0 / 343.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=80): time 0.004594/0.1671, allocations: 2.145 MB / 346.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1672, allocations: 140.5 kB / 346.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.1691, allocations: 2.456 MB / 348.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1691, allocations: 37.7 kB / 348.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.1702, allocations: 2.34 MB / 351 MB, free: 2.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.1704, allocations: 379.2 kB / 351.4 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007314/0.1712, allocations: 0.9156 MB / 352.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000409/0.1716, allocations: 0.5432 MB / 352.9 MB, free: 296 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.1724, allocations: 347.9 kB / 353.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.1747, allocations: 4.422 MB / 357.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.178, allocations: 5.231 MB / 362.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/0.178, allocations: 32 kB / 362.9 MB, free: 2.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.00381/0.1818, allocations: 3.307 MB / 366.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.1819, allocations: 44 kB / 366.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.448e-05/0.1819, allocations: 100 kB / 366.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.1822, allocations: 172.4 kB / 366.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.1836, allocations: 0.92 MB / 367.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1847, allocations: 1.968 MB / 369.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.1861, allocations: 191.8 kB / 369.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.1863, allocations: 232 kB / 369.8 MB, free: 11.84 MB / 330.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.0007483/0.1871, allocations: 0.4926 MB / 370.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.1873, allocations: 237.7 kB / 370.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.1878, allocations: 415.7 kB / 370.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1878, allocations: 12 kB / 370.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1878, allocations: 4 kB / 370.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1878, allocations: 0 / 370.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.1905, allocations: 1.779 MB / 372.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.1905, allocations: 3.938 kB / 372.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.1907, allocations: 91.64 kB / 372.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.1909, allocations: 43.67 kB / 372.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.1909, allocations: 16 kB / 372.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/0.1917, allocations: 1.784 MB / 374.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1917, allocations: 4 kB / 374.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.1926, allocations: 1.228 MB / 375.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1928, allocations: 198.4 kB / 376.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.1929, allocations: 15.98 kB / 376.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.1933, allocations: 19.92 kB / 376.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.1934, allocations: 35.94 kB / 376.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.1934, allocations: 23.98 kB / 376.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008004/0.1942, allocations: 0.9761 MB / 377.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1942, allocations: 4.031 kB / 377.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001869/0.1961, allocations: 0.6365 MB / 377.8 MB, free: 3.734 MB / 330.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.0002984/0.1964, allocations: 206.8 kB / 378 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.1983, allocations: 1.808 MB / 379.8 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1983, allocations: 0 / 379.8 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1986, allocations: 387.2 kB / 380.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.1994, allocations: 226.1 kB / 380.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.2039, allocations: 4.313 MB / 384.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.2045, allocations: 0.733 MB / 385.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008906/0.2054, allocations: 326.6 kB / 385.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.2058, allocations: 378.1 kB / 386.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2058, allocations: 4 kB / 386.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Templates: time 0.02566/0.2314, allocations: 16.62 MB / 402.8 MB, free: 10.83 MB / 362.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] 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","",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.2852614540606737]