Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.0008723, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007953, allocations: 102.7 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 19.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3198, allocations: 93.94 MB / 496.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.32, allocations: 91.95 kB / 496.8 MB, free: 2.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2985/0.6185, allocations: 58.63 MB / 0.5424 GB, free: 71.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6186, allocations: 3.938 kB / 0.5424 GB, free: 71.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001129/0.6187, allocations: 48 kB / 0.5424 GB, free: 71.87 MB / 378.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.007584/0.6263, allocations: 2.677 MB / 0.5451 GB, free: 69.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6264, allocations: 12.02 kB / 0.5451 GB, free: 69.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.6383, allocations: 1.893 MB / 0.5469 GB, free: 67.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/0.6451, allocations: 2.204 MB / 0.5491 GB, free: 64.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.6455, allocations: 185.1 kB / 0.5493 GB, free: 64.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.6469, allocations: 240.3 kB / 0.5495 GB, free: 64.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.6643, allocations: 6.829 MB / 0.5561 GB, free: 57.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/0.6645, allocations: 39.78 kB / 0.5562 GB, free: 56.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.6656, allocations: 131.8 kB / 0.5563 GB, free: 56.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001339/0.6669, allocations: 0.7345 MB / 0.557 GB, free: 56.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.681, allocations: 5.935 MB / 0.5628 GB, free: 50.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/0.7075, allocations: 31.21 MB / 0.5933 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.7122, allocations: 2.62 MB / 0.5959 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.7135, allocations: 1.208 MB / 0.597 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00682/0.7203, allocations: 5.107 MB / 0.602 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.7203, allocations: 38.56 kB / 0.6021 GB, free: 8.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=97): time 3.486e-06/0.7204, allocations: 4 kB / 0.6021 GB, free: 8.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01918/0.7395, allocations: 9.494 MB / 0.6113 GB, free: 15.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.7396, allocations: 144.9 kB / 0.6115 GB, free: 14.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.7443, allocations: 2.722 MB / 0.6141 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.7444, allocations: 37.7 kB / 0.6142 GB, free: 12.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.7459, allocations: 2.052 MB / 0.6162 GB, free: 9.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.7464, allocations: 422.7 kB / 0.6166 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.7466, allocations: 80 kB / 0.6167 GB, free: 9.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/0.747, allocations: 494.9 kB / 0.6171 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.7494, allocations: 1.452 MB / 0.6185 GB, free: 7.535 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004544/0.754, allocations: 4.055 MB / 0.6225 GB, free: 2.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/0.7611, allocations: 5.939 MB / 0.6283 GB, free: 10.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.961e-05/0.7612, allocations: 32 kB / 0.6283 GB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01077/0.772, allocations: 6.001 MB / 0.6342 GB, free: 4.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.318e-05/0.7721, allocations: 44 kB / 0.6342 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.7722, allocations: 92 kB / 0.6343 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.7745, allocations: 0.8165 MB / 0.6351 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.7775, allocations: 0.9435 MB / 0.636 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.7833, allocations: 4.303 MB / 0.6402 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.7864, allocations: 279.6 kB / 0.6405 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006118/0.7871, allocations: 260.5 kB / 0.6408 GB, free: 14.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (496): * Single equations (assignments): 492 * 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.002614/0.7897, allocations: 1.376 MB / 0.6421 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/0.7903, allocations: 229 kB / 0.6423 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.7953, allocations: 2.13 MB / 0.6444 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.7953, allocations: 15.98 kB / 0.6444 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.7953, allocations: 4 kB / 0.6444 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7954, allocations: 7.922 kB / 0.6444 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.8057, allocations: 5.091 MB / 0.6494 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8058, allocations: 4 kB / 0.6494 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/0.8065, allocations: 147.8 kB / 0.6495 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.8086, allocations: 0.6756 MB / 0.6502 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.8087, allocations: 16 kB / 0.6502 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.8136, allocations: 3.846 MB / 0.654 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8136, allocations: 4 kB / 0.654 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006398/0.82, allocations: 4.043 MB / 0.6579 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/0.8208, allocations: 294 kB / 0.6582 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/0.8213, allocations: 23.98 kB / 0.6582 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.8226, allocations: 87.81 kB / 0.6583 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.8227, allocations: 52.38 kB / 0.6584 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.8228, allocations: 31.98 kB / 0.6584 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003684/0.8265, allocations: 1.705 MB / 0.6601 GB, free: 9.945 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8266, allocations: 0 / 0.6601 GB, free: 9.945 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003761/0.8303, allocations: 0.676 MB / 0.6607 GB, free: 9.27 MB / 442.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.000463/0.8308, allocations: 194.9 kB / 0.6609 GB, free: 9.066 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005594/0.8364, allocations: 3.464 MB / 0.6643 GB, free: 5.609 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.8364, allocations: 0 / 0.6643 GB, free: 5.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.8378, allocations: 1.052 MB / 0.6653 GB, free: 4.543 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.84, allocations: 247.7 kB / 0.6656 GB, free: 4.301 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2021/1.042, allocations: 6.639 MB / 0.672 GB, free: 128.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.044, allocations: 2.236 MB / 0.6742 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002925/1.047, allocations: 1.321 MB / 0.6755 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/1.047, allocations: 157.5 kB / 0.6757 GB, free: 127.6 MB / 442.7 MB Notification: Performance of SimCode: time 6.02e-07/1.047, allocations: 0 / 0.6757 GB, free: 127.6 MB / 442.7 MB Notification: Performance of Templates: time 0.03636/1.084, allocations: 22.36 MB / 0.6975 GB, free: 126.8 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches