Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 213.8 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2736, allocations: 53.36 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009678/0.2833, allocations: 6.749 MB / 438.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006769/0.2901, allocations: 3.166 MB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.291, allocations: 39.81 kB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.2935, allocations: 1.024 MB / 442.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.2968, allocations: 1.347 MB / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.2981, allocations: 0.5379 MB / 444.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.3017, allocations: 2.617 MB / 447.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.3035, allocations: 1.22 MB / 448.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.305, allocations: 0.8368 MB / 449.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.307, allocations: 1.218 MB / 450.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.3074, allocations: 148 kB / 450.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.3091, allocations: 0.776 MB / 451.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.3104, allocations: 1.075 MB / 452.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.3118, allocations: 0.9002 MB / 453.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004995/0.3168, allocations: 4.095 MB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3168, allocations: 0 / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3168, allocations: 0 / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.504e-05/0.3169, allocations: 0 / 457.3 MB, free: 12.89 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.005537/0.3224, allocations: 2.99 MB / 460.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3224, allocations: 8.031 kB / 460.3 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/0.328, allocations: 1.582 MB / 461.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.3317, allocations: 1.341 MB / 463.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.3318, allocations: 123 kB / 463.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.3322, allocations: 163.9 kB / 463.5 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.343, allocations: 6.534 MB / 470.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/0.3431, allocations: 35.69 kB / 470.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.3433, allocations: 83.89 kB / 470.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002673/0.346, allocations: 1.464 MB / 471.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.3571, allocations: 5.818 MB / 477.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03084/0.388, allocations: 24.17 MB / 0.4899 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/0.3936, allocations: 2.016 MB / 0.4918 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.3952, allocations: 1.137 MB / 0.493 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008481/0.4037, allocations: 4.244 MB / 0.4971 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.4037, allocations: 46.5 kB / 0.4971 GB, free: 7.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.667e-06/0.4037, allocations: 4 kB / 0.4971 GB, free: 7.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02495/0.4287, allocations: 9.71 MB / 0.5066 GB, free: 13.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4288, allocations: 140.9 kB / 0.5068 GB, free: 13.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/0.4324, allocations: 2.545 MB / 0.5092 GB, free: 11.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.4325, allocations: 41.7 kB / 0.5093 GB, free: 11.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.4342, allocations: 2.143 MB / 0.5114 GB, free: 8.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.4347, allocations: 444.7 kB / 0.5118 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.4359, allocations: 0.8494 MB / 0.5126 GB, free: 7.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4361, allocations: 357.9 kB / 0.513 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.4384, allocations: 1.445 MB / 0.5144 GB, free: 5.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.4432, allocations: 4.073 MB / 0.5184 GB, free: 472 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00775/0.4509, allocations: 5.96 MB / 0.5242 GB, free: 9.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-05/0.451, allocations: 28 kB / 0.5242 GB, free: 9.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01205/0.4631, allocations: 6.006 MB / 0.5301 GB, free: 3.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/0.4631, allocations: 51.94 kB / 0.5301 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.4632, allocations: 95.98 kB / 0.5302 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/0.4657, allocations: 0.8207 MB / 0.531 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/0.4687, allocations: 0.9474 MB / 0.5319 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/0.4754, allocations: 4.502 MB / 0.5363 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.4785, allocations: 243.7 kB / 0.5366 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005032/0.479, allocations: 256 kB / 0.5368 GB, free: 12.15 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.002593/0.4816, allocations: 1.372 MB / 0.5382 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.4821, allocations: 215.1 kB / 0.5384 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.4866, allocations: 2.1 MB / 0.5404 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.4866, allocations: 19.88 kB / 0.5404 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.4866, allocations: 4 kB / 0.5404 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4866, allocations: 7.922 kB / 0.5404 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.4957, allocations: 4.316 MB / 0.5447 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4957, allocations: 7.938 kB / 0.5447 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.4965, allocations: 155.7 kB / 0.5448 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.4987, allocations: 0.6796 MB / 0.5455 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/0.4988, allocations: 23.98 kB / 0.5455 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.199/0.6978, allocations: 3.976 MB / 0.5494 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6978, allocations: 1.969 kB / 0.5494 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006939/0.7047, allocations: 4.037 MB / 0.5533 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008605/0.7056, allocations: 193.4 kB / 0.5535 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.7058, allocations: 14.2 kB / 0.5535 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.7069, allocations: 76.34 kB / 0.5536 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.7072, allocations: 61.17 kB / 0.5537 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.7073, allocations: 36.86 kB / 0.5537 GB, free: 112.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002174/0.7094, allocations: 1.458 MB / 0.5551 GB, free: 112.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7094, allocations: 1.859 kB / 0.5551 GB, free: 112.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002891/0.7123, allocations: 0.6605 MB / 0.5558 GB, free: 112.4 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.000387/0.7127, allocations: 199.2 kB / 0.556 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.717, allocations: 3.355 MB / 0.5592 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.717, allocations: 7.5 kB / 0.5592 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.7181, allocations: 0.9573 MB / 0.5602 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.7196, allocations: 221.9 kB / 0.5604 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.727, allocations: 5.719 MB / 0.566 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.7286, allocations: 1.663 MB / 0.5676 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002268/0.7308, allocations: 1.297 MB / 0.5689 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.7312, allocations: 142.4 kB / 0.569 GB, free: 105.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.7312, allocations: 0 / 0.569 GB, free: 105.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03497/0.7662, allocations: 22.05 MB / 0.5905 GB, free: 83.69 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.054131895303726]