Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009301/0.0009301, allocations: 98.94 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000948/0.0009481, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2174, allocations: 50.46 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0124/0.2298, allocations: 18.09 MB / 425.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008448/0.2383, allocations: 5.153 MB / 430.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.2413, allocations: 71.81 kB / 430.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.2434, allocations: 1.001 MB / 431.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.2461, allocations: 1.23 MB / 432.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2473, allocations: 0.4991 MB / 433.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0038/0.2511, allocations: 3.629 MB / 436.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.2529, allocations: 1.356 MB / 438.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/0.2539, allocations: 0.7509 MB / 438.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.2553, allocations: 1.23 MB / 440.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.2555, allocations: 108 kB / 440.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.2571, allocations: 0.9125 MB / 441.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008518/0.2579, allocations: 1.032 MB / 442.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.259, allocations: 1.219 MB / 443.3 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.2624, allocations: 3.921 MB / 447.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2624, allocations: 0 / 447.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2624, allocations: 0 / 447.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.331e-05/0.2625, allocations: 0 / 447.3 MB, free: 3.426 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.004742/0.2672, allocations: 3.003 MB / 450.3 MB, free: 372 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2673, allocations: 8.031 kB / 450.3 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.2723, allocations: 1.573 MB / 451.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.275, allocations: 1.367 MB / 453.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-05/0.2752, allocations: 127 kB / 453.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.2755, allocations: 155.9 kB / 453.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00995/0.2854, allocations: 6.538 MB / 460 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.2855, allocations: 31.73 kB / 460.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.2858, allocations: 87.89 kB / 460.1 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00247/0.2882, allocations: 1.46 MB / 461.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.2982, allocations: 5.83 MB / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02937/0.3276, allocations: 25.77 MB / 493.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.3333, allocations: 2.553 MB / 495.8 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3349, allocations: 1.222 MB / 497 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008338/0.3432, allocations: 4.803 MB / 0.49 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3433, allocations: 54.48 kB / 0.4901 GB, free: 11.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 4.879e-06/0.3433, allocations: 3.984 kB / 0.4901 GB, free: 11.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.02441/0.3677, allocations: 9.773 MB / 0.4996 GB, free: 1.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.3679, allocations: 148.9 kB / 0.4998 GB, free: 1.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1745/0.5424, allocations: 2.706 MB / 0.5024 GB, free: 93.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.5427, allocations: 36.3 kB / 0.5024 GB, free: 93.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.544, allocations: 2.05 MB / 0.5044 GB, free: 92.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.5445, allocations: 425.4 kB / 0.5049 GB, free: 92.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009227/0.5454, allocations: 0.8362 MB / 0.5057 GB, free: 91.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.5454, allocations: 301.8 kB / 0.506 GB, free: 91.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.5475, allocations: 1.448 MB / 0.5074 GB, free: 91.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.5503, allocations: 4.075 MB / 0.5114 GB, free: 87.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004409/0.5547, allocations: 5.962 MB / 0.5172 GB, free: 82.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.038e-05/0.5548, allocations: 26.5 kB / 0.5172 GB, free: 82.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.008405/0.5632, allocations: 6.031 MB / 0.5231 GB, free: 78.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.5633, allocations: 44 kB / 0.5231 GB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-05/0.5633, allocations: 96.12 kB / 0.5232 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.5654, allocations: 0.817 MB / 0.524 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.5678, allocations: 0.9531 MB / 0.5249 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/0.5721, allocations: 4.335 MB / 0.5292 GB, free: 72.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.5746, allocations: 243.6 kB / 0.5294 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.5749, allocations: 263.9 kB / 0.5297 GB, free: 72.37 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.001424/0.5763, allocations: 1.372 MB / 0.531 GB, free: 70.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.5766, allocations: 225 kB / 0.5312 GB, free: 70.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.5802, allocations: 2.134 MB / 0.5333 GB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5803, allocations: 15.52 kB / 0.5333 GB, free: 68.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5803, allocations: 6.719 kB / 0.5333 GB, free: 68.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.5803, allocations: 3.984 kB / 0.5333 GB, free: 68.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007554/0.5878, allocations: 5.081 MB / 0.5383 GB, free: 63.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5879, allocations: 3.938 kB / 0.5383 GB, free: 63.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.5886, allocations: 159.7 kB / 0.5384 GB, free: 63.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.5905, allocations: 0.6834 MB / 0.5391 GB, free: 62.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.5906, allocations: 19.98 kB / 0.5391 GB, free: 62.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.5944, allocations: 3.884 MB / 0.5429 GB, free: 58.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5944, allocations: 3.938 kB / 0.5429 GB, free: 58.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04049/0.6349, allocations: 24.03 MB / 0.5664 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.6353, allocations: 282 kB / 0.5667 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.6356, allocations: 23.94 kB / 0.5667 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009425/0.6365, allocations: 67.89 kB / 0.5668 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.6367, allocations: 63.53 kB / 0.5668 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.6368, allocations: 28 kB / 0.5668 GB, free: 33.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001939/0.6388, allocations: 1.689 MB / 0.5685 GB, free: 32.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6388, allocations: 0 / 0.5685 GB, free: 32.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003295/0.6421, allocations: 0.8815 MB / 0.5694 GB, free: 31.2 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.0003878/0.6425, allocations: 202.3 kB / 0.5696 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.6467, allocations: 3.486 MB / 0.573 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6467, allocations: 4.938 kB / 0.573 GB, free: 27.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6478, allocations: 1.041 MB / 0.574 GB, free: 26.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.6492, allocations: 254.6 kB / 0.5742 GB, free: 26.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/0.6571, allocations: 7.714 MB / 0.5818 GB, free: 18.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.6587, allocations: 2.272 MB / 0.584 GB, free: 16.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002704/0.6614, allocations: 1.329 MB / 0.5853 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.6618, allocations: 163.4 kB / 0.5854 GB, free: 14.65 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6618, allocations: 0 / 0.5854 GB, free: 14.65 MB / 378.7 MB Notification: Performance of Templates: time 0.04047/0.7023, allocations: 28.34 MB / 0.6131 GB, free: 2.422 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches