Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001373/0.001373, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001619/0.001619, allocations: 216.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 55.84 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2936, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009629/0.3032, allocations: 7.657 MB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.3099, allocations: 3.403 MB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008248/0.3107, allocations: 43.81 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.3129, allocations: 1.051 MB / 443.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.3159, allocations: 1.35 MB / 445.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.317, allocations: 0.5417 MB / 445.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.3205, allocations: 2.618 MB / 448.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.322, allocations: 1.218 MB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3232, allocations: 0.8408 MB / 450.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.3249, allocations: 1.265 MB / 451.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.3252, allocations: 144 kB / 451.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.3269, allocations: 0.9243 MB / 452.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.328, allocations: 1.079 MB / 453.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.3292, allocations: 1.23 MB / 455 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.3337, allocations: 4.104 MB / 459.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3337, allocations: 3.938 kB / 459.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3337, allocations: 0 / 459.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.374e-05/0.3338, allocations: 0 / 459.1 MB, free: 11.35 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.005307/0.3391, allocations: 2.986 MB / 462.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3391, allocations: 8.031 kB / 462.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/0.3444, allocations: 1.586 MB / 463.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.3475, allocations: 1.329 MB / 465 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.3476, allocations: 127 kB / 465.1 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.348, allocations: 159.9 kB / 465.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.3582, allocations: 6.538 MB / 471.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.13e-05/0.3583, allocations: 31.7 kB / 471.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.3585, allocations: 79.89 kB / 471.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002616/0.3611, allocations: 1.468 MB / 473.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.372, allocations: 5.841 MB / 479.2 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03334/0.4053, allocations: 25.62 MB / 0.493 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005525/0.4109, allocations: 2.016 MB / 0.495 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.4125, allocations: 1.133 MB / 0.4961 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008604/0.4211, allocations: 4.545 MB / 0.5005 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4211, allocations: 42.5 kB / 0.5006 GB, free: 4.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.865e-06/0.4211, allocations: 4 kB / 0.5006 GB, free: 4.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02373/0.4449, allocations: 9.687 MB / 0.51 GB, free: 10.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.4449, allocations: 137 kB / 0.5102 GB, free: 10.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.4487, allocations: 2.71 MB / 0.5128 GB, free: 7.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.4489, allocations: 45.7 kB / 0.5129 GB, free: 7.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.4505, allocations: 2.132 MB / 0.515 GB, free: 5.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.451, allocations: 448.6 kB / 0.5154 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.452, allocations: 0.8339 MB / 0.5162 GB, free: 4.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4521, allocations: 301.1 kB / 0.5165 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.4543, allocations: 1.449 MB / 0.5179 GB, free: 2.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004335/0.4587, allocations: 4.073 MB / 0.5219 GB, free: 13.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007458/0.4661, allocations: 5.963 MB / 0.5277 GB, free: 5.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.847e-05/0.4662, allocations: 24 kB / 0.5277 GB, free: 5.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01196/0.4782, allocations: 6.038 MB / 0.5336 GB, free: 15.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/0.4782, allocations: 44 kB / 0.5337 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.4783, allocations: 100.2 kB / 0.5338 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.4808, allocations: 0.8123 MB / 0.5345 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/0.484, allocations: 0.9474 MB / 0.5355 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006428/0.4904, allocations: 4.564 MB / 0.5399 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.4932, allocations: 247.6 kB / 0.5402 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/0.4936, allocations: 260 kB / 0.5404 GB, free: 8.684 MB / 462.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.001957/0.4956, allocations: 1.364 MB / 0.5417 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.4959, allocations: 246.4 kB / 0.542 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/0.5003, allocations: 2.118 MB / 0.544 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.5003, allocations: 16 kB / 0.5441 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5003, allocations: 0 / 0.5441 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.5004, allocations: 7.984 kB / 0.5441 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2157/0.716, allocations: 5.028 MB / 0.549 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.7161, allocations: 1.594 kB / 0.549 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7171, allocations: 160.4 kB / 0.5491 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002499/0.7196, allocations: 0.6793 MB / 0.5498 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.7198, allocations: 21.25 kB / 0.5498 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005052/0.7248, allocations: 4.047 MB / 0.5538 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7248, allocations: 10.09 kB / 0.5538 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.7304, allocations: 4.061 MB / 0.5577 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.7309, allocations: 216.1 kB / 0.558 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.7311, allocations: 19.75 kB / 0.558 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.732, allocations: 74.38 kB / 0.558 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.7322, allocations: 63.67 kB / 0.5581 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.7323, allocations: 32.81 kB / 0.5581 GB, free: 110.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002054/0.7343, allocations: 1.688 MB / 0.5598 GB, free: 110.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7343, allocations: 0 / 0.5598 GB, free: 110.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002974/0.7373, allocations: 0.6681 MB / 0.5604 GB, free: 110.2 MB / 462.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.0003857/0.7377, allocations: 195.3 kB / 0.5606 GB, free: 110.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.7418, allocations: 3.356 MB / 0.5639 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7418, allocations: 3.938 kB / 0.5639 GB, free: 108.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.7429, allocations: 0.9606 MB / 0.5648 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.7442, allocations: 253.9 kB / 0.5651 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.7515, allocations: 5.744 MB / 0.5707 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.7531, allocations: 2.236 MB / 0.5729 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002264/0.7554, allocations: 1.323 MB / 0.5742 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.7558, allocations: 151.4 kB / 0.5743 GB, free: 101.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7558, allocations: 4 kB / 0.5743 GB, free: 101.1 MB / 462.1 MB Notification: Performance of Templates: time 0.04038/0.7961, allocations: 24.78 MB / 0.5985 GB, free: 76.55 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.019731848035008]