Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007721/0.0007722, allocations: 97.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2535, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01294/0.2665, allocations: 16.34 MB / 391.4 MB, free: 32.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.2768, allocations: 4.684 MB / 396.1 MB, free: 27.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/0.2801, allocations: 71.81 kB / 396.2 MB, free: 27.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.282, allocations: 0.7815 MB / 397 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006284/0.2883, allocations: 2.673 MB / 399.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2897, allocations: 0.499 MB / 400.1 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002984/0.2927, allocations: 2.836 MB / 403 MB, free: 20.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.2946, allocations: 1.69 MB / 404.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.2955, allocations: 0.7627 MB / 405.4 MB, free: 18.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2966, allocations: 1.168 MB / 406.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.2968, allocations: 80 kB / 406.7 MB, free: 17.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.2981, allocations: 0.8735 MB / 407.6 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.2987, allocations: 0.9895 MB / 408.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.2994, allocations: 1.135 MB / 409.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.3016, allocations: 3.076 MB / 412.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3016, allocations: 0 / 412.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3016, allocations: 0 / 412.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.49e-05/0.3017, allocations: 0 / 412.8 MB, free: 10.91 MB / 298.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.003767/0.3055, allocations: 2.501 MB / 415.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.3055, allocations: 8.031 kB / 415.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.3102, allocations: 1.616 MB / 416.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.3125, allocations: 1.438 MB / 418.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.3126, allocations: 127 kB / 418.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.3129, allocations: 167.8 kB / 418.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.3208, allocations: 6.534 MB / 425.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.3209, allocations: 31.72 kB / 425.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.3212, allocations: 83.89 kB / 425.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002288/0.3235, allocations: 1.468 MB / 426.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009978/0.3334, allocations: 5.818 MB / 432.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03415/0.3676, allocations: 25.78 MB / 458.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005791/0.3735, allocations: 2.579 MB / 460.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.3755, allocations: 1.219 MB / 462.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008542/0.384, allocations: 4.799 MB / 466.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3841, allocations: 46.55 kB / 467 MB, free: 3.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 6.602e-06/0.3841, allocations: 0 / 467 MB, free: 3.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.0252/0.4093, allocations: 9.77 MB / 476.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.4095, allocations: 137 kB / 476.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/0.4146, allocations: 2.707 MB / 479.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.4148, allocations: 37.64 kB / 479.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.4166, allocations: 2.048 MB / 481.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.4172, allocations: 430.6 kB / 482.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.4175, allocations: 80 kB / 482.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003907/0.4179, allocations: 495 kB / 482.6 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/0.4206, allocations: 1.429 MB / 484.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/0.4253, allocations: 4.057 MB / 488.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/0.4327, allocations: 5.934 MB / 494.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.517e-05/0.4328, allocations: 28 kB / 494.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01169/0.4445, allocations: 6 MB / 0.4884 GB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.4446, allocations: 47.94 kB / 0.4884 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/0.4448, allocations: 96 kB / 0.4885 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.4472, allocations: 0.8128 MB / 0.4893 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.4503, allocations: 0.9474 MB / 0.4902 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.4566, allocations: 4.342 MB / 0.4945 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/0.4599, allocations: 243.7 kB / 0.4947 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000704/0.4606, allocations: 263.9 kB / 0.4949 GB, free: 8.18 MB / 394.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 (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.003131/0.4638, allocations: 1.377 MB / 0.4963 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/0.4645, allocations: 225.1 kB / 0.4965 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.4692, allocations: 2.126 MB / 0.4986 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/0.4693, allocations: 12 kB / 0.4986 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.4693, allocations: 7.938 kB / 0.4986 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4693, allocations: 3.984 kB / 0.4986 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2102/0.6795, allocations: 5.088 MB / 0.5036 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.6795, allocations: 0 / 0.5036 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.6804, allocations: 159.8 kB / 0.5037 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.6823, allocations: 0.6795 MB / 0.5044 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.6825, allocations: 17.94 kB / 0.5044 GB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.6873, allocations: 3.886 MB / 0.5082 GB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6874, allocations: 4.719 kB / 0.5082 GB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00627/0.6936, allocations: 4.052 MB / 0.5122 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.6947, allocations: 455.6 kB / 0.5126 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.6949, allocations: 19.38 kB / 0.5126 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.6958, allocations: 75.31 kB / 0.5127 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.696, allocations: 53.8 kB / 0.5127 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.6961, allocations: 33 kB / 0.5128 GB, free: 118.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002594/0.6987, allocations: 1.682 MB / 0.5144 GB, free: 117.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6987, allocations: 1.875 kB / 0.5144 GB, free: 117.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003315/0.702, allocations: 0.6716 MB / 0.5151 GB, free: 117.4 MB / 394.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 (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.0004434/0.7025, allocations: 202 kB / 0.5153 GB, free: 117.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004513/0.707, allocations: 3.462 MB / 0.5186 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.707, allocations: 0 / 0.5186 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.7082, allocations: 1.038 MB / 0.5197 GB, free: 115.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.71, allocations: 240.6 kB / 0.5199 GB, free: 115.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008669/0.7187, allocations: 6.961 MB / 0.5267 GB, free: 110 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.7203, allocations: 2.244 MB / 0.5289 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.721, allocations: 191.4 kB / 0.5291 GB, free: 107.6 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.721, allocations: 4 kB / 0.5291 GB, free: 107.6 MB / 394.7 MB Notification: Performance of Templates: time 0.05031/0.7713, allocations: 47.92 MB / 0.5759 GB, free: 59.63 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches