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.0009394/0.0009394, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001011/0.001011, allocations: 164.6 kB / 25.7 MB, free: 8.312 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.8508/0.8508, allocations: 158.6 MB / 187.6 MB, free: 2.402 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.283e-06/1.283e-06, allocations: 0 / 251.6 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.175e-05, allocations: 6.25 kB / 251.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.00561/0.005621, allocations: 7.372 MB / 259 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.009593, allocations: 3.301 MB / 262.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.01003, allocations: 43.81 kB / 262.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.01123, allocations: 1.074 MB / 263.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.01291, allocations: 1.408 MB / 264.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.01359, allocations: 0.5882 MB / 265.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002332/0.01592, allocations: 2.936 MB / 268.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009457/0.01686, allocations: 1.467 MB / 269.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.01781, allocations: 1.302 MB / 271.1 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009546/0.01877, allocations: 1.259 MB / 272.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.01891, allocations: 148 kB / 272.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.02024, allocations: 0.854 MB / 273.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007757/0.02102, allocations: 1.153 MB / 274.5 MB, free: 176 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.02162, allocations: 0.6891 MB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.02409, allocations: 2.879 MB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.02409, allocations: 3.938 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.02409, allocations: 0 / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.02411, allocations: 0 / 278.1 MB, free: 12.58 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.003326/0.02743, allocations: 2.753 MB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.02747, allocations: 19.92 kB / 280.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.03007, allocations: 0.7655 MB / 281.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.03139, allocations: 1.083 MB / 282.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.03147, allocations: 119.4 kB / 282.8 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.03172, allocations: 167.8 kB / 283 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003539/0.03526, allocations: 3.124 MB / 286.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.03531, allocations: 23.75 kB / 286.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.0355, allocations: 83.89 kB / 286.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/0.03708, allocations: 1.242 MB / 287.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.03994, allocations: 1.629 MB / 289.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.05485, allocations: 20.35 MB / 309.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.0572, allocations: 0.9418 MB / 310.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.05752, allocations: 196 kB / 310.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002997/0.06051, allocations: 2.174 MB / 312.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.06054, allocations: 54.44 kB / 312.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.054e-06/0.06054, allocations: 4 kB / 312.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=80): time 0.005146/0.06569, allocations: 1.946 MB / 314.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.06574, allocations: 132.5 kB / 314.9 MB, free: 6.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.06778, allocations: 2.195 MB / 317 MB, free: 4.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.06783, allocations: 37.69 kB / 317.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009621/0.06879, allocations: 2.109 MB / 319.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.06901, allocations: 353.4 kB / 319.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007246/0.06973, allocations: 0.7825 MB / 320.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.06984, allocations: 369.7 kB / 320.7 MB, free: 356 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008548/0.07069, allocations: 485.8 kB / 321.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.07296, allocations: 3.106 MB / 324.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/0.07611, allocations: 3.955 MB / 328.2 MB, free: 6.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/0.07615, allocations: 28 kB / 328.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003404/0.07955, allocations: 2.819 MB / 331.1 MB, free: 3.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.0796, allocations: 48 kB / 331.1 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-05/0.07967, allocations: 96 kB / 331.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.07995, allocations: 176.2 kB / 331.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.08189, allocations: 0.9514 MB / 332.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.08292, allocations: 1.451 MB / 333.8 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.0846, allocations: 187.8 kB / 334 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.08485, allocations: 228 kB / 334.2 MB, free: 15.96 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.0006785/0.08553, allocations: 468.4 kB / 334.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.08569, allocations: 127.7 kB / 334.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.08611, allocations: 371.8 kB / 335.1 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.08612, allocations: 8 kB / 335.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.08612, allocations: 4 kB / 335.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.08613, allocations: 7.984 kB / 335.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.0879, allocations: 1.701 MB / 336.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.0879, allocations: 0 / 336.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.08815, allocations: 99.83 kB / 336.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.08826, allocations: 43.67 kB / 337 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.0883, allocations: 12 kB / 337 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007548/0.08905, allocations: 1.38 MB / 338.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.08905, allocations: 4.031 kB / 338.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.08992, allocations: 1.051 MB / 339.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.09015, allocations: 254.4 kB / 339.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.09027, allocations: 19.94 kB / 339.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.09061, allocations: 12 kB / 339.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.09067, allocations: 39.86 kB / 339.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.09071, allocations: 23.98 kB / 339.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005613/0.09127, allocations: 0.7662 MB / 340.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09127, allocations: 4.031 kB / 340.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001527/0.09279, allocations: 0.656 MB / 341.2 MB, free: 8.723 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.0002704/0.09306, allocations: 192 kB / 341.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.09465, allocations: 1.638 MB / 343 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.303e-05/0.09473, allocations: 55.94 kB / 343.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.095, allocations: 285.5 kB / 343.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.0958, allocations: 373.2 kB / 343.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.09965, allocations: 4.299 MB / 348 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.1002, allocations: 0.7294 MB / 348.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008886/0.1011, allocations: 328.2 kB / 349.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.1015, allocations: 341.3 kB / 349.4 MB, free: 384 kB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1015, allocations: 0 / 349.4 MB, free: 384 kB / 330.7 MB Notification: Performance of Templates: time 0.109/0.2105, allocations: 16.84 MB / 366.2 MB, free: 86.91 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 -s gbode -gbm=radauIIA3 -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.2689087809994817]