Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 96.91 kB / 16.94 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 181.2 kB / 17.83 MB, free: 6.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 15.27 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09501, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01431/0.1094, allocations: 15.47 MB / 343.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009887/0.1193, allocations: 4.806 MB / 348.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1211, allocations: 71.81 kB / 348.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.1225, allocations: 0.7193 MB / 349.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.1281, allocations: 2.404 MB / 351.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1292, allocations: 463.2 kB / 352.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.1315, allocations: 1.47 MB / 353.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.1336, allocations: 1.561 MB / 355.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008635/0.1344, allocations: 0.6384 MB / 355.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.1355, allocations: 0.8449 MB / 356.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.1357, allocations: 88 kB / 356.9 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.1372, allocations: 0.7294 MB / 357.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007885/0.138, allocations: 0.9156 MB / 358.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.1384, allocations: 0.5039 MB / 359 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.1415, allocations: 3.079 MB / 362.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1415, allocations: 0 / 362.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1415, allocations: 0 / 362.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.206e-05/0.1416, allocations: 3.938 kB / 362.1 MB, free: 2.211 MB / 302.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.004904/0.1465, allocations: 2.606 MB / 364.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1465, allocations: 8.031 kB / 364.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006228/0.1528, allocations: 1.896 MB / 366.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.156, allocations: 1.625 MB / 368.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.871e-05/0.1562, allocations: 123 kB / 368.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.1565, allocations: 159.9 kB / 368.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009882/0.1664, allocations: 6.573 MB / 375.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/0.1665, allocations: 31.66 kB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.1668, allocations: 83.89 kB / 375.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/0.1693, allocations: 1.472 MB / 376.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1755/0.3448, allocations: 5.861 MB / 382.5 MB, free: 48.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.3718, allocations: 25.83 MB / 408.3 MB, free: 30.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0052/0.3771, allocations: 2.589 MB / 410.9 MB, free: 28.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007554/0.3847, allocations: 4.846 MB / 415.8 MB, free: 25.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3847, allocations: 42.5 kB / 415.8 MB, free: 25.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.727e-06/0.3847, allocations: 0 / 415.8 MB, free: 25.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02105/0.4058, allocations: 10.09 MB / 425.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.4059, allocations: 148.9 kB / 426.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.4087, allocations: 2.825 MB / 428.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.4089, allocations: 34.64 kB / 428.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/0.4097, allocations: 2.062 MB / 431 MB, free: 9.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.41, allocations: 431.3 kB / 431.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.4102, allocations: 80.86 kB / 431.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4103, allocations: 491 kB / 432 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.412, allocations: 1.425 MB / 433.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.4146, allocations: 4.022 MB / 437.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.4171, allocations: 2.329 MB / 439.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/0.4172, allocations: 32 kB / 439.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009716/0.4269, allocations: 5.978 MB / 445.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.427, allocations: 48 kB / 445.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-05/0.4271, allocations: 92 kB / 445.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.4294, allocations: 0.8352 MB / 446.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.4322, allocations: 0.9397 MB / 447.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.4378, allocations: 4.432 MB / 452.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.4406, allocations: 243.6 kB / 452.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.4409, allocations: 264 kB / 452.6 MB, free: 2.93 MB / 334.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 (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002184/0.4431, allocations: 1.375 MB / 454 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.4436, allocations: 233 kB / 454.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.4477, allocations: 2.126 MB / 456.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.4478, allocations: 12 kB / 456.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4478, allocations: 4 kB / 456.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4478, allocations: 3.984 kB / 456.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.4586, allocations: 5.09 MB / 461.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4587, allocations: 4 kB / 461.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.4595, allocations: 158.5 kB / 461.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.4616, allocations: 0.6834 MB / 462.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4618, allocations: 16.78 kB / 462.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.4669, allocations: 3.983 MB / 466.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4669, allocations: 3.984 kB / 466.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.4734, allocations: 4.151 MB / 470.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.4745, allocations: 465.9 kB / 470.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.4748, allocations: 16.7 kB / 470.9 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/0.4757, allocations: 67.89 kB / 471 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4759, allocations: 56.91 kB / 471 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.419e-05/0.476, allocations: 32.69 kB / 471 MB, free: 168 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002664/0.4787, allocations: 1.785 MB / 472.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4787, allocations: 0 / 472.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0032/0.4819, allocations: 0.7029 MB / 473.5 MB, free: 13.68 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.4824, allocations: 194.8 kB / 473.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005003/0.4874, allocations: 3.443 MB / 477.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4874, allocations: 0 / 477.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4887, allocations: 1.032 MB / 478.2 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.4899, allocations: 240.2 kB / 478.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008851/0.4988, allocations: 6.648 MB / 485.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.5008, allocations: 2.291 MB / 487.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003041/0.5039, allocations: 1.329 MB / 488.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.5043, allocations: 167.4 kB / 488.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.5043, allocations: 0 / 488.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Templates: time 0.0399/0.5442, allocations: 22.87 MB / 0.4997 GB, free: 7.414 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches