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.0009274/0.0009274, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001441/0.001441, allocations: 166.3 kB / 24.91 MB, free: 8.77 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.9026/0.9026, allocations: 177 MB / 205.2 MB, free: 5.078 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.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.567e-05, allocations: 2.312 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008066/0.008082, allocations: 7.252 MB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.01278, allocations: 3.359 MB / 284 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.01313, allocations: 39.81 kB / 284 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.01433, allocations: 1.09 MB / 285.1 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01611, allocations: 1.412 MB / 286.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.01672, allocations: 0.5922 MB / 287.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.0185, allocations: 2.979 MB / 290.1 MB, free: 300 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09544/0.1139, allocations: 1.558 MB / 291.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1156, allocations: 1.312 MB / 293 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.1171, allocations: 1.26 MB / 294.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.1174, allocations: 149.8 kB / 294.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.1186, allocations: 0.8176 MB / 295.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007456/0.1194, allocations: 1.128 MB / 296.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007381/0.1201, allocations: 0.6687 MB / 297 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.1225, allocations: 2.835 MB / 299.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1225, allocations: 7.031 kB / 299.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1225, allocations: 0 / 299.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.1226, allocations: 0 / 299.8 MB, free: 14.76 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.002587/0.1251, allocations: 2.733 MB / 302.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1252, allocations: 12.2 kB / 302.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.1271, allocations: 0.7684 MB / 303.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.128, allocations: 1.057 MB / 304.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.1281, allocations: 124.7 kB / 304.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.1283, allocations: 164.1 kB / 304.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.1306, allocations: 3.129 MB / 307.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.1306, allocations: 34.09 kB / 307.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.1308, allocations: 82.2 kB / 307.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008958/0.1317, allocations: 1.238 MB / 309.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.1337, allocations: 1.628 MB / 310.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.145, allocations: 20.35 MB / 331.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.1476, allocations: 0.9227 MB / 332.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.1479, allocations: 214.2 kB / 332.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003251/0.1512, allocations: 2.162 MB / 334.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1512, allocations: 48.25 kB / 334.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.775e-06/0.1512, allocations: 3.938 kB / 334.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.005326/0.1565, allocations: 1.935 MB / 336.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1566, allocations: 135.7 kB / 336.6 MB, free: 492 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.1584, allocations: 2.172 MB / 338.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.1585, allocations: 33.7 kB / 338.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.1596, allocations: 2.102 MB / 340.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1598, allocations: 355 kB / 341.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/0.1606, allocations: 0.7796 MB / 342 MB, free: 11.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1607, allocations: 365.4 kB / 342.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.1616, allocations: 485.8 kB / 342.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.1638, allocations: 3.1 MB / 345.9 MB, free: 6.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/0.1668, allocations: 3.955 MB / 349.9 MB, free: 1.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.605e-05/0.1669, allocations: 28 kB / 349.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003703/0.1706, allocations: 2.82 MB / 352.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.1706, allocations: 48 kB / 352.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.96e-05/0.1707, allocations: 96 kB / 352.9 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.171, allocations: 170.5 kB / 353 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.1729, allocations: 0.9123 MB / 354 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.174, allocations: 1.449 MB / 355.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.1757, allocations: 193.9 kB / 355.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/0.176, allocations: 232 kB / 355.8 MB, free: 11.3 MB / 314.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.0007176/0.1767, allocations: 468.5 kB / 356.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.1769, allocations: 133.8 kB / 356.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.1775, allocations: 371.6 kB / 356.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.1775, allocations: 8 kB / 356.8 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1775, allocations: 4 kB / 356.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1775, allocations: 0 / 356.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.1801, allocations: 1.695 MB / 358.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1801, allocations: 4 kB / 358.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1804, allocations: 87.84 kB / 358.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.1806, allocations: 43.58 kB / 358.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.1806, allocations: 19.97 kB / 358.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1817, allocations: 1.376 MB / 360 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1817, allocations: 4 kB / 360 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1827, allocations: 1.04 MB / 361.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.183, allocations: 194.5 kB / 361.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.1831, allocations: 16 kB / 361.3 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.1836, allocations: 12 kB / 361.3 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.1837, allocations: 47.8 kB / 361.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.1838, allocations: 23.98 kB / 361.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007955/0.1846, allocations: 0.7538 MB / 362.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1846, allocations: 0 / 362.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002529/0.1871, allocations: 0.6365 MB / 362.7 MB, free: 4.344 MB / 314.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.0003485/0.1875, allocations: 184 kB / 362.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.1894, allocations: 1.637 MB / 364.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001196/0.1895, allocations: 63.88 kB / 364.6 MB, free: 2.449 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.1898, allocations: 281.3 kB / 364.9 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.191, allocations: 358.8 kB / 365.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005497/0.1965, allocations: 4.288 MB / 369.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/0.1973, allocations: 0.7254 MB / 370.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008966/0.1982, allocations: 322.9 kB / 370.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.1987, allocations: 349.3 kB / 370.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1987, allocations: 0 / 370.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Templates: time 0.02518/0.2239, allocations: 16.55 MB / 387.5 MB, free: 11.7 MB / 346.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.048090868163854]