Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 73.95 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 152 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 47.88 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.08522, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008845/0.09407, allocations: 6.784 MB / 378.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006156/0.1002, allocations: 3.131 MB / 381.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006828/0.1009, allocations: 43.81 kB / 381.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.103, allocations: 1.027 MB / 382.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.1058, allocations: 1.37 MB / 383.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1069, allocations: 0.5495 MB / 384.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003122/0.11, allocations: 2.59 MB / 387.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.1115, allocations: 1.217 MB / 388.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1126, allocations: 0.8563 MB / 389.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.1141, allocations: 1.215 MB / 390.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.1143, allocations: 148 kB / 390.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1158, allocations: 0.7877 MB / 391.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.1168, allocations: 1.098 MB / 392.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009177/0.1178, allocations: 0.9002 MB / 393.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.1219, allocations: 4.143 MB / 397.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1219, allocations: 4 kB / 397.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1219, allocations: 0 / 397.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.122, allocations: 0 / 397.4 MB, free: 13.34 MB / 366.1 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.004885/0.1269, allocations: 3.001 MB / 400.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1269, allocations: 8.031 kB / 400.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/0.1326, allocations: 1.652 MB / 402.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.135, allocations: 1.356 MB / 403.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1351, allocations: 123 kB / 403.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.1354, allocations: 163.8 kB / 403.7 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009294/0.1447, allocations: 6.542 MB / 410.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-05/0.1448, allocations: 31.66 kB / 410.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.145, allocations: 79.89 kB / 410.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.1475, allocations: 1.468 MB / 411.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.1574, allocations: 5.849 MB / 417.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.186, allocations: 24.26 MB / 442 MB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005669/0.1917, allocations: 2.083 MB / 444.1 MB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.1933, allocations: 1.129 MB / 445.2 MB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007757/0.2011, allocations: 4.304 MB / 449.5 MB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2011, allocations: 38.56 kB / 449.5 MB, free: 7.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.266e-06/0.2011, allocations: 0 / 449.5 MB, free: 7.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.03542/0.2365, allocations: 9.918 MB / 459.4 MB, free: 13.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.2366, allocations: 141 kB / 459.6 MB, free: 13.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/0.2427, allocations: 2.546 MB / 462.1 MB, free: 11.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.2429, allocations: 37.7 kB / 462.2 MB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.2453, allocations: 2.155 MB / 464.3 MB, free: 8.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007517/0.2461, allocations: 452.7 kB / 464.8 MB, free: 8.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/0.248, allocations: 0.8378 MB / 465.6 MB, free: 7.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.2483, allocations: 361.9 kB / 466 MB, free: 7.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/0.252, allocations: 1.456 MB / 467.4 MB, free: 5.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006308/0.2583, allocations: 4.081 MB / 471.5 MB, free: 368 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1908/0.4492, allocations: 5.96 MB / 477.4 MB, free: 83.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-05/0.4492, allocations: 26.94 kB / 477.5 MB, free: 83.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01109/0.4603, allocations: 6.031 MB / 483.5 MB, free: 81.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.4604, allocations: 45.16 kB / 483.5 MB, free: 81.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.851e-05/0.4605, allocations: 97.62 kB / 483.6 MB, free: 81.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/0.4628, allocations: 0.8171 MB / 484.5 MB, free: 81.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.4652, allocations: 0.9597 MB / 485.4 MB, free: 81.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.4699, allocations: 4.495 MB / 489.9 MB, free: 78.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.4725, allocations: 272.2 kB / 490.2 MB, free: 78.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/0.4728, allocations: 260.1 kB / 490.4 MB, free: 78.65 MB / 430.1 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.001403/0.4742, allocations: 1.375 MB / 491.8 MB, free: 78.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.4744, allocations: 218.2 kB / 492 MB, free: 78.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.478, allocations: 2.098 MB / 494.1 MB, free: 77.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.4781, allocations: 11.12 kB / 494.1 MB, free: 77.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4781, allocations: 3.688 kB / 494.1 MB, free: 77.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4781, allocations: 3.891 kB / 494.1 MB, free: 77.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.4848, allocations: 4.348 MB / 498.5 MB, free: 74.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4848, allocations: 3.984 kB / 498.5 MB, free: 74.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.4855, allocations: 155.8 kB / 498.6 MB, free: 74.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.4874, allocations: 0.6835 MB / 499.3 MB, free: 73.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.4875, allocations: 13.22 kB / 499.3 MB, free: 73.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003912/0.4914, allocations: 3.993 MB / 0.4915 GB, free: 69.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4914, allocations: 4.094 kB / 0.4915 GB, free: 69.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.4964, allocations: 4.042 MB / 0.4955 GB, free: 65.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.4967, allocations: 189.9 kB / 0.4957 GB, free: 65.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.4969, allocations: 23.92 kB / 0.4957 GB, free: 65.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/0.4978, allocations: 76.45 kB / 0.4958 GB, free: 65.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.498, allocations: 56.39 kB / 0.4958 GB, free: 65.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.498, allocations: 38.64 kB / 0.4959 GB, free: 64.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001615/0.4997, allocations: 1.459 MB / 0.4973 GB, free: 63.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4997, allocations: 8 kB / 0.4973 GB, free: 63.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002693/0.5024, allocations: 0.67 MB / 0.4979 GB, free: 62.85 MB / 430.1 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.0003347/0.5027, allocations: 199.3 kB / 0.4981 GB, free: 62.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.5065, allocations: 3.372 MB / 0.5014 GB, free: 59.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5065, allocations: 384 / 0.5014 GB, free: 59.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.5075, allocations: 0.9734 MB / 0.5024 GB, free: 58.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5087, allocations: 223.7 kB / 0.5026 GB, free: 58.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.5151, allocations: 5.71 MB / 0.5082 GB, free: 52.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.5166, allocations: 1.668 MB / 0.5098 GB, free: 50.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00218/0.5188, allocations: 1.298 MB / 0.5111 GB, free: 49.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.5192, allocations: 148.5 kB / 0.5112 GB, free: 49.24 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5192, allocations: 0 / 0.5112 GB, free: 49.24 MB / 430.1 MB Notification: Performance of Templates: time 0.03323/0.5524, allocations: 19.42 MB / 0.5302 GB, free: 30.11 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.527113963966258]