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.001782/0.001782, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002053/0.002053, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001556/0.001556, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2136, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008839/0.2224, allocations: 6.76 MB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005564/0.228, allocations: 3.15 MB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.2284, allocations: 43.81 kB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.2304, allocations: 1.027 MB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.233, allocations: 1.343 MB / 444.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.234, allocations: 0.534 MB / 445.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.2369, allocations: 2.624 MB / 447.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.2383, allocations: 1.221 MB / 449 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.2392, allocations: 0.8485 MB / 449.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.2407, allocations: 1.25 MB / 451.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.241, allocations: 148 kB / 451.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.2424, allocations: 0.7955 MB / 452.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009707/0.2434, allocations: 1.079 MB / 453.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008787/0.2442, allocations: 0.8885 MB / 454 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.2483, allocations: 4.099 MB / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2483, allocations: 0 / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2483, allocations: 0 / 458.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.2483, allocations: 0 / 458.1 MB, free: 12.8 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.004955/0.2533, allocations: 2.997 MB / 461.1 MB, free: 9.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2533, allocations: 8.031 kB / 461.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.2587, allocations: 1.578 MB / 462.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.2616, allocations: 1.341 MB / 464.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2617, allocations: 127 kB / 464.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/0.2621, allocations: 159.9 kB / 464.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.2722, allocations: 6.534 MB / 470.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.306e-05/0.2722, allocations: 35.64 kB / 470.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.2725, allocations: 79.91 kB / 471 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002626/0.2751, allocations: 1.476 MB / 472.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009927/0.285, allocations: 5.806 MB / 478.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02858/0.3136, allocations: 24.17 MB / 0.4907 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005416/0.319, allocations: 2.013 MB / 0.4926 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.3206, allocations: 1.137 MB / 0.4938 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007982/0.3286, allocations: 4.248 MB / 0.4979 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3286, allocations: 46.5 kB / 0.4979 GB, free: 7.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.665e-06/0.3286, allocations: 0 / 0.4979 GB, free: 7.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02472/0.3533, allocations: 9.71 MB / 0.5074 GB, free: 13.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.3534, allocations: 140.9 kB / 0.5076 GB, free: 13.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.3567, allocations: 2.541 MB / 0.51 GB, free: 11.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/0.3568, allocations: 45.69 kB / 0.5101 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.3584, allocations: 2.143 MB / 0.5122 GB, free: 8.883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.3588, allocations: 448.7 kB / 0.5126 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.36, allocations: 0.8456 MB / 0.5134 GB, free: 7.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3602, allocations: 353.9 kB / 0.5138 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.3624, allocations: 1.452 MB / 0.5152 GB, free: 5.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004436/0.3669, allocations: 4.073 MB / 0.5192 GB, free: 376 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009956/0.3768, allocations: 5.964 MB / 0.525 GB, free: 9.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.73e-05/0.3769, allocations: 28 kB / 0.525 GB, free: 9.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01634/0.3932, allocations: 6.005 MB / 0.5309 GB, free: 3.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.3933, allocations: 51.94 kB / 0.5309 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.515e-05/0.3934, allocations: 96.83 kB / 0.531 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.396, allocations: 0.8201 MB / 0.5318 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/0.3988, allocations: 0.9474 MB / 0.5327 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/0.4054, allocations: 4.491 MB / 0.5371 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.4078, allocations: 247.6 kB / 0.5374 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/0.4082, allocations: 256 kB / 0.5376 GB, free: 12.05 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.002012/0.4102, allocations: 1.376 MB / 0.539 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.4105, allocations: 211.1 kB / 0.5392 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.415, allocations: 2.111 MB / 0.5412 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.415, allocations: 15.94 kB / 0.5412 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4151, allocations: 4 kB / 0.5412 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4151, allocations: 3.984 kB / 0.5412 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008978/0.424, allocations: 4.316 MB / 0.5455 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4241, allocations: 7.938 kB / 0.5455 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.4249, allocations: 151.8 kB / 0.5456 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.4272, allocations: 0.6835 MB / 0.5463 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.4273, allocations: 23.98 kB / 0.5463 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1836/0.6109, allocations: 3.979 MB / 0.5502 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6109, allocations: 1.844 kB / 0.5502 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.6167, allocations: 4.038 MB / 0.5541 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.617, allocations: 191.2 kB / 0.5543 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.6172, allocations: 14.72 kB / 0.5543 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000865/0.6181, allocations: 72.84 kB / 0.5544 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.6182, allocations: 64.78 kB / 0.5545 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.6183, allocations: 34.53 kB / 0.5545 GB, free: 112.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00161/0.6199, allocations: 1.46 MB / 0.5559 GB, free: 112.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6199, allocations: 0 / 0.5559 GB, free: 112.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00255/0.6225, allocations: 0.6552 MB / 0.5566 GB, free: 112.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.0003476/0.6228, allocations: 208.3 kB / 0.5568 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003476/0.6263, allocations: 3.351 MB / 0.56 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6263, allocations: 3.625 kB / 0.56 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.6273, allocations: 0.9556 MB / 0.561 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6285, allocations: 220.3 kB / 0.5612 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.6341, allocations: 5.718 MB / 0.5668 GB, free: 107 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.6355, allocations: 1.668 MB / 0.5684 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002064/0.6376, allocations: 1.294 MB / 0.5697 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.6379, allocations: 142.8 kB / 0.5698 GB, free: 104.9 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6379, allocations: 0 / 0.5698 GB, free: 104.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03292/0.6708, allocations: 23.85 MB / 0.5931 GB, free: 81.65 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/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: 5.556514868003433]