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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 100.9 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009394/0.0009396, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2601, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01316/0.2733, allocations: 18.11 MB / 417.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009042/0.2824, allocations: 5.108 MB / 422.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004018/0.2865, allocations: 71.81 kB / 422.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.2888, allocations: 1.001 MB / 423.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.2921, allocations: 1.259 MB / 425 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2932, allocations: 0.4913 MB / 425.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.2966, allocations: 3.577 MB / 429.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.2983, allocations: 1.358 MB / 430.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.2993, allocations: 0.7432 MB / 431.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.3006, allocations: 1.23 MB / 432.4 MB, free: 332 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.3008, allocations: 108 kB / 432.5 MB, free: 224 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.3026, allocations: 0.9203 MB / 433.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.3037, allocations: 1.036 MB / 434.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3049, allocations: 1.23 MB / 435.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.309, allocations: 3.925 MB / 439.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3091, allocations: 0 / 439.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3091, allocations: 0 / 439.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.499e-05/0.3092, allocations: 4 kB / 439.6 MB, free: 9.078 MB / 314.7 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.006818/0.316, allocations: 2.989 MB / 442.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.316, allocations: 8.031 kB / 442.6 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00542/0.3215, allocations: 1.573 MB / 444.2 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.3257, allocations: 1.402 MB / 445.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3259, allocations: 123 kB / 445.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.3263, allocations: 159.9 kB / 445.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.3384, allocations: 6.538 MB / 452.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.661e-05/0.3386, allocations: 31.7 kB / 452.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.3389, allocations: 79.89 kB / 452.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.3425, allocations: 1.468 MB / 454 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.3554, allocations: 5.842 MB / 459.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.3879, allocations: 25.75 MB / 485.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/0.3936, allocations: 2.537 MB / 488.1 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.3954, allocations: 1.219 MB / 489.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008497/0.4039, allocations: 4.826 MB / 494.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.404, allocations: 46.5 kB / 494.2 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=97): time 5.991e-06/0.4041, allocations: 0 / 494.2 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.02353/0.4276, allocations: 9.78 MB / 0.4922 GB, free: 6.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.4277, allocations: 140.9 kB / 0.4923 GB, free: 6.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.4312, allocations: 2.706 MB / 0.495 GB, free: 4.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.4314, allocations: 41.64 kB / 0.495 GB, free: 4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4327, allocations: 2.056 MB / 0.497 GB, free: 1.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.4331, allocations: 418.8 kB / 0.4974 GB, free: 1.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.4341, allocations: 0.8371 MB / 0.4982 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.4342, allocations: 301.1 kB / 0.4985 GB, free: 360 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2195/0.6538, allocations: 1.446 MB / 0.4999 GB, free: 99.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/0.6577, allocations: 4.075 MB / 0.5039 GB, free: 95.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00593/0.6637, allocations: 5.956 MB / 0.5097 GB, free: 90.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.564e-05/0.6638, allocations: 27.84 kB / 0.5097 GB, free: 90.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009285/0.6731, allocations: 6.033 MB / 0.5156 GB, free: 88.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.6732, allocations: 47.19 kB / 0.5157 GB, free: 88.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.955e-05/0.6733, allocations: 93.88 kB / 0.5158 GB, free: 88.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.6754, allocations: 0.8237 MB / 0.5166 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.678, allocations: 0.9422 MB / 0.5175 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/0.6826, allocations: 4.345 MB / 0.5217 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.6854, allocations: 240.3 kB / 0.522 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.6857, allocations: 269 kB / 0.5222 GB, free: 82.43 MB / 378.7 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.001546/0.6873, allocations: 1.378 MB / 0.5236 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.6876, allocations: 230.3 kB / 0.5238 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.6913, allocations: 2.131 MB / 0.5259 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.6913, allocations: 15.98 kB / 0.5259 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6913, allocations: 4 kB / 0.5259 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6913, allocations: 3.984 kB / 0.5259 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007654/0.699, allocations: 5.067 MB / 0.5308 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.699, allocations: 3.984 kB / 0.5308 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.6997, allocations: 155.8 kB / 0.531 GB, free: 73.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/0.7017, allocations: 0.6893 MB / 0.5317 GB, free: 72.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.7018, allocations: 16 kB / 0.5317 GB, free: 72.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.7056, allocations: 3.893 MB / 0.5355 GB, free: 68.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7056, allocations: 3.938 kB / 0.5355 GB, free: 68.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04158/0.7472, allocations: 24.01 MB / 0.5589 GB, free: 44.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/0.7478, allocations: 283.1 kB / 0.5592 GB, free: 44.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.7483, allocations: 16 kB / 0.5592 GB, free: 44.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.7496, allocations: 75.95 kB / 0.5593 GB, free: 44.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.7499, allocations: 60.3 kB / 0.5593 GB, free: 44.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.75, allocations: 31.75 kB / 0.5594 GB, free: 44.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00256/0.7526, allocations: 1.693 MB / 0.561 GB, free: 42.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7526, allocations: 0 / 0.561 GB, free: 42.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004004/0.7566, allocations: 0.8749 MB / 0.5619 GB, free: 41.55 MB / 378.7 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.0004507/0.7571, allocations: 201.9 kB / 0.5621 GB, free: 41.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.7617, allocations: 3.468 MB / 0.5655 GB, free: 37.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7617, allocations: 4.062 kB / 0.5655 GB, free: 37.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7628, allocations: 1.052 MB / 0.5665 GB, free: 36.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.7644, allocations: 247.9 kB / 0.5667 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/0.7737, allocations: 7.722 MB / 0.5743 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.7754, allocations: 2.276 MB / 0.5765 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002882/0.7783, allocations: 1.333 MB / 0.5778 GB, free: 25.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.7788, allocations: 168.2 kB / 0.578 GB, free: 24.99 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7788, allocations: 0 / 0.578 GB, free: 24.99 MB / 378.7 MB Notification: Performance of Templates: time 0.04131/0.8201, allocations: 28.3 MB / 0.6056 GB, free: 12.8 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches