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.001632/0.001632, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00179/0.00179, allocations: 204 kB / 23.73 MB, free: 4.379 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.461/1.461, allocations: 230.6 MB / 257.5 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.001662/0.001662, allocations: 43.94 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2408, allocations: 53.38 MB / 431.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008928/0.2498, allocations: 6.753 MB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.2563, allocations: 3.146 MB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.2572, allocations: 47.81 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.2595, allocations: 1.02 MB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.2624, allocations: 1.343 MB / 443.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2636, allocations: 0.5457 MB / 444.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.2667, allocations: 2.62 MB / 447.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.2683, allocations: 1.224 MB / 448.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2694, allocations: 0.8368 MB / 449.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.271, allocations: 1.265 MB / 450.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.2713, allocations: 148 kB / 450.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2728, allocations: 0.7917 MB / 451.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.2738, allocations: 1.079 MB / 452.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.2747, allocations: 0.8885 MB / 453.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004436/0.2792, allocations: 4.099 MB / 457.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2792, allocations: 0 / 457.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2792, allocations: 0 / 457.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.2792, allocations: 4 kB / 457.4 MB, free: 12.75 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.005267/0.2845, allocations: 2.99 MB / 460.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2846, allocations: 12.03 kB / 460.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/0.2899, allocations: 1.582 MB / 462 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.293, allocations: 1.333 MB / 463.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.2931, allocations: 123 kB / 463.4 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/0.2934, allocations: 159.9 kB / 463.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.3035, allocations: 6.538 MB / 470.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/0.3035, allocations: 35.69 kB / 470.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.3038, allocations: 83.89 kB / 470.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/0.3065, allocations: 1.464 MB / 471.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.317, allocations: 5.829 MB / 477.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03158/0.3486, allocations: 24.17 MB / 0.4899 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005489/0.3541, allocations: 2.008 MB / 0.4919 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.3557, allocations: 1.129 MB / 0.493 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008224/0.3639, allocations: 4.256 MB / 0.4972 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3639, allocations: 46.5 kB / 0.4972 GB, free: 7.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.256e-06/0.3639, allocations: 0 / 0.4972 GB, free: 7.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02434/0.3883, allocations: 9.717 MB / 0.5067 GB, free: 13.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.3884, allocations: 141 kB / 0.5068 GB, free: 13.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.3919, allocations: 2.541 MB / 0.5093 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.3921, allocations: 37.7 kB / 0.5094 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.3937, allocations: 2.151 MB / 0.5115 GB, free: 8.824 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/0.3942, allocations: 444.6 kB / 0.5119 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3953, allocations: 0.8456 MB / 0.5127 GB, free: 7.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3955, allocations: 357.9 kB / 0.513 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.3977, allocations: 1.445 MB / 0.5145 GB, free: 5.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004581/0.4023, allocations: 4.065 MB / 0.5184 GB, free: 332 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008164/0.4105, allocations: 5.971 MB / 0.5243 GB, free: 9.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.86e-05/0.4105, allocations: 24 kB / 0.5243 GB, free: 9.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01126/0.4218, allocations: 6.007 MB / 0.5301 GB, free: 3.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.4219, allocations: 51.92 kB / 0.5302 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.422, allocations: 92 kB / 0.5303 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.4246, allocations: 0.8162 MB / 0.5311 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.4277, allocations: 0.9552 MB / 0.532 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.4341, allocations: 4.494 MB / 0.5364 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/0.437, allocations: 239.7 kB / 0.5366 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005726/0.4376, allocations: 264 kB / 0.5369 GB, free: 12 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.002239/0.4398, allocations: 1.372 MB / 0.5382 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.4403, allocations: 218.5 kB / 0.5384 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.4448, allocations: 2.092 MB / 0.5405 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/0.4448, allocations: 15.94 kB / 0.5405 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4448, allocations: 4 kB / 0.5405 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4449, allocations: 7.984 kB / 0.5405 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/0.4546, allocations: 4.316 MB / 0.5447 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.4546, allocations: 4 kB / 0.5447 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.4555, allocations: 163.7 kB / 0.5449 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/0.4576, allocations: 0.6756 MB / 0.5455 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.4578, allocations: 23.94 kB / 0.5456 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2192/0.677, allocations: 3.987 MB / 0.5495 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.677, allocations: 2.297 kB / 0.5495 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.683, allocations: 4.033 MB / 0.5534 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.6835, allocations: 187.3 kB / 0.5536 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.6838, allocations: 15.97 kB / 0.5536 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.6846, allocations: 72.66 kB / 0.5537 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.6848, allocations: 64.84 kB / 0.5537 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.997e-05/0.6849, allocations: 32.75 kB / 0.5538 GB, free: 112.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.6866, allocations: 1.457 MB / 0.5552 GB, free: 112.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6866, allocations: 0 / 0.5552 GB, free: 112.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002741/0.6894, allocations: 0.6644 MB / 0.5558 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.0003659/0.6897, allocations: 191.7 kB / 0.556 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004837/0.6946, allocations: 3.367 MB / 0.5593 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.6946, allocations: 0 / 0.5593 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6958, allocations: 0.9554 MB / 0.5602 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.001433/0.6972, allocations: 231.1 kB / 0.5604 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.7046, allocations: 5.708 MB / 0.566 GB, free: 107 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.7061, allocations: 1.668 MB / 0.5677 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002186/0.7083, allocations: 1.297 MB / 0.5689 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.7086, allocations: 151.2 kB / 0.5691 GB, free: 104.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7086, allocations: 0 / 0.5691 GB, free: 104.8 MB / 462.1 MB Notification: Performance of Templates: time 0.0361/0.7447, allocations: 23.84 MB / 0.5923 GB, free: 81.59 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: 5.916387538891286]