Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002563/0.002564, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 92.73 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.917e-05, allocations: 7.938 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.5101, allocations: 87.8 MB / 475.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5105, allocations: 83.89 kB / 475.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1616/0.6721, allocations: 60.04 MB / 0.5228 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6722, allocations: 0 / 0.5228 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.201e-05/0.6723, allocations: 43.94 kB / 0.5229 GB, free: 10.41 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.01577/0.688, allocations: 3.445 MB / 0.5262 GB, free: 6.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6881, allocations: 12.03 kB / 0.5263 GB, free: 6.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.7, allocations: 2.348 MB / 0.5285 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.7131, allocations: 4.567 MB / 0.533 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.7134, allocations: 72 kB / 0.5331 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.7148, allocations: 139.9 kB / 0.5332 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008797/0.7237, allocations: 5.54 MB / 0.5386 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.7362, allocations: 7.822 MB / 0.5463 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.7364, allocations: 47.62 kB / 0.5463 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.7367, allocations: 28 kB / 0.5463 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/0.7379, allocations: 0.7263 MB / 0.547 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3226/1.06, allocations: 36.62 MB / 0.5828 GB, free: 84.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/1.065, allocations: 3.15 MB / 0.5859 GB, free: 84.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/1.068, allocations: 2.17 MB / 0.588 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.469e-05/1.068, allocations: 14.92 kB / 0.588 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.068, allocations: 46.97 kB / 0.5881 GB, free: 83.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.097e-06/1.068, allocations: 0 / 0.5881 GB, free: 83.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=136): time 0.02855/1.097, allocations: 13.48 MB / 0.6012 GB, free: 79.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.097, allocations: 166.2 kB / 0.6014 GB, free: 78.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/1.101, allocations: 2.293 MB / 0.6036 GB, free: 78.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004939/1.101, allocations: 29.3 kB / 0.6036 GB, free: 78.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/1.102, allocations: 2.114 MB / 0.6057 GB, free: 76.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/1.103, allocations: 0.5619 MB / 0.6063 GB, free: 76.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.103, allocations: 0 / 0.6063 GB, free: 76.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/1.103, allocations: 0.515 MB / 0.6068 GB, free: 75.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/1.106, allocations: 2.242 MB / 0.6089 GB, free: 75.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/1.109, allocations: 5.232 MB / 0.6141 GB, free: 70.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/1.113, allocations: 3.332 MB / 0.6173 GB, free: 69.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-05/1.113, allocations: 31.38 kB / 0.6173 GB, free: 69.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.01688/1.13, allocations: 8.724 MB / 0.6259 GB, free: 66.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/1.13, allocations: 51.09 kB / 0.6259 GB, free: 66.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0101/1.14, allocations: 4.604 MB / 0.6304 GB, free: 65.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009068/1.149, allocations: 2.319 MB / 0.6327 GB, free: 63.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/1.153, allocations: 1.206 MB / 0.6338 GB, free: 62.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/1.159, allocations: 7.823 MB / 0.6415 GB, free: 55.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/1.165, allocations: 493.6 kB / 0.642 GB, free: 54.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009652/1.166, allocations: 315.8 kB / 0.6423 GB, free: 54.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (599): * Single equations (assignments): 584 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007929/1.167, allocations: 365.7 kB / 0.6426 GB, free: 54.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005085/1.167, allocations: 246.8 kB / 0.6428 GB, free: 53.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/1.168, allocations: 387 kB / 0.6432 GB, free: 53.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009834/1.178, allocations: 4.502 MB / 0.6476 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/1.178, allocations: 8.281 kB / 0.6476 GB, free: 50.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-05/1.178, allocations: 11.31 kB / 0.6476 GB, free: 50.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008964/1.187, allocations: 5.011 MB / 0.6525 GB, free: 45.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.187, allocations: 3.938 kB / 0.6525 GB, free: 45.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.189, allocations: 283.5 kB / 0.6528 GB, free: 45.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007982/1.197, allocations: 2.331 MB / 0.6551 GB, free: 43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005326/1.197, allocations: 35.95 kB / 0.6551 GB, free: 42.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007028/1.204, allocations: 8.605 MB / 0.6635 GB, free: 33.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001266/1.205, allocations: 2.774 MB / 0.6662 GB, free: 30.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.219, allocations: 7.979 MB / 0.674 GB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008133/1.22, allocations: 305.9 kB / 0.6743 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/1.221, allocations: 19.98 kB / 0.6743 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.223, allocations: 251.5 kB / 0.6746 GB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.223, allocations: 107.5 kB / 0.6747 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.223, allocations: 43.97 kB / 0.6747 GB, free: 22.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00232/1.226, allocations: 1.522 MB / 0.6762 GB, free: 20.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.226, allocations: 0 / 0.6762 GB, free: 20.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005771/1.231, allocations: 0.871 MB / 0.677 GB, free: 19.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET12.x[3],$STATESET12.x[2],$STATESET12.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET11.x[3],$STATESET11.x[2],$STATESET11.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006379/1.232, allocations: 163 kB / 0.6772 GB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009651/1.242, allocations: 6.48 MB / 0.6835 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.242, allocations: 3.938 kB / 0.6835 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005175/1.247, allocations: 3.343 MB / 0.6868 GB, free: 9.492 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.249, allocations: 231.3 kB / 0.687 GB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.261, allocations: 7.311 MB / 0.6942 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.263, allocations: 2.352 MB / 0.6965 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004522/1.268, allocations: 1.662 MB / 0.6981 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.268, allocations: 187.3 kB / 0.6983 GB, free: 13.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/1.268, allocations: 0 / 0.6983 GB, free: 13.77 MB / 442.7 MB Notification: Performance of Templates: time 0.3034/1.572, allocations: 33.13 MB / 0.7306 GB, free: 110.5 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches