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.001724/0.001724, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001958/0.001958, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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.002517/0.002517, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2958, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009564/0.3053, allocations: 7.677 MB / 428.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006645/0.312, allocations: 3.387 MB / 431.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.313, allocations: 31.94 kB / 432 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.3153, allocations: 1.043 MB / 433 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.3188, allocations: 1.37 MB / 434.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3203, allocations: 0.5418 MB / 434.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004072/0.3244, allocations: 2.593 MB / 437.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.3259, allocations: 1.082 MB / 438.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.3274, allocations: 0.8368 MB / 439.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.329, allocations: 1.261 MB / 440.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.3292, allocations: 148 kB / 440.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.3309, allocations: 0.9438 MB / 441.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.332, allocations: 1.083 MB / 442.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.3332, allocations: 1.25 MB / 444.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.3378, allocations: 4.142 MB / 448.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3378, allocations: 3.938 kB / 448.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3378, allocations: 4 kB / 448.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-05/0.3379, allocations: 0 / 448.3 MB, free: 3.617 MB / 350.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.005152/0.343, allocations: 3.069 MB / 451.3 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3431, allocations: 11.97 kB / 451.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/0.3483, allocations: 1.59 MB / 453 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.3511, allocations: 1.418 MB / 454.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3512, allocations: 127 kB / 454.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.3515, allocations: 171.8 kB / 454.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.3616, allocations: 6.526 MB / 461.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/0.3617, allocations: 31.75 kB / 461.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.362, allocations: 83.89 kB / 461.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.3644, allocations: 1.468 MB / 462.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.3751, allocations: 5.834 MB / 468.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03628/0.4113, allocations: 25.7 MB / 494.3 MB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005829/0.4172, allocations: 2.471 MB / 496.8 MB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.4189, allocations: 1.137 MB / 497.9 MB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008194/0.4271, allocations: 4.812 MB / 0.4909 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.4271, allocations: 50.48 kB / 0.491 GB, free: 11.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.196e-06/0.4271, allocations: 3.938 kB / 0.491 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02486/0.452, allocations: 9.917 MB / 0.5007 GB, free: 1.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.4521, allocations: 140.9 kB / 0.5008 GB, free: 1.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/0.4565, allocations: 2.715 MB / 0.5035 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.4567, allocations: 37.7 kB / 0.5035 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.4585, allocations: 2.136 MB / 0.5056 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006203/0.4591, allocations: 444.7 kB / 0.506 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/0.4605, allocations: 0.8456 MB / 0.5068 GB, free: 11.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4607, allocations: 301.1 kB / 0.5071 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.463, allocations: 1.449 MB / 0.5085 GB, free: 9.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004591/0.4676, allocations: 4.073 MB / 0.5125 GB, free: 3.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008427/0.476, allocations: 5.955 MB / 0.5183 GB, free: 12.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.706e-05/0.4761, allocations: 28 kB / 0.5184 GB, free: 12.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01381/0.4899, allocations: 6.031 MB / 0.5242 GB, free: 6.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/0.49, allocations: 47.97 kB / 0.5243 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/0.4902, allocations: 95.98 kB / 0.5244 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.4925, allocations: 0.824 MB / 0.5252 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.4956, allocations: 0.9474 MB / 0.5261 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.502, allocations: 4.666 MB / 0.5307 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.5048, allocations: 243.7 kB / 0.5309 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005446/0.5054, allocations: 260 kB / 0.5311 GB, free: 15.35 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.002226/0.5076, allocations: 1.368 MB / 0.5325 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/0.5081, allocations: 242.3 kB / 0.5327 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.5126, allocations: 2.122 MB / 0.5348 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.5127, allocations: 12 kB / 0.5348 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5127, allocations: 4 kB / 0.5348 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.5127, allocations: 11.92 kB / 0.5348 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.5245, allocations: 5.066 MB / 0.5398 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.5245, allocations: 4 kB / 0.5398 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007798/0.5253, allocations: 155.8 kB / 0.5399 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.5274, allocations: 0.6796 MB / 0.5406 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5275, allocations: 16 kB / 0.5406 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/0.5333, allocations: 4.152 MB / 0.5446 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/0.5333, allocations: 7.875 kB / 0.5447 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2579/0.7912, allocations: 4.051 MB / 0.5486 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.792, allocations: 291.2 kB / 0.5489 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.7923, allocations: 24.02 kB / 0.5489 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7933, allocations: 72.42 kB / 0.549 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.7935, allocations: 58.16 kB / 0.549 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.7936, allocations: 33.77 kB / 0.5491 GB, free: 121.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.7958, allocations: 1.696 MB / 0.5507 GB, free: 121.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7958, allocations: 2.25 kB / 0.5507 GB, free: 121.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002903/0.7987, allocations: 0.6743 MB / 0.5514 GB, free: 121.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.000403/0.7991, allocations: 198.5 kB / 0.5516 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.8031, allocations: 3.355 MB / 0.5548 GB, free: 120 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8031, allocations: 0 / 0.5548 GB, free: 120 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009955/0.8041, allocations: 0.9584 MB / 0.5558 GB, free: 119.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.8054, allocations: 274.2 kB / 0.556 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.8117, allocations: 5.745 MB / 0.5617 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.8131, allocations: 2.234 MB / 0.5638 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002224/0.8154, allocations: 1.331 MB / 0.5651 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.8157, allocations: 161.5 kB / 0.5653 GB, free: 114.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8157, allocations: 0 / 0.5653 GB, free: 114.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03445/0.8502, allocations: 23.07 MB / 0.5878 GB, free: 91.57 MB / 462.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/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.9173205466941]