Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002273/0.002273, allocations: 99.53 kB / 21.74 MB, free: 2.688 MB / 18.57 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.002697/0.002697, allocations: 161.4 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.798e-05, allocations: 2.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01136/0.01138, allocations: 7.466 MB / 257.8 MB, free: 328 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008128/0.01951, allocations: 3.225 MB / 261.1 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.02086, allocations: 43.81 kB / 261.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.02342, allocations: 1.086 MB / 262.2 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.02721, allocations: 1.439 MB / 263.6 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.02875, allocations: 0.5883 MB / 264.2 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004799/0.03355, allocations: 2.928 MB / 267.2 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.03621, allocations: 1.529 MB / 268.7 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.0386, allocations: 1.305 MB / 270 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.041, allocations: 1.348 MB / 271.3 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.04136, allocations: 152 kB / 271.5 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.04327, allocations: 0.8266 MB / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.04465, allocations: 1.153 MB / 273.5 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.04576, allocations: 0.6929 MB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.05203, allocations: 4.146 MB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.05203, allocations: 0 / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.05204, allocations: 4 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.721e-05/0.05213, allocations: 0 / 278.3 MB, free: 11.77 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.007811/0.05994, allocations: 3.565 MB / 281.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.05999, allocations: 11.98 kB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/0.06695, allocations: 1.902 MB / 283.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.07052, allocations: 1.258 MB / 285 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.07065, allocations: 123.4 kB / 285.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.07104, allocations: 159.8 kB / 285.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009147/0.08018, allocations: 4.144 MB / 289.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.315e-05/0.08026, allocations: 27.77 kB / 289.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.08051, allocations: 83.89 kB / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002866/0.08338, allocations: 1.464 MB / 291 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007525/0.09091, allocations: 2.417 MB / 293.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/0.1322, allocations: 31.07 MB / 324.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005396/0.1376, allocations: 1.249 MB / 325.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.1387, allocations: 412 kB / 326.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008614/0.1474, allocations: 3.391 MB / 329.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.1474, allocations: 49.33 kB / 329.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.637e-06/0.1474, allocations: 0 / 329.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.02387/0.1713, allocations: 7.039 MB / 336.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1714, allocations: 141 kB / 336.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004612/0.176, allocations: 2.955 MB / 339.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.1762, allocations: 45.7 kB / 339.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002437/0.1786, allocations: 2.384 MB / 342.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006577/0.1793, allocations: 488.7 kB / 342.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/0.1809, allocations: 1.042 MB / 343.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003635/0.1812, allocations: 0.559 MB / 344.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.1825, allocations: 0.4959 MB / 344.8 MB, free: 7.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/0.1882, allocations: 4.509 MB / 349.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1363/0.3245, allocations: 5.492 MB / 354.8 MB, free: 89.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/0.3246, allocations: 27.69 kB / 354.8 MB, free: 89.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.008851/0.3335, allocations: 4.178 MB / 359 MB, free: 88.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.3335, allocations: 44.97 kB / 359 MB, free: 88.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.979e-05/0.3336, allocations: 92.38 kB / 359.1 MB, free: 88.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.3356, allocations: 0.5589 MB / 359.7 MB, free: 88.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.3382, allocations: 0.9525 MB / 360.6 MB, free: 88.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.3418, allocations: 3.053 MB / 363.7 MB, free: 86.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.3447, allocations: 276.8 kB / 363.9 MB, free: 86.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004288/0.3452, allocations: 265.8 kB / 364.2 MB, free: 86.2 MB / 330.7 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.0009964/0.3462, allocations: 0.5605 MB / 364.7 MB, free: 85.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.3466, allocations: 240.8 kB / 365 MB, free: 85.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/0.3498, allocations: 1.202 MB / 366.2 MB, free: 85.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.3499, allocations: 12 kB / 366.2 MB, free: 85.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3499, allocations: 7.938 kB / 366.2 MB, free: 85.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3499, allocations: 4.391 kB / 366.2 MB, free: 85.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/0.3577, allocations: 3.922 MB / 370.1 MB, free: 82.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.3578, allocations: 4 kB / 370.1 MB, free: 82.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.3585, allocations: 160.4 kB / 370.3 MB, free: 82.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3603, allocations: 434.8 kB / 370.7 MB, free: 82.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/0.3604, allocations: 23.81 kB / 370.7 MB, free: 82.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.3633, allocations: 2.544 MB / 373.3 MB, free: 79.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3633, allocations: 3.938 kB / 373.3 MB, free: 79.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.3672, allocations: 2.165 MB / 375.4 MB, free: 77.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.3682, allocations: 356.5 kB / 375.8 MB, free: 77.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.3685, allocations: 19.94 kB / 375.8 MB, free: 77.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.3696, allocations: 114.8 kB / 375.9 MB, free: 77.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.3698, allocations: 64.33 kB / 376 MB, free: 77.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.3699, allocations: 28 kB / 376 MB, free: 77.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001773/0.3716, allocations: 1.229 MB / 377.2 MB, free: 75.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3716, allocations: 0 / 377.2 MB, free: 75.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003135/0.3748, allocations: 0.7531 MB / 378 MB, free: 75.03 MB / 330.7 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.0005417/0.3753, allocations: 229 kB / 378.2 MB, free: 74.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003624/0.3789, allocations: 2.32 MB / 380.5 MB, free: 72.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3789, allocations: 0 / 380.5 MB, free: 72.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.3797, allocations: 0.607 MB / 381.2 MB, free: 71.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.3812, allocations: 240.5 kB / 381.4 MB, free: 71.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.3872, allocations: 4.599 MB / 386 MB, free: 66.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.3884, allocations: 1.514 MB / 387.5 MB, free: 65.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002115/0.3906, allocations: 1.11 MB / 388.6 MB, free: 64.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.391, allocations: 160.5 kB / 388.8 MB, free: 64.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.391, allocations: 0 / 388.8 MB, free: 64.17 MB / 330.7 MB Notification: Performance of Templates: time 0.03511/0.4261, allocations: 21.13 MB / 409.9 MB, free: 43.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.748339181998745]