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.001296/0.001296, 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.001445/0.001445, allocations: 214.7 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.708/1.708, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.00169/0.00169, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.411, allocations: 53.35 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01043/0.4214, allocations: 6.764 MB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008035/0.4295, allocations: 3.142 MB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.4312, allocations: 47.75 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.4337, allocations: 1.024 MB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.4383, allocations: 1.354 MB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.4399, allocations: 0.5379 MB / 445.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004117/0.444, allocations: 2.617 MB / 447.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.4462, allocations: 1.221 MB / 449 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.4481, allocations: 0.8407 MB / 449.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.45, allocations: 1.254 MB / 451.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.4504, allocations: 148 kB / 451.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.4521, allocations: 0.7995 MB / 452.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.4532, allocations: 1.079 MB / 453.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.4542, allocations: 0.8923 MB / 454.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004938/0.4592, allocations: 4.103 MB / 458.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4592, allocations: 0 / 458.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4592, allocations: 0 / 458.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.919e-05/0.4593, allocations: 0 / 458.2 MB, free: 12.77 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.005907/0.4652, allocations: 2.986 MB / 461.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4652, allocations: 8.031 kB / 461.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/0.4707, allocations: 1.582 MB / 462.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.475, allocations: 1.341 MB / 464.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.4751, allocations: 123 kB / 464.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.4755, allocations: 155.9 kB / 464.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.487, allocations: 6.545 MB / 470.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-05/0.4871, allocations: 35.7 kB / 470.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.4874, allocations: 79.84 kB / 471 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.49, allocations: 1.468 MB / 472.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.5013, allocations: 5.81 MB / 478.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03125/0.5325, allocations: 24.18 MB / 0.4907 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005668/0.5382, allocations: 2.009 MB / 0.4926 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.54, allocations: 1.137 MB / 0.4938 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008868/0.5489, allocations: 4.248 MB / 0.4979 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.5489, allocations: 46.5 kB / 0.4979 GB, free: 7.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 4.509e-06/0.5489, allocations: 0 / 0.4979 GB, free: 7.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02461/0.5735, allocations: 9.717 MB / 0.5074 GB, free: 13.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.5736, allocations: 140.9 kB / 0.5076 GB, free: 13.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.5775, allocations: 2.541 MB / 0.51 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.5778, allocations: 41.7 kB / 0.5101 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.5798, allocations: 2.151 MB / 0.5122 GB, free: 8.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.5804, allocations: 448.7 kB / 0.5126 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.5815, allocations: 0.8416 MB / 0.5134 GB, free: 7.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.5817, allocations: 357.9 kB / 0.5138 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.584, allocations: 1.445 MB / 0.5152 GB, free: 5.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/0.5885, allocations: 4.069 MB / 0.5192 GB, free: 352 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007338/0.5958, allocations: 5.963 MB / 0.525 GB, free: 9.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.434e-05/0.5959, allocations: 28 kB / 0.525 GB, free: 9.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01087/0.6068, allocations: 6.003 MB / 0.5309 GB, free: 3.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/0.6068, allocations: 47.94 kB / 0.5309 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.6069, allocations: 99.98 kB / 0.531 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.6093, allocations: 0.8279 MB / 0.5318 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.6122, allocations: 0.9478 MB / 0.5328 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.6184, allocations: 4.494 MB / 0.5371 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/0.6218, allocations: 243.7 kB / 0.5374 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/0.6222, allocations: 264 kB / 0.5376 GB, free: 12.02 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.002147/0.6244, allocations: 1.371 MB / 0.539 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.6249, allocations: 214.5 kB / 0.5392 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.6299, allocations: 2.092 MB / 0.5412 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.6299, allocations: 15.94 kB / 0.5412 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.6299, allocations: 8 kB / 0.5412 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.6299, allocations: 7.984 kB / 0.5412 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009729/0.6396, allocations: 4.323 MB / 0.5455 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.6397, allocations: 0 / 0.5455 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.6405, allocations: 159.7 kB / 0.5456 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/0.6427, allocations: 0.6756 MB / 0.5463 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.6428, allocations: 27.97 kB / 0.5463 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4413/1.084, allocations: 3.977 MB / 0.5502 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.084, allocations: 6.562 kB / 0.5502 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/1.092, allocations: 4.035 MB / 0.5541 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/1.093, allocations: 185.6 kB / 0.5543 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/1.093, allocations: 18.17 kB / 0.5543 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/1.094, allocations: 75.06 kB / 0.5544 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/1.094, allocations: 65.03 kB / 0.5545 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.094, allocations: 29.55 kB / 0.5545 GB, free: 112.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002539/1.097, allocations: 1.458 MB / 0.5559 GB, free: 112.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/1.097, allocations: 0 / 0.5559 GB, free: 112.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004113/1.101, allocations: 0.6619 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.0006173/1.102, allocations: 206.2 kB / 0.5568 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005467/1.107, allocations: 3.358 MB / 0.56 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.107, allocations: 0 / 0.56 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.108, allocations: 0.9539 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.001794/1.11, allocations: 217.7 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.009645/1.12, allocations: 5.72 MB / 0.5668 GB, free: 107 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.122, allocations: 1.662 MB / 0.5684 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00247/1.124, allocations: 1.296 MB / 0.5697 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.124, allocations: 146.2 kB / 0.5698 GB, free: 104.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.804e-06/1.124, allocations: 4 kB / 0.5698 GB, free: 104.8 MB / 462.1 MB Notification: Performance of Templates: time 0.03913/1.164, allocations: 23.84 MB / 0.5931 GB, free: 81.63 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 cvode -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: 6.885329269993235]