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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001736/0.001736, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008908/0.0008909, allocations: 90.47 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.121e-06, allocations: 0 / 343.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.09936, allocations: 51.47 MB / 394.6 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/0.3629, allocations: 93.67 MB / 488.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3632, allocations: 87.98 kB / 488.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1567/0.52, allocations: 58.19 MB / 0.5337 GB, free: 10.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001511/0.5202, allocations: 52 kB / 0.5338 GB, free: 10.37 MB / 410.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.009812/0.53, allocations: 2.61 MB / 0.5363 GB, free: 7.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.5301, allocations: 8.031 kB / 0.5364 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008949/0.539, allocations: 1.599 MB / 0.5379 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007926/0.547, allocations: 2.768 MB / 0.5406 GB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.5472, allocations: 76 kB / 0.5407 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.5484, allocations: 143.9 kB / 0.5408 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007201/0.5556, allocations: 4.182 MB / 0.5449 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.5658, allocations: 6.284 MB / 0.5511 GB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/0.566, allocations: 39.69 kB / 0.5511 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006329/0.5666, allocations: 23.98 kB / 0.5511 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000964/0.5676, allocations: 0.7653 MB / 0.5519 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1764/0.744, allocations: 30.72 MB / 0.5819 GB, free: 128.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.7464, allocations: 2.172 MB / 0.584 GB, free: 127.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.7476, allocations: 1.163 MB / 0.5851 GB, free: 127.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.7484, allocations: 348.7 kB / 0.5854 GB, free: 127.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.7485, allocations: 51.72 kB / 0.5855 GB, free: 127.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 4.358e-06/0.7485, allocations: 0 / 0.5855 GB, free: 127.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=114): time 0.01897/0.7675, allocations: 9.546 MB / 0.5948 GB, free: 125.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.7676, allocations: 142.5 kB / 0.595 GB, free: 125.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.77, allocations: 2.087 MB / 0.597 GB, free: 125.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.7701, allocations: 25.7 kB / 0.597 GB, free: 125.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000856/0.771, allocations: 1.982 MB / 0.599 GB, free: 124 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.7713, allocations: 447.3 kB / 0.5994 GB, free: 123.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.7715, allocations: 0 / 0.5994 GB, free: 123.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.7717, allocations: 0.5411 MB / 0.5999 GB, free: 123.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.7734, allocations: 1.43 MB / 0.6013 GB, free: 123.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.7759, allocations: 4.117 MB / 0.6053 GB, free: 119.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.7796, allocations: 2.55 MB / 0.6078 GB, free: 119.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-05/0.7796, allocations: 31.28 kB / 0.6078 GB, free: 119.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.009115/0.7887, allocations: 5.65 MB / 0.6134 GB, free: 119.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7888, allocations: 3.625 kB / 0.6134 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.19e-05/0.7889, allocations: 99.88 kB / 0.6135 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.7911, allocations: 0.7908 MB / 0.6142 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.7937, allocations: 0.9776 MB / 0.6152 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.7984, allocations: 4.215 MB / 0.6193 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.8014, allocations: 177.6 kB / 0.6195 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.8017, allocations: 271.7 kB / 0.6197 GB, free: 116.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 441 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 519 * 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.0004524/0.8022, allocations: 346 kB / 0.6201 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.8025, allocations: 208.7 kB / 0.6203 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/0.8075, allocations: 2.208 MB / 0.6224 GB, free: 115.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.8076, allocations: 10.28 kB / 0.6224 GB, free: 115.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.8076, allocations: 2.938 kB / 0.6224 GB, free: 115.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.8076, allocations: 4.922 kB / 0.6224 GB, free: 115.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009751/0.8173, allocations: 5.134 MB / 0.6274 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.8174, allocations: 2.094 kB / 0.6274 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.8182, allocations: 151.7 kB / 0.6276 GB, free: 114.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/0.8202, allocations: 0.6276 MB / 0.6282 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.624e-05/0.8203, allocations: 5.781 kB / 0.6282 GB, free: 114 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.8244, allocations: 3.67 MB / 0.6318 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8244, allocations: 6.406 kB / 0.6318 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006699/0.8311, allocations: 4.404 MB / 0.6361 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/0.8318, allocations: 270.2 kB / 0.6364 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.8321, allocations: 3.188 kB / 0.6364 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000998/0.8331, allocations: 52.03 kB / 0.6364 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8332, allocations: 56.08 kB / 0.6365 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.8333, allocations: 36.98 kB / 0.6365 GB, free: 110.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001916/0.8352, allocations: 1.39 MB / 0.6379 GB, free: 109.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003523/0.8388, allocations: 0.5977 MB / 0.6384 GB, free: 109.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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.0004534/0.8392, allocations: 183 kB / 0.6386 GB, free: 109.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.8437, allocations: 3.41 MB / 0.6419 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8438, allocations: 0 / 0.6419 GB, free: 108.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.845, allocations: 1.051 MB / 0.643 GB, free: 107.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.8461, allocations: 206.6 kB / 0.6432 GB, free: 107.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.8541, allocations: 4.683 MB / 0.6477 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002452/0.8566, allocations: 2.468 MB / 0.6502 GB, free: 105.1 MB / 442.7 MB Notification: Performance of SimCode: time 9.41e-07/0.8566, allocations: 3.312 kB / 0.6502 GB, free: 105.1 MB / 442.7 MB Notification: Performance of Templates: time 0.04296/0.8996, allocations: 23.8 MB / 0.6734 GB, free: 95.08 MB / 442.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/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