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.001796/0.001796, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002251/0.002251, allocations: 164.1 kB / 24.49 MB, free: 3.453 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.074 MB / 190.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.001565/0.001565, allocations: 55.56 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08926, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009176/0.09844, allocations: 6.755 MB / 385.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006087/0.1045, allocations: 3.158 MB / 388.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.1052, allocations: 43.81 kB / 388.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.1073, allocations: 1.02 MB / 389.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.1103, allocations: 1.343 MB / 391.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1115, allocations: 0.5535 MB / 391.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.1149, allocations: 2.61 MB / 394.4 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.1165, allocations: 1.217 MB / 395.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1177, allocations: 0.8524 MB / 396.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.1193, allocations: 1.211 MB / 397.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.1196, allocations: 148 kB / 397.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.1212, allocations: 0.7838 MB / 398.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.1224, allocations: 1.071 MB / 399.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.1235, allocations: 0.8885 MB / 400.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.1283, allocations: 4.1 MB / 404.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1283, allocations: 0 / 404.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1283, allocations: 0 / 404.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.787e-05/0.1283, allocations: 4 kB / 404.7 MB, free: 5.844 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.005225/0.1336, allocations: 2.99 MB / 407.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1336, allocations: 12.03 kB / 407.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005899/0.1395, allocations: 1.649 MB / 409.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.1421, allocations: 1.329 MB / 410.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.1422, allocations: 118.9 kB / 410.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.1426, allocations: 163.9 kB / 410.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.1526, allocations: 6.549 MB / 417.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.284e-05/0.1526, allocations: 27.77 kB / 417.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.1529, allocations: 83.89 kB / 417.6 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/0.1556, allocations: 1.468 MB / 419 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.1661, allocations: 5.834 MB / 424.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.1957, allocations: 24.26 MB / 449.1 MB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/0.2014, allocations: 2.075 MB / 451.2 MB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.2031, allocations: 1.137 MB / 452.3 MB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007632/0.2107, allocations: 4.277 MB / 456.6 MB, free: 472 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.2107, allocations: 46.55 kB / 456.7 MB, free: 416 kB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.056e-06/0.2107, allocations: 0 / 456.7 MB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02491/0.2356, allocations: 9.932 MB / 466.6 MB, free: 6.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.2357, allocations: 137 kB / 466.7 MB, free: 6.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.2392, allocations: 2.541 MB / 469.3 MB, free: 3.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/0.2393, allocations: 37.7 kB / 469.3 MB, free: 3.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.241, allocations: 2.155 MB / 471.5 MB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.2414, allocations: 452.6 kB / 471.9 MB, free: 0.9883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.2425, allocations: 0.8378 MB / 472.7 MB, free: 140 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.1697/0.4122, allocations: 357.9 kB / 473.1 MB, free: 84.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.4149, allocations: 1.451 MB / 474.5 MB, free: 84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/0.418, allocations: 4.077 MB / 478.6 MB, free: 80.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005597/0.4236, allocations: 5.982 MB / 484.6 MB, free: 75.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.468e-05/0.4237, allocations: 25.69 kB / 484.6 MB, free: 75.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009689/0.4334, allocations: 6.026 MB / 490.7 MB, free: 73.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.4334, allocations: 46.95 kB / 490.7 MB, free: 73.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.551e-05/0.4335, allocations: 96.62 kB / 490.8 MB, free: 73.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.4355, allocations: 0.817 MB / 491.6 MB, free: 73.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/0.4379, allocations: 0.9649 MB / 492.6 MB, free: 73.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.4423, allocations: 4.487 MB / 497.1 MB, free: 71.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.4447, allocations: 270 kB / 497.3 MB, free: 71.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.445, allocations: 264.6 kB / 497.6 MB, free: 71.11 MB / 430.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.001298/0.4463, allocations: 1.368 MB / 499 MB, free: 70.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.4465, allocations: 216.4 kB / 499.2 MB, free: 70.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.45, allocations: 2.094 MB / 0.4895 GB, free: 68.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4501, allocations: 15.94 kB / 0.4895 GB, free: 68.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4501, allocations: 4 kB / 0.4895 GB, free: 68.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4501, allocations: 7.922 kB / 0.4895 GB, free: 68.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.4564, allocations: 4.342 MB / 0.4938 GB, free: 64.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4565, allocations: 4 kB / 0.4938 GB, free: 64.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.4571, allocations: 159.7 kB / 0.4939 GB, free: 64.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.459, allocations: 0.6796 MB / 0.4946 GB, free: 63.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.4591, allocations: 19.98 kB / 0.4946 GB, free: 63.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/0.4629, allocations: 3.991 MB / 0.4985 GB, free: 59.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4629, allocations: 3.938 kB / 0.4985 GB, free: 59.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.4678, allocations: 4.036 MB / 0.5025 GB, free: 55.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.4681, allocations: 191.8 kB / 0.5026 GB, free: 55.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.4682, allocations: 12 kB / 0.5027 GB, free: 55.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009096/0.4691, allocations: 81.44 kB / 0.5027 GB, free: 55.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4693, allocations: 60.33 kB / 0.5028 GB, free: 55.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.4694, allocations: 32 kB / 0.5028 GB, free: 55.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.4708, allocations: 1.451 MB / 0.5042 GB, free: 53.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4708, allocations: 1.688 kB / 0.5042 GB, free: 53.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00258/0.4734, allocations: 0.6674 MB / 0.5049 GB, free: 52.91 MB / 430.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.0003224/0.4737, allocations: 207.8 kB / 0.5051 GB, free: 52.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.4774, allocations: 3.383 MB / 0.5084 GB, free: 49.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4774, allocations: 0 / 0.5084 GB, free: 49.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.4784, allocations: 0.9589 MB / 0.5093 GB, free: 48.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.4796, allocations: 225.8 kB / 0.5095 GB, free: 48.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.4856, allocations: 5.705 MB / 0.5151 GB, free: 42.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.4873, allocations: 1.663 MB / 0.5167 GB, free: 40.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002272/0.4896, allocations: 1.299 MB / 0.518 GB, free: 39.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.4899, allocations: 149.5 kB / 0.5182 GB, free: 39.3 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4899, allocations: 0 / 0.5182 GB, free: 39.3 MB / 430.1 MB Notification: Performance of Templates: time 0.03218/0.5221, allocations: 19.48 MB / 0.5372 GB, free: 20.11 MB / 430.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 ida -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.59403407596983]