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") [: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 3.2.3+maint.om/package.mo): time 0.001757/0.001757, allocations: 176.2 kB / 8.151 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001247/0.001246, allocations: 90.91 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.224e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2447, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.3935, allocations: 91.72 MB / 453.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/0.3939, allocations: 87.95 kB / 453.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2648/0.6587, allocations: 56.81 MB / 0.4985 GB, free: 1.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.6589, allocations: 48 kB / 0.4985 GB, free: 1.047 MB / 394.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.1993/0.8582, allocations: 2.595 MB / 0.5011 GB, free: 80.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.8583, allocations: 8.094 kB / 0.5011 GB, free: 80.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.873, allocations: 1.601 MB / 0.5026 GB, free: 80.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.8862, allocations: 3.461 MB / 0.506 GB, free: 80.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.8864, allocations: 79 kB / 0.5061 GB, free: 80.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.8878, allocations: 142.3 kB / 0.5062 GB, free: 80.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01049/0.8983, allocations: 4.173 MB / 0.5103 GB, free: 80.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.914, allocations: 6.28 MB / 0.5164 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.9142, allocations: 41.83 kB / 0.5165 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007937/0.915, allocations: 25.56 kB / 0.5165 GB, free: 78.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001468/0.9165, allocations: 0.7657 MB / 0.5172 GB, free: 78.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04485/0.9614, allocations: 30.75 MB / 0.5473 GB, free: 58.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.9655, allocations: 2.18 MB / 0.5494 GB, free: 58.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/0.9682, allocations: 1.165 MB / 0.5505 GB, free: 58.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.9695, allocations: 359.1 kB / 0.5509 GB, free: 57.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.9695, allocations: 48.34 kB / 0.5509 GB, free: 57.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 5.44e-06/0.9696, allocations: 0 / 0.5509 GB, free: 57.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.03725/1.007, allocations: 9.556 MB / 0.5603 GB, free: 54.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/1.007, allocations: 137 kB / 0.5604 GB, free: 54.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/1.012, allocations: 2.102 MB / 0.5625 GB, free: 53.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003877/1.013, allocations: 29.7 kB / 0.5625 GB, free: 53.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.014, allocations: 1.984 MB / 0.5644 GB, free: 51.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007802/1.015, allocations: 455.4 kB / 0.5649 GB, free: 51.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/1.015, allocations: 0 / 0.5649 GB, free: 51.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003271/1.016, allocations: 0.4888 MB / 0.5653 GB, free: 51.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/1.02, allocations: 1.435 MB / 0.5667 GB, free: 50.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/1.025, allocations: 4.114 MB / 0.5707 GB, free: 45.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/1.032, allocations: 2.538 MB / 0.5732 GB, free: 44.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.78e-05/1.032, allocations: 28 kB / 0.5733 GB, free: 44 MB / 394.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.01896/1.051, allocations: 5.598 MB / 0.5787 GB, free: 40.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.051, allocations: 4.219 kB / 0.5787 GB, free: 40.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/1.051, allocations: 100 kB / 0.5788 GB, free: 40.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/1.056, allocations: 0.7943 MB / 0.5796 GB, free: 39.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/1.062, allocations: 0.9748 MB / 0.5805 GB, free: 38.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/1.072, allocations: 4.507 MB / 0.5849 GB, free: 34.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/1.077, allocations: 169.9 kB / 0.5851 GB, free: 34.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.078, allocations: 263.7 kB / 0.5854 GB, free: 34.2 MB / 394.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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009605/1.079, allocations: 265.2 kB / 0.5856 GB, free: 33.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005975/1.079, allocations: 213.3 kB / 0.5858 GB, free: 33.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009123/1.088, allocations: 2.195 MB / 0.588 GB, free: 32.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.503e-05/1.089, allocations: 8 kB / 0.588 GB, free: 32.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.089, allocations: 7.906 kB / 0.588 GB, free: 32.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.089, allocations: 4.219 kB / 0.588 GB, free: 32.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.107, allocations: 5.123 MB / 0.593 GB, free: 27.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.107, allocations: 4 kB / 0.593 GB, free: 27.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.109, allocations: 154 kB / 0.5931 GB, free: 27.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/1.113, allocations: 0.6225 MB / 0.5937 GB, free: 27.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.114, allocations: 8 kB / 0.5938 GB, free: 27.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00817/1.122, allocations: 3.68 MB / 0.5973 GB, free: 23.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.122, allocations: 4.062 kB / 0.5973 GB, free: 23.51 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01248/1.134, allocations: 4.393 MB / 0.6016 GB, free: 19.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.136, allocations: 450 kB / 0.6021 GB, free: 18.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/1.137, allocations: 1.781 kB / 0.6021 GB, free: 18.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.139, allocations: 51.88 kB / 0.6021 GB, free: 18.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/1.139, allocations: 52.42 kB / 0.6022 GB, free: 18.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.139, allocations: 39.91 kB / 0.6022 GB, free: 18.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003101/1.142, allocations: 1.399 MB / 0.6036 GB, free: 17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005464/1.148, allocations: 0.5838 MB / 0.6041 GB, free: 16.43 MB / 394.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.0007587/1.149, allocations: 185.2 kB / 0.6043 GB, free: 16.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007952/1.157, allocations: 3.396 MB / 0.6076 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.157, allocations: 0 / 0.6076 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/1.159, allocations: 1.05 MB / 0.6087 GB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/1.161, allocations: 205.2 kB / 0.6089 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.176, allocations: 4.973 MB / 0.6137 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005576/1.182, allocations: 2.493 MB / 0.6161 GB, free: 4.047 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/1.182, allocations: 0 / 0.6161 GB, free: 4.047 MB / 394.7 MB Notification: Performance of Templates: time 0.1002/1.282, allocations: 46.79 MB / 0.6618 GB, free: 5.57 MB / 442.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/jenkins1/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