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.001546/0.001546, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00151/0.00151, allocations: 166.4 kB / 25.02 MB, free: 8.945 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.441/1.441, allocations: 158.6 MB / 186.8 MB, free: 2.93 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.883e-06/1.883e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.873e-05, allocations: 6.109 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01006/0.01009, allocations: 6.831 MB / 257.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008036/0.01813, allocations: 3.108 MB / 260.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.01929, allocations: 43.81 kB / 260.4 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.02176, allocations: 1.078 MB / 261.4 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.02594, allocations: 1.427 MB / 262.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.02745, allocations: 0.5883 MB / 263.5 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004361/0.03181, allocations: 2.917 MB / 266.4 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.0343, allocations: 1.533 MB / 267.9 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.03689, allocations: 1.302 MB / 269.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.03919, allocations: 1.34 MB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.03956, allocations: 152 kB / 270.7 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.04139, allocations: 0.8266 MB / 271.5 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.04277, allocations: 1.145 MB / 272.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.04388, allocations: 0.689 MB / 273.4 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007798/0.05168, allocations: 4.142 MB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.05168, allocations: 0 / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05168, allocations: 4 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001175/0.0518, allocations: 4 kB / 277.5 MB, free: 12.56 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.007047/0.05885, allocations: 3.028 MB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.05889, allocations: 11.98 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006545/0.06543, allocations: 1.988 MB / 282.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.0688, allocations: 1.388 MB / 283.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.06894, allocations: 119.4 kB / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/0.06933, allocations: 163.8 kB / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.08179, allocations: 6.546 MB / 290.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/0.08187, allocations: 27.77 kB / 290.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.08215, allocations: 83.89 kB / 290.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002903/0.08505, allocations: 1.472 MB / 292.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.09752, allocations: 5.841 MB / 298.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0372/0.1347, allocations: 24.36 MB / 322.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006004/0.1407, allocations: 2.074 MB / 324.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.1426, allocations: 1.133 MB / 325.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008934/0.1515, allocations: 4.371 MB / 330.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.1515, allocations: 38.56 kB / 330.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.326e-06/0.1515, allocations: 0 / 330.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.02787/0.1794, allocations: 10.09 MB / 340.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.1795, allocations: 137 kB / 340.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/0.1842, allocations: 2.663 MB / 343 MB, free: 9.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.1845, allocations: 37.7 kB / 343.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.1865, allocations: 2.132 MB / 345.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006419/0.1872, allocations: 432.8 kB / 345.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.1884, allocations: 0.8377 MB / 346.5 MB, free: 6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.1887, allocations: 361.9 kB / 346.8 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.1916, allocations: 1.456 MB / 348.3 MB, free: 4.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1289/0.3205, allocations: 4.077 MB / 352.3 MB, free: 98.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005777/0.3263, allocations: 5.975 MB / 358.3 MB, free: 94.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.238e-05/0.3264, allocations: 26.59 kB / 358.3 MB, free: 94.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009861/0.3362, allocations: 6.259 MB / 364.6 MB, free: 92.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.128e-05/0.3363, allocations: 42.97 kB / 364.6 MB, free: 92.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.3364, allocations: 92.81 kB / 364.7 MB, free: 92.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.3388, allocations: 0.8247 MB / 365.6 MB, free: 92.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/0.3415, allocations: 0.9597 MB / 366.5 MB, free: 91.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/0.3463, allocations: 4.517 MB / 371 MB, free: 87.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/0.3498, allocations: 300.9 kB / 371.3 MB, free: 87.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004636/0.3503, allocations: 263.8 kB / 371.6 MB, free: 86.81 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.001691/0.352, allocations: 1.372 MB / 373 MB, free: 85.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.3524, allocations: 239.1 kB / 373.2 MB, free: 85.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.3561, allocations: 2.106 MB / 375.3 MB, free: 83.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.3561, allocations: 12 kB / 375.3 MB, free: 83.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3562, allocations: 4 kB / 375.3 MB, free: 83.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3562, allocations: 3.984 kB / 375.3 MB, free: 83.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00887/0.365, allocations: 4.396 MB / 379.7 MB, free: 78.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.3651, allocations: 4 kB / 379.7 MB, free: 78.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.3661, allocations: 155.8 kB / 379.9 MB, free: 78.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/0.3686, allocations: 0.6951 MB / 380.6 MB, free: 77.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.3687, allocations: 19.06 kB / 380.6 MB, free: 77.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.3731, allocations: 4.024 MB / 384.6 MB, free: 73.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.3731, allocations: 4.031 kB / 384.6 MB, free: 73.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.3785, allocations: 4.065 MB / 388.7 MB, free: 69.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009525/0.3795, allocations: 387.4 kB / 389.1 MB, free: 69.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.3799, allocations: 23.94 kB / 389.1 MB, free: 69.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.3812, allocations: 111.8 kB / 389.2 MB, free: 69.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.3814, allocations: 60.39 kB / 389.3 MB, free: 69.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.3815, allocations: 28 kB / 389.3 MB, free: 69.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002227/0.3837, allocations: 1.553 MB / 390.8 MB, free: 67.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3837, allocations: 7.719 kB / 390.8 MB, free: 67.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003427/0.3871, allocations: 0.7556 MB / 391.6 MB, free: 67.06 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.0005474/0.3877, allocations: 229.9 kB / 391.8 MB, free: 66.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004412/0.3921, allocations: 3.371 MB / 395.2 MB, free: 63.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3921, allocations: 8.188 kB / 395.2 MB, free: 63.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3932, allocations: 0.9603 MB / 396.2 MB, free: 62.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.3948, allocations: 243.9 kB / 396.4 MB, free: 62.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007994/0.4028, allocations: 5.763 MB / 402.2 MB, free: 56.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.4049, allocations: 1.678 MB / 403.8 MB, free: 54.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002475/0.4073, allocations: 1.3 MB / 405.1 MB, free: 53.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.4078, allocations: 156.5 kB / 405.3 MB, free: 53.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4078, allocations: 0 / 405.3 MB, free: 53.31 MB / 330.7 MB Notification: Performance of Templates: time 0.03642/0.4443, allocations: 21.08 MB / 426.4 MB, free: 32.24 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] 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.758337953011505]