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.0009273/0.0009273, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009363/0.0009363, allocations: 165.2 kB / 24.91 MB, free: 9.184 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.9385/0.9385, allocations: 177 MB / 205.2 MB, free: 5.422 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 9.02e-07/9.02e-07, allocations: 0 / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.039e-05, allocations: 6.312 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005527/0.005537, allocations: 7.291 MB / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.009711, allocations: 3.359 MB / 284.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003879/0.0101, allocations: 43.81 kB / 284.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.01121, allocations: 1.074 MB / 285.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.01279, allocations: 1.384 MB / 286.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.01341, allocations: 0.5727 MB / 287.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.01523, allocations: 2.987 MB / 290.2 MB, free: 372 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1041/0.1194, allocations: 1.448 MB / 291.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.1212, allocations: 1.291 MB / 292.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.1229, allocations: 1.253 MB / 294.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.1233, allocations: 148.8 kB / 294.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1247, allocations: 0.8533 MB / 295.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008423/0.1255, allocations: 1.127 MB / 296.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008879/0.1264, allocations: 0.6684 MB / 296.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.1293, allocations: 2.837 MB / 299.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1293, allocations: 0.8438 kB / 299.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1293, allocations: 0 / 299.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.253e-05/0.1294, allocations: 0 / 299.8 MB, free: 14.73 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.003349/0.1327, allocations: 2.733 MB / 302.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1328, allocations: 13.58 kB / 302.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.1347, allocations: 0.7662 MB / 303.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1357, allocations: 1.061 MB / 304.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.1358, allocations: 123.3 kB / 304.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.136, allocations: 162.2 kB / 304.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.1384, allocations: 3.134 MB / 307.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.1384, allocations: 27.92 kB / 307.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.1386, allocations: 84.95 kB / 307.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009922/0.1396, allocations: 1.233 MB / 309.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.1417, allocations: 1.635 MB / 310.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.1528, allocations: 20.35 MB / 331.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1545, allocations: 0.9318 MB / 332 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.1548, allocations: 206.6 kB / 332.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002443/0.1572, allocations: 2.167 MB / 334.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1572, allocations: 49.78 kB / 334.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/0.1572, allocations: 0 / 334.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.004005/0.1612, allocations: 1.948 MB / 336.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1613, allocations: 136.5 kB / 336.5 MB, free: 492 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.1631, allocations: 2.174 MB / 338.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.1631, allocations: 37.7 kB / 338.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007877/0.1639, allocations: 2.098 MB / 340.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.1641, allocations: 358.9 kB / 341.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.1647, allocations: 0.778 MB / 342 MB, free: 11.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.1647, allocations: 362.8 kB / 342.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/0.1654, allocations: 487.3 kB / 342.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.1673, allocations: 3.109 MB / 345.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.1702, allocations: 3.956 MB / 349.8 MB, free: 1.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-05/0.1702, allocations: 28 kB / 349.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.002772/0.173, allocations: 2.813 MB / 352.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.173, allocations: 48 kB / 352.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.264e-05/0.1731, allocations: 100 kB / 352.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.1733, allocations: 165.5 kB / 353 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.1748, allocations: 0.9555 MB / 353.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009354/0.1757, allocations: 1.441 MB / 355.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.1769, allocations: 195.7 kB / 355.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.1771, allocations: 235 kB / 355.8 MB, free: 11.27 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.0007392/0.1778, allocations: 472.6 kB / 356.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.178, allocations: 123.8 kB / 356.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.1785, allocations: 381.6 kB / 356.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1785, allocations: 12 kB / 356.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1785, allocations: 0 / 356.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1785, allocations: 7.984 kB / 356.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.181, allocations: 1.69 MB / 358.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.181, allocations: 4 kB / 358.5 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.1812, allocations: 91.83 kB / 358.6 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.1814, allocations: 47.58 kB / 358.6 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.1814, allocations: 8 kB / 358.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008522/0.1823, allocations: 1.39 MB / 360 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.1823, allocations: 4 kB / 360 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.1831, allocations: 1.041 MB / 361.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.1833, allocations: 194.4 kB / 361.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1834, allocations: 12 kB / 361.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.1838, allocations: 11.98 kB / 361.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.1839, allocations: 43.86 kB / 361.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.1839, allocations: 20 kB / 361.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006883/0.1846, allocations: 0.7616 MB / 362.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1846, allocations: 0 / 362.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001968/0.1866, allocations: 0.6326 MB / 362.7 MB, free: 4.328 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.0003379/0.1869, allocations: 191.9 kB / 362.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.1888, allocations: 1.637 MB / 364.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.524e-05/0.1889, allocations: 55.94 kB / 364.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.1891, allocations: 288.5 kB / 364.9 MB, free: 2.141 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.1901, allocations: 365.3 kB / 365.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.1949, allocations: 4.284 MB / 369.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.1955, allocations: 0.7215 MB / 370.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007033/0.1962, allocations: 326.2 kB / 370.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.1967, allocations: 345.2 kB / 370.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1967, allocations: 0 / 370.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of Templates: time 0.02577/0.2224, allocations: 16.56 MB / 387.5 MB, free: 11.67 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 -s gbode -gbm=radauIIA3 -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.1229656087234616]