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.0009495/0.0009495, allocations: 75.75 kB / 22.46 MB, free: 2.074 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.0009922/0.0009922, allocations: 159.7 kB / 25.75 MB, free: 8.562 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 0.8981/0.8981, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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.233e-06/1.233e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.156e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006171/0.006193, allocations: 7.505 MB / 258.6 MB, free: 244 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.01013, allocations: 3.209 MB / 261.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.0106, allocations: 43.81 kB / 261.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.01198, allocations: 1.105 MB / 263 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.01374, allocations: 1.42 MB / 264.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.01446, allocations: 0.5999 MB / 265 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.01637, allocations: 2.917 MB / 267.9 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.01754, allocations: 1.533 MB / 269.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.01862, allocations: 1.294 MB / 270.8 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.0197, allocations: 1.356 MB / 272.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.01986, allocations: 152 kB / 272.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.02073, allocations: 0.8228 MB / 273.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006473/0.02138, allocations: 1.149 MB / 274.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.0219, allocations: 0.6929 MB / 274.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.02408, allocations: 2.883 MB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.02409, allocations: 0 / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02409, allocations: 4 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.02413, allocations: 0 / 277.8 MB, free: 12.98 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.003339/0.02747, allocations: 3.327 MB / 281.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.0275, allocations: 11.98 kB / 281.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.03067, allocations: 1.902 MB / 283.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.03197, allocations: 1.25 MB / 284.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.03205, allocations: 123.4 kB / 284.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.03225, allocations: 163.8 kB / 284.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.03617, allocations: 3.894 MB / 288.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.03622, allocations: 27.7 kB / 288.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.03639, allocations: 83.89 kB / 288.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/0.03789, allocations: 1.468 MB / 290.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.04163, allocations: 2.145 MB / 292.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.06251, allocations: 29.03 MB / 321.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.06593, allocations: 1.198 MB / 322.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/0.06683, allocations: 400 kB / 322.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004882/0.07171, allocations: 3.34 MB / 326.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.07174, allocations: 49.38 kB / 326.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.016e-06/0.07175, allocations: 0 / 326.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.0165/0.08824, allocations: 6.965 MB / 333.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.08831, allocations: 141 kB / 333.3 MB, free: 3.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.09108, allocations: 2.408 MB / 335.7 MB, free: 1.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.09115, allocations: 41.7 kB / 335.8 MB, free: 1.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.0927, allocations: 2.26 MB / 338 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.09307, allocations: 464.7 kB / 338.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.09439, allocations: 0.901 MB / 339.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.09461, allocations: 0.5355 MB / 339.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.09592, allocations: 455.8 kB / 340.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.09887, allocations: 4.337 MB / 344.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1296/0.2285, allocations: 5.287 MB / 350 MB, free: 95.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/0.2286, allocations: 26.69 kB / 350 MB, free: 95.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.006814/0.2355, allocations: 4.068 MB / 354.1 MB, free: 95.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.2355, allocations: 48.05 kB / 354.1 MB, free: 95.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.597e-05/0.2356, allocations: 92.78 kB / 354.2 MB, free: 95.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.2368, allocations: 0.5531 MB / 354.8 MB, free: 95.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.2385, allocations: 0.9536 MB / 355.7 MB, free: 95.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.2411, allocations: 2.973 MB / 358.7 MB, free: 93.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.243, allocations: 285.3 kB / 359 MB, free: 93.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.2433, allocations: 263.9 kB / 359.2 MB, free: 93.17 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.0007531/0.244, allocations: 0.5048 MB / 359.7 MB, free: 92.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.2443, allocations: 238.9 kB / 360 MB, free: 92.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.2461, allocations: 1.164 MB / 361.1 MB, free: 92.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.2462, allocations: 15.69 kB / 361.1 MB, free: 92.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2462, allocations: 4 kB / 361.1 MB, free: 92.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2462, allocations: 3.797 kB / 361.1 MB, free: 92.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.2506, allocations: 3.429 MB / 364.6 MB, free: 90.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2506, allocations: 0 / 364.6 MB, free: 90.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.251, allocations: 155.8 kB / 364.7 MB, free: 90.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.252, allocations: 442.6 kB / 365.2 MB, free: 90.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.2521, allocations: 19.98 kB / 365.2 MB, free: 90.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.2541, allocations: 2.471 MB / 367.7 MB, free: 87.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2541, allocations: 7.828 kB / 367.7 MB, free: 87.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.2566, allocations: 2.091 MB / 369.8 MB, free: 85.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.2571, allocations: 358.6 kB / 370.1 MB, free: 85.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.2573, allocations: 19.94 kB / 370.1 MB, free: 85.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.2579, allocations: 107.8 kB / 370.2 MB, free: 85.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.258, allocations: 64.33 kB / 370.3 MB, free: 85.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.2581, allocations: 31.77 kB / 370.3 MB, free: 85.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001068/0.2592, allocations: 1.034 MB / 371.4 MB, free: 84.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2592, allocations: 0 / 371.4 MB, free: 84.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002386/0.2615, allocations: 0.7608 MB / 372.1 MB, free: 83.28 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.0004087/0.262, allocations: 222.7 kB / 372.3 MB, free: 83.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.2646, allocations: 2.12 MB / 374.5 MB, free: 80.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2646, allocations: 4 kB / 374.5 MB, free: 80.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.2651, allocations: 0.5488 MB / 375 MB, free: 80.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.2661, allocations: 246.8 kB / 375.2 MB, free: 80.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.2715, allocations: 4.538 MB / 379.8 MB, free: 75.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.2721, allocations: 0.7624 MB / 380.5 MB, free: 74.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00145/0.2735, allocations: 1.109 MB / 381.7 MB, free: 73.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.2738, allocations: 152.5 kB / 381.8 MB, free: 73.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/0.2738, allocations: 0 / 381.8 MB, free: 73.49 MB / 330.7 MB Notification: Performance of Templates: time 0.0264/0.3002, allocations: 21.17 MB / 403 MB, free: 52.36 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","",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.5493847702164203]