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.001369/0.001369, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001499/0.001499, allocations: 163 kB / 24.99 MB, free: 8.758 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.9494/0.9494, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.232e-06/1.232e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.299e-05, allocations: 6.25 kB / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.00582/0.005833, allocations: 7.423 MB / 280.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004295/0.01013, allocations: 3.278 MB / 283.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.01063, allocations: 43.81 kB / 283.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.01193, allocations: 1.09 MB / 284.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.0138, allocations: 1.4 MB / 286.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.01458, allocations: 0.5922 MB / 286.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.01707, allocations: 2.968 MB / 289.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1066/0.1236, allocations: 1.514 MB / 291.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.1258, allocations: 1.285 MB / 292.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.128, allocations: 1.339 MB / 294 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004791/0.1284, allocations: 152.6 kB / 294.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1299, allocations: 0.8252 MB / 295 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.1309, allocations: 1.129 MB / 296.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.1321, allocations: 0.675 MB / 296.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.1356, allocations: 2.846 MB / 299.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1356, allocations: 0 / 299.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1356, allocations: 0 / 299.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.1357, allocations: 2.062 kB / 299.6 MB, free: 14.41 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.004816/0.1406, allocations: 3.287 MB / 302.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1406, allocations: 12.91 kB / 302.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.144, allocations: 1.899 MB / 304.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.1454, allocations: 1.223 MB / 306 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.1455, allocations: 126.1 kB / 306.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.1457, allocations: 164.3 kB / 306.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.1493, allocations: 3.884 MB / 310.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.1494, allocations: 29.73 kB / 310.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.1496, allocations: 82.61 kB / 310.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/0.1508, allocations: 1.472 MB / 311.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.1542, allocations: 2.148 MB / 313.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.1696, allocations: 29.01 MB / 343 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.1721, allocations: 1.201 MB / 344.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.1726, allocations: 396.1 kB / 344.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003514/0.1761, allocations: 3.338 MB / 347.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1762, allocations: 52.75 kB / 347.9 MB, free: 4.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=97): time 2.775e-06/0.1762, allocations: 0 / 347.9 MB, free: 4.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.01235/0.1885, allocations: 6.914 MB / 354.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1886, allocations: 141 kB / 355 MB, free: 13.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.1909, allocations: 2.395 MB / 357.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.1909, allocations: 45.7 kB / 357.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00098/0.1919, allocations: 2.263 MB / 359.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.1922, allocations: 461.5 kB / 360.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.193, allocations: 0.8992 MB / 361 MB, free: 7.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1931, allocations: 0.5355 MB / 361.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007741/0.1939, allocations: 451.9 kB / 362 MB, free: 6.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.1964, allocations: 4.341 MB / 366.4 MB, free: 56 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.2001, allocations: 5.294 MB / 371.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-05/0.2001, allocations: 28 kB / 371.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.005427/0.2055, allocations: 4.061 MB / 375.7 MB, free: 4.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.2056, allocations: 44.94 kB / 375.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-05/0.2056, allocations: 96 kB / 375.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.2068, allocations: 0.5622 MB / 376.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.2084, allocations: 0.9474 MB / 377.4 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.211, allocations: 2.978 MB / 380.4 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.2126, allocations: 283.6 kB / 380.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.2128, allocations: 263.9 kB / 380.9 MB, free: 15.67 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.0008463/0.2137, allocations: 0.4986 MB / 381.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.2139, allocations: 238.6 kB / 381.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.2159, allocations: 1.172 MB / 382.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.2159, allocations: 16 kB / 382.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2159, allocations: 4 kB / 382.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2159, allocations: 3.984 kB / 382.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/0.2209, allocations: 3.419 MB / 386.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2209, allocations: 4.062 kB / 386.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.2213, allocations: 159.7 kB / 386.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.2223, allocations: 437.4 kB / 386.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.2224, allocations: 19.98 kB / 386.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.2246, allocations: 2.464 MB / 389.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2246, allocations: 4 kB / 389.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.2274, allocations: 2.088 MB / 391.4 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.2276, allocations: 214.4 kB / 391.6 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.2278, allocations: 16 kB / 391.6 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.2283, allocations: 103.8 kB / 391.7 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2285, allocations: 60.39 kB / 391.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.2285, allocations: 28 kB / 391.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001121/0.2296, allocations: 1.018 MB / 392.8 MB, free: 3.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2296, allocations: 4.031 kB / 392.8 MB, free: 3.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002369/0.232, allocations: 0.7497 MB / 393.6 MB, free: 2.734 MB / 346.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.0003849/0.2324, allocations: 217 kB / 393.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.235, allocations: 2.127 MB / 395.9 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.235, allocations: 0 / 395.9 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.2356, allocations: 0.5527 MB / 396.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.2365, allocations: 235.9 kB / 396.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.242, allocations: 4.531 MB / 401.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.2427, allocations: 0.7505 MB / 402 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001499/0.2442, allocations: 1.116 MB / 403.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.2445, allocations: 152.5 kB / 403.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2445, allocations: 0 / 403.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of Templates: time 0.02727/0.2717, allocations: 20.87 MB / 424.1 MB, free: 4.379 MB / 378.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.4022732130251825]