Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001466/0.001466, allocations: 178.7 kB / 8.476 MB, free: 1.871 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.148/1.148, allocations: 205.2 MB / 214.1 MB, free: 5.59 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 98.25 kB / 262.1 MB, free: 5.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.085e-06, allocations: 4 kB / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07434/0.07436, allocations: 47.58 MB / 362.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/0.3253, allocations: 91.71 MB / 454.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.3255, allocations: 84.64 kB / 454.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.148/0.4735, allocations: 56.8 MB / 0.4992 GB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.628e-05/0.4736, allocations: 48 kB / 0.4992 GB, free: 15.82 MB / 362.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.005038/0.4787, allocations: 2.599 MB / 0.5017 GB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4787, allocations: 8.031 kB / 0.5018 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007489/0.4862, allocations: 1.599 MB / 0.5033 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009232/0.4955, allocations: 3.467 MB / 0.5067 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4956, allocations: 76 kB / 0.5068 GB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006764/0.4963, allocations: 140 kB / 0.5069 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006693/0.503, allocations: 4.182 MB / 0.511 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009125/0.5122, allocations: 6.288 MB / 0.5171 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.192e-05/0.5123, allocations: 35.69 kB / 0.5172 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.5126, allocations: 20 kB / 0.5172 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/0.5136, allocations: 0.7654 MB / 0.5179 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03205/0.5457, allocations: 30.75 MB / 0.548 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.5484, allocations: 2.167 MB / 0.5501 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.5498, allocations: 1.163 MB / 0.5512 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/0.5505, allocations: 371.6 kB / 0.5516 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5506, allocations: 38.94 kB / 0.5516 GB, free: 8.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 3.467e-06/0.5506, allocations: 0 / 0.5516 GB, free: 8.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.02096/0.5715, allocations: 9.568 MB / 0.561 GB, free: 14.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.5717, allocations: 145 kB / 0.5611 GB, free: 14.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.5747, allocations: 2.102 MB / 0.5631 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.5749, allocations: 29.7 kB / 0.5632 GB, free: 12.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.5761, allocations: 1.981 MB / 0.5651 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.5765, allocations: 442.4 kB / 0.5655 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.5766, allocations: 0 / 0.5655 GB, free: 9.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003679/0.577, allocations: 0.5393 MB / 0.5661 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.579, allocations: 1.434 MB / 0.5675 GB, free: 7.641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/0.5825, allocations: 4.116 MB / 0.5715 GB, free: 2.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1352/0.7177, allocations: 2.528 MB / 0.5739 GB, free: 157.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.543e-05/0.7178, allocations: 27.53 kB / 0.574 GB, free: 157.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.009602/0.7274, allocations: 5.649 MB / 0.5795 GB, free: 157.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.7274, allocations: 3.594 kB / 0.5795 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-05/0.7275, allocations: 102 kB / 0.5796 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.7297, allocations: 0.7906 MB / 0.5804 GB, free: 157.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.7324, allocations: 0.9787 MB / 0.5813 GB, free: 157.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.737, allocations: 4.206 MB / 0.5854 GB, free: 155.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/0.74, allocations: 184.1 kB / 0.5856 GB, free: 155.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/0.7404, allocations: 267.9 kB / 0.5859 GB, free: 155.8 MB / 426.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.0004694/0.7409, allocations: 342 kB / 0.5862 GB, free: 155.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.7412, allocations: 210.6 kB / 0.5864 GB, free: 155.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/0.7455, allocations: 2.199 MB / 0.5885 GB, free: 155.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.7455, allocations: 14.22 kB / 0.5885 GB, free: 155.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7455, allocations: 7.562 kB / 0.5886 GB, free: 155.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.7456, allocations: 3.844 kB / 0.5886 GB, free: 155.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008676/0.7542, allocations: 5.102 MB / 0.5935 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.7543, allocations: 3.406 kB / 0.5935 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.755, allocations: 152.4 kB / 0.5937 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.7569, allocations: 0.6224 MB / 0.5943 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.757, allocations: 7.562 kB / 0.5943 GB, free: 155 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003912/0.761, allocations: 3.679 MB / 0.5979 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.761, allocations: 7.641 kB / 0.5979 GB, free: 153.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005932/0.7669, allocations: 4.397 MB / 0.6022 GB, free: 153.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008331/0.7678, allocations: 439.5 kB / 0.6026 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.7681, allocations: 10 kB / 0.6026 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.769, allocations: 51.44 kB / 0.6027 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.7691, allocations: 51.92 kB / 0.6027 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.7692, allocations: 28.77 kB / 0.6028 GB, free: 152.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001703/0.771, allocations: 1.405 MB / 0.6041 GB, free: 152.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00296/0.7739, allocations: 0.5926 MB / 0.6047 GB, free: 152.8 MB / 426.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.0003791/0.7743, allocations: 172.5 kB / 0.6049 GB, free: 152.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00417/0.7785, allocations: 3.419 MB / 0.6082 GB, free: 152.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7785, allocations: 0 / 0.6082 GB, free: 152.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.7796, allocations: 1.052 MB / 0.6092 GB, free: 152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.7806, allocations: 197.7 kB / 0.6094 GB, free: 151.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.7882, allocations: 4.701 MB / 0.614 GB, free: 150.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002315/0.7905, allocations: 2.48 MB / 0.6164 GB, free: 149.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7905, allocations: 0 / 0.6164 GB, free: 149.2 MB / 426.7 MB Notification: Performance of Templates: time 0.03956/0.8301, allocations: 23.73 MB / 0.6396 GB, free: 138.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches