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.001448/0.001448, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001184/0.001184, allocations: 166.1 kB / 25.69 MB, free: 8.406 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.8174/0.8174, allocations: 158.6 MB / 187.6 MB, free: 2.75 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 7.42e-07/7.42e-07, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.24e-05, allocations: 6.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005492/0.005505, allocations: 7.322 MB / 258.9 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.009511, allocations: 3.313 MB / 262.2 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.009881, allocations: 39.81 kB / 262.2 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01097, allocations: 1.086 MB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.01267, allocations: 1.439 MB / 264.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.01335, allocations: 0.6 MB / 265.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.01534, allocations: 2.928 MB / 268.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.01649, allocations: 1.58 MB / 269.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.01757, allocations: 1.341 MB / 271.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.01871, allocations: 1.262 MB / 272.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.01888, allocations: 148 kB / 272.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.0197, allocations: 0.8188 MB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.02031, allocations: 1.153 MB / 274.6 MB, free: 104 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.02081, allocations: 0.6851 MB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.02276, allocations: 2.879 MB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.02277, allocations: 0 / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02277, allocations: 0 / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.564e-05/0.0228, allocations: 4 kB / 278.1 MB, free: 12.52 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.002599/0.0254, allocations: 2.749 MB / 280.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.313e-05/0.02542, allocations: 15.98 kB / 280.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.02723, allocations: 0.781 MB / 281.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.0283, allocations: 1.08 MB / 282.8 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.02836, allocations: 115.4 kB / 282.9 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.0286, allocations: 171.8 kB / 283 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.03146, allocations: 3.124 MB / 286.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.0315, allocations: 23.75 kB / 286.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.03165, allocations: 87.88 kB / 286.3 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/0.03267, allocations: 1.234 MB / 287.5 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.03516, allocations: 1.629 MB / 289.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.04668, allocations: 20.35 MB / 309.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.04836, allocations: 0.9417 MB / 310.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.04881, allocations: 200.1 kB / 310.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/0.05111, allocations: 2.177 MB / 312.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.05114, allocations: 46.48 kB / 312.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 1.683e-06/0.05114, allocations: 4 kB / 312.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=80): time 0.003686/0.05483, allocations: 1.938 MB / 314.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.05487, allocations: 136.5 kB / 314.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.05621, allocations: 2.191 MB / 317.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.05625, allocations: 37.69 kB / 317.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009989/0.05724, allocations: 2.109 MB / 319.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.05741, allocations: 353.4 kB / 319.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005372/0.05795, allocations: 0.7786 MB / 320.4 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.05804, allocations: 365.8 kB / 320.7 MB, free: 304 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.05868, allocations: 485.8 kB / 321.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.06056, allocations: 3.106 MB / 324.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.06284, allocations: 3.959 MB / 328.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.06286, allocations: 28 kB / 328.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.002778/0.06564, allocations: 2.824 MB / 331.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.06567, allocations: 48 kB / 331.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.446e-05/0.06573, allocations: 100 kB / 331.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.06595, allocations: 167.6 kB / 331.4 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.06727, allocations: 0.9162 MB / 332.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008081/0.06808, allocations: 1.44 MB / 333.8 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.06926, allocations: 191.8 kB / 334 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.06946, allocations: 228 kB / 334.2 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005013/0.06996, allocations: 472.3 kB / 334.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.07012, allocations: 123.8 kB / 334.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.07055, allocations: 375.8 kB / 335.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.07056, allocations: 12 kB / 335.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.07056, allocations: 4 kB / 335.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.07057, allocations: 7.984 kB / 335.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.07285, allocations: 1.701 MB / 336.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.07285, allocations: 4.031 kB / 336.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.07308, allocations: 87.89 kB / 337 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.0732, allocations: 39.64 kB / 337 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.07322, allocations: 12 kB / 337 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000741/0.07397, allocations: 1.381 MB / 338.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.07397, allocations: 0 / 338.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.07472, allocations: 1.051 MB / 339.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.07498, allocations: 254.3 kB / 339.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.0751, allocations: 15.98 kB / 339.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.07545, allocations: 20 kB / 339.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.0755, allocations: 31.94 kB / 339.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.07554, allocations: 27.97 kB / 339.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005778/0.07612, allocations: 0.7701 MB / 340.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07612, allocations: 0 / 340.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001594/0.07771, allocations: 0.656 MB / 341.2 MB, free: 8.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (54): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003025/0.07802, allocations: 192 kB / 341.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.0794, allocations: 1.634 MB / 343 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.473e-05/0.07948, allocations: 55.94 kB / 343.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.07975, allocations: 292.8 kB / 343.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.08058, allocations: 365.6 kB / 343.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.0848, allocations: 4.298 MB / 348 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.08533, allocations: 0.7255 MB / 348.8 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006348/0.08596, allocations: 327.3 kB / 349.1 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.08636, allocations: 345.3 kB / 349.4 MB, free: 384 kB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.08636, allocations: 0 / 349.4 MB, free: 384 kB / 330.7 MB Notification: Performance of Templates: time 0.1069/0.1932, allocations: 16.84 MB / 366.3 MB, free: 86.94 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.1058062938973308]