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.0009861/0.0009861, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001122/0.001122, allocations: 172 kB / 25.61 MB, free: 8.871 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.9473/0.9473, allocations: 177 MB / 205.9 MB, free: 4.434 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.533e-06/1.533e-06, allocations: 0 / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.227e-05, allocations: 2.312 kB / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006008/0.00602, allocations: 7.244 MB / 281.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.01063, allocations: 3.242 MB / 284.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.01108, allocations: 43.81 kB / 284.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.01229, allocations: 1.094 MB / 285.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.01398, allocations: 1.4 MB / 287.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.01469, allocations: 0.5922 MB / 287.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.0167, allocations: 2.979 MB / 290.7 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009931/0.01769, allocations: 1.514 MB / 292.2 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.01868, allocations: 1.325 MB / 293.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.01975, allocations: 1.321 MB / 294.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.0199, allocations: 148 kB / 295 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.02087, allocations: 0.8266 MB / 295.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.02155, allocations: 1.122 MB / 297 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.02202, allocations: 0.6734 MB / 297.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.02437, allocations: 2.829 MB / 300.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.02438, allocations: 0 / 300.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02438, allocations: 0 / 300.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.0244, allocations: 0 / 300.5 MB, free: 9.801 MB / 282.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.003004/0.0274, allocations: 3.171 MB / 303.6 MB, free: 6.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.02743, allocations: 8.031 kB / 303.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.02958, allocations: 0.9901 MB / 304.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.03067, allocations: 1.137 MB / 305.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.03075, allocations: 123.4 kB / 305.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.03097, allocations: 163.8 kB / 306.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.03415, allocations: 3.531 MB / 309.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.03419, allocations: 27.7 kB / 309.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.03435, allocations: 83.89 kB / 309.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001054/0.0354, allocations: 1.242 MB / 310.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.0376, allocations: 1.604 MB / 312.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.05219, allocations: 28.36 MB / 340.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.05412, allocations: 0.9504 MB / 341.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.05438, allocations: 267.1 kB / 342.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002742/0.05713, allocations: 2.467 MB / 344.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.05715, allocations: 45.38 kB / 344.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 1.723e-06/0.05715, allocations: 0 / 344.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=80): time 0.004322/0.06147, allocations: 2.146 MB / 346.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.06152, allocations: 144.5 kB / 346.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.06317, allocations: 2.456 MB / 349.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.06321, allocations: 29.7 kB / 349.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.06436, allocations: 2.352 MB / 351.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.06456, allocations: 373.4 kB / 352.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/0.06524, allocations: 0.916 MB / 353 MB, free: 3.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.06537, allocations: 0.5432 MB / 353.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.06586, allocations: 351.9 kB / 353.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1084/0.1743, allocations: 4.412 MB / 358.3 MB, free: 73.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.1774, allocations: 5.234 MB / 363.6 MB, free: 68.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.676e-05/0.1774, allocations: 28.5 kB / 363.6 MB, free: 68.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.004037/0.1815, allocations: 3.303 MB / 366.9 MB, free: 67.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.1815, allocations: 47.5 kB / 366.9 MB, free: 67.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.839e-05/0.1816, allocations: 101.2 kB / 367 MB, free: 67.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00029/0.1819, allocations: 169.7 kB / 367.2 MB, free: 67.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.1833, allocations: 0.9179 MB / 368.1 MB, free: 67.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/0.1841, allocations: 1.968 MB / 370.1 MB, free: 65.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.1855, allocations: 198.3 kB / 370.3 MB, free: 65.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.1857, allocations: 228.7 kB / 370.5 MB, free: 65.8 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.000589/0.1863, allocations: 0.5032 MB / 371 MB, free: 65.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.1865, allocations: 229.6 kB / 371.2 MB, free: 65.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.187, allocations: 411.4 kB / 371.6 MB, free: 65.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.187, allocations: 19.41 kB / 371.7 MB, free: 65.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.187, allocations: 0 / 371.7 MB, free: 65.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.187, allocations: 4.297 kB / 371.7 MB, free: 65.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.1891, allocations: 1.78 MB / 373.4 MB, free: 65.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1891, allocations: 0 / 373.4 MB, free: 65.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.1894, allocations: 87.5 kB / 373.5 MB, free: 65.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.1895, allocations: 48.52 kB / 373.6 MB, free: 65.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1895, allocations: 11.25 kB / 373.6 MB, free: 65.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/0.1901, allocations: 1.791 MB / 375.4 MB, free: 63.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1901, allocations: 0.875 kB / 375.4 MB, free: 63.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.1908, allocations: 1.223 MB / 376.6 MB, free: 62.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.191, allocations: 194.3 kB / 376.8 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1911, allocations: 18.78 kB / 376.8 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1914, allocations: 11.44 kB / 376.8 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.1915, allocations: 38.34 kB / 376.9 MB, free: 62.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.1915, allocations: 23.59 kB / 376.9 MB, free: 62.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005998/0.1921, allocations: 0.9764 MB / 377.9 MB, free: 62.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1921, allocations: 4.031 kB / 377.9 MB, free: 62.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00158/0.1937, allocations: 0.6367 MB / 378.5 MB, free: 62.4 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.0002785/0.194, allocations: 208.3 kB / 378.7 MB, free: 62.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.1955, allocations: 1.805 MB / 380.5 MB, free: 61.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1955, allocations: 0 / 380.5 MB, free: 61.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.1957, allocations: 384.3 kB / 380.9 MB, free: 61.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.1965, allocations: 238.7 kB / 381.1 MB, free: 60.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.2001, allocations: 4.292 MB / 385.4 MB, free: 57.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.2006, allocations: 0.733 MB / 386.1 MB, free: 56.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006207/0.2012, allocations: 325.8 kB / 386.5 MB, free: 56.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.2015, allocations: 387.9 kB / 386.8 MB, free: 56.11 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2015, allocations: 0 / 386.8 MB, free: 56.11 MB / 330.7 MB Notification: Performance of Templates: time 0.02264/0.2242, allocations: 16.97 MB / 403.8 MB, free: 40.35 MB / 330.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.4566743238829076]