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.001403/0.001403, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001531/0.001531, allocations: 213.1 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001965/0.001965, allocations: 59.91 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2388, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009483/0.2483, allocations: 6.755 MB / 438.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.2549, allocations: 3.15 MB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.2556, allocations: 43.81 kB / 441.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.2579, allocations: 1.02 MB / 442.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.2612, allocations: 1.347 MB / 444 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2624, allocations: 0.5378 MB / 444.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.2662, allocations: 2.625 MB / 447.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.2679, allocations: 1.22 MB / 448.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.2693, allocations: 0.8407 MB / 449.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.2713, allocations: 1.211 MB / 450.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.2717, allocations: 148 kB / 450.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.2736, allocations: 0.7838 MB / 451.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.2747, allocations: 1.079 MB / 452.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.2759, allocations: 0.8884 MB / 453.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.2815, allocations: 4.099 MB / 457.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2815, allocations: 0 / 457.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2815, allocations: 0 / 457.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.2816, allocations: 0 / 457.4 MB, free: 12.66 MB / 366.1 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.006029/0.2877, allocations: 2.99 MB / 460.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2877, allocations: 15.92 kB / 460.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.2933, allocations: 1.586 MB / 462 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.2967, allocations: 1.333 MB / 463.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2968, allocations: 123 kB / 463.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/0.2972, allocations: 163.9 kB / 463.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.308, allocations: 6.538 MB / 470.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.663e-05/0.3081, allocations: 35.69 kB / 470.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.3084, allocations: 83.89 kB / 470.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002699/0.3111, allocations: 1.468 MB / 471.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.322, allocations: 5.81 MB / 477.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.3557, allocations: 24.17 MB / 0.4899 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/0.3616, allocations: 2.013 MB / 0.4919 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.3634, allocations: 1.133 MB / 0.493 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008857/0.3723, allocations: 4.248 MB / 0.4972 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.3723, allocations: 58.42 kB / 0.4972 GB, free: 7.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.887e-06/0.3723, allocations: 0 / 0.4972 GB, free: 7.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02769/0.4, allocations: 9.708 MB / 0.5067 GB, free: 13.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.4001, allocations: 140.9 kB / 0.5068 GB, free: 13.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.4041, allocations: 2.541 MB / 0.5093 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.4043, allocations: 45.69 kB / 0.5093 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.4061, allocations: 2.151 MB / 0.5115 GB, free: 8.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005913/0.4067, allocations: 436.7 kB / 0.5119 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.4081, allocations: 0.8533 MB / 0.5127 GB, free: 7.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.4084, allocations: 361.9 kB / 0.513 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.4111, allocations: 1.441 MB / 0.5145 GB, free: 5.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/0.4164, allocations: 4.069 MB / 0.5184 GB, free: 232 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008403/0.4248, allocations: 5.961 MB / 0.5242 GB, free: 8.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.966e-05/0.4249, allocations: 24 kB / 0.5243 GB, free: 8.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01297/0.4378, allocations: 6.013 MB / 0.5301 GB, free: 2.914 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.4379, allocations: 47.94 kB / 0.5302 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.4381, allocations: 92 kB / 0.5303 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/0.4407, allocations: 0.8246 MB / 0.5311 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/0.4439, allocations: 0.9474 MB / 0.532 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.4508, allocations: 4.495 MB / 0.5364 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/0.454, allocations: 243.7 kB / 0.5366 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007315/0.4548, allocations: 256 kB / 0.5369 GB, free: 11.91 MB / 462.1 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.002826/0.4576, allocations: 1.38 MB / 0.5382 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.4581, allocations: 210.5 kB / 0.5384 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.463, allocations: 2.096 MB / 0.5405 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.463, allocations: 15.94 kB / 0.5405 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.4631, allocations: 4 kB / 0.5405 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4631, allocations: 3.984 kB / 0.5405 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.4739, allocations: 4.319 MB / 0.5447 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.4739, allocations: 4.562 kB / 0.5447 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.4748, allocations: 163.7 kB / 0.5449 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/0.4771, allocations: 0.6834 MB / 0.5455 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.4773, allocations: 20 kB / 0.5456 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2415/0.7188, allocations: 3.974 MB / 0.5494 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7188, allocations: 5.5 kB / 0.5494 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/0.7254, allocations: 4.035 MB / 0.5534 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.726, allocations: 187.9 kB / 0.5536 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.7262, allocations: 17.5 kB / 0.5536 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.7271, allocations: 80.41 kB / 0.5537 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.7273, allocations: 58.33 kB / 0.5537 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.7274, allocations: 29.58 kB / 0.5537 GB, free: 113.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002303/0.7297, allocations: 1.458 MB / 0.5552 GB, free: 112.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7297, allocations: 2.531 kB / 0.5552 GB, free: 112.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004374/0.7341, allocations: 0.6653 MB / 0.5558 GB, free: 112.5 MB / 462.1 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.0005082/0.7346, allocations: 202.6 kB / 0.556 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004688/0.7393, allocations: 3.353 MB / 0.5593 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7393, allocations: 0 / 0.5593 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.7404, allocations: 0.961 MB / 0.5602 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.742, allocations: 233.6 kB / 0.5604 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007502/0.7495, allocations: 5.715 MB / 0.566 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.7512, allocations: 1.659 MB / 0.5676 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002499/0.7537, allocations: 1.293 MB / 0.5689 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.7541, allocations: 150.7 kB / 0.5691 GB, free: 105.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7541, allocations: 0 / 0.5691 GB, free: 105.2 MB / 462.1 MB Notification: Performance of Templates: time 0.03698/0.7911, allocations: 22.04 MB / 0.5906 GB, free: 83.84 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.020235823467374]