Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 164.9 kB / 24.82 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9797/0.9797, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.768e-05, allocations: 5.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006072/0.006089, allocations: 7.241 MB / 280.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.01146, allocations: 3.247 MB / 283.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.01211, allocations: 43.81 kB / 283.9 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.01345, allocations: 1.082 MB / 284.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.01558, allocations: 1.4 MB / 286.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.01636, allocations: 0.5922 MB / 286.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.01855, allocations: 2.983 MB / 289.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1066/0.1252, allocations: 1.511 MB / 291.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.1278, allocations: 1.319 MB / 292.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.1296, allocations: 1.319 MB / 294.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.13, allocations: 150.1 kB / 294.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.1315, allocations: 0.8216 MB / 295 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008697/0.1323, allocations: 1.13 MB / 296.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008386/0.1332, allocations: 0.6702 MB / 296.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.136, allocations: 2.833 MB / 299.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.136, allocations: 0 / 299.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.136, allocations: 0 / 299.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.094e-05/0.1361, allocations: 1.406 kB / 299.7 MB, free: 14.12 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.003514/0.1396, allocations: 3.161 MB / 302.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1397, allocations: 15.95 kB / 302.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.1419, allocations: 0.9984 MB / 303.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1429, allocations: 1.136 MB / 305 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.143, allocations: 117.8 kB / 305.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.1432, allocations: 167.4 kB / 305.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.146, allocations: 3.526 MB / 308.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.146, allocations: 42.27 kB / 308.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.1462, allocations: 79.75 kB / 308.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009218/0.1471, allocations: 1.234 MB / 310.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.1494, allocations: 1.607 MB / 311.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.1625, allocations: 28.36 MB / 340.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.1644, allocations: 0.9487 MB / 341.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.1646, allocations: 262.5 kB / 341.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/0.1672, allocations: 2.478 MB / 343.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1672, allocations: 52.7 kB / 343.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 1.944e-06/0.1672, allocations: 0 / 343.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=80): time 0.004298/0.1715, allocations: 2.147 MB / 346 MB, free: 6.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1716, allocations: 144.4 kB / 346.1 MB, free: 6.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.1733, allocations: 2.452 MB / 348.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1734, allocations: 33.7 kB / 348.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.1744, allocations: 2.343 MB / 351 MB, free: 1.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1747, allocations: 380.5 kB / 351.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/0.1754, allocations: 0.9074 MB / 352.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1755, allocations: 0.5446 MB / 352.8 MB, free: 240 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.176, allocations: 343.9 kB / 353.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.1783, allocations: 4.426 MB / 357.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.1815, allocations: 5.237 MB / 362.8 MB, free: 2.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.11e-05/0.1815, allocations: 28 kB / 362.8 MB, free: 2.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003301/0.1848, allocations: 3.295 MB / 366.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.1849, allocations: 44.97 kB / 366.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.631e-05/0.1849, allocations: 104 kB / 366.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.1852, allocations: 171.6 kB / 366.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.1866, allocations: 0.92 MB / 367.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.1876, allocations: 1.976 MB / 369.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.1888, allocations: 191.7 kB / 369.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.189, allocations: 235 kB / 369.7 MB, free: 11.79 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.0005818/0.1896, allocations: 0.4997 MB / 370.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.1898, allocations: 226.5 kB / 370.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.1903, allocations: 416.7 kB / 370.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.1903, allocations: 15.44 kB / 370.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1903, allocations: 0 / 370.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1903, allocations: 0 / 370.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.1925, allocations: 1.785 MB / 372.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1925, allocations: 3.938 kB / 372.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.1928, allocations: 87.89 kB / 372.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.1929, allocations: 43.67 kB / 372.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1929, allocations: 16 kB / 372.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/0.1938, allocations: 1.788 MB / 374.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1938, allocations: 3.938 kB / 374.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.1948, allocations: 1.227 MB / 375.8 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1949, allocations: 194.5 kB / 376 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.195, allocations: 11.98 kB / 376 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/0.1954, allocations: 19.92 kB / 376 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.1955, allocations: 35.94 kB / 376.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.1955, allocations: 23.98 kB / 376.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000788/0.1963, allocations: 0.98 MB / 377.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1963, allocations: 0 / 377.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001864/0.1981, allocations: 0.6404 MB / 377.7 MB, free: 3.66 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.0003174/0.1985, allocations: 214.7 kB / 377.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.2002, allocations: 1.8 MB / 379.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2002, allocations: 0 / 379.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.2005, allocations: 388.6 kB / 380.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.2013, allocations: 217.7 kB / 380.3 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.2059, allocations: 4.315 MB / 384.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.2065, allocations: 0.7291 MB / 385.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006739/0.2071, allocations: 332.1 kB / 385.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.2076, allocations: 382.1 kB / 386.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2076, allocations: 0 / 386.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Templates: time 0.0245/0.2321, allocations: 16.61 MB / 402.7 MB, free: 10.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.3831449155695736]