Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.7 kB / 14.15 MB, free: 1.176 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.291/1.291, allocations: 221.3 MB / 236 MB, free: 2.973 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.001046/0.001046, allocations: 94.66 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1751/0.1751, allocations: 44.14 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.93e-05, allocations: 4 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4772, allocations: 108.7 MB / 0.6078 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4774, allocations: 79.95 kB / 0.6079 GB, free: 12.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1942/0.6716, allocations: 81.46 MB / 0.6875 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6716, allocations: 4 kB / 0.6875 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001403/0.6718, allocations: 87.92 kB / 0.6875 GB, free: 10.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01342/0.6852, allocations: 4.177 MB / 0.6916 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6853, allocations: 11.97 kB / 0.6916 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.6956, allocations: 2.245 MB / 0.6938 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.7072, allocations: 4.569 MB / 0.6983 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.7075, allocations: 336.5 kB / 0.6986 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/0.709, allocations: 427.8 kB / 0.699 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.727, allocations: 10.32 MB / 0.7091 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.7272, allocations: 59.48 kB / 0.7091 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005343/0.7278, allocations: 207.9 kB / 0.7093 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001196/0.729, allocations: 0.9789 MB / 0.7103 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2774/1.006, allocations: 8.162 MB / 0.7183 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/1.057, allocations: 48.39 MB / 0.7655 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007814/1.065, allocations: 3.641 MB / 0.7691 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/1.066, allocations: 1.609 MB / 0.7707 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008272/1.075, allocations: 7.895 MB / 0.7784 GB, free: 87.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/1.075, allocations: 55.12 kB / 0.7784 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 3.367e-06/1.075, allocations: 0 / 0.7784 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148): time 0.02103/1.096, allocations: 10.3 MB / 0.7885 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009026/1.097, allocations: 1.619 MB / 0.7901 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00418/1.101, allocations: 3.4 MB / 0.7934 GB, free: 80.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/1.101, allocations: 46.55 kB / 0.7934 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.103, allocations: 3.05 MB / 0.7964 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/1.103, allocations: 0.6093 MB / 0.797 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.103, allocations: 113.3 kB / 0.7971 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.103, allocations: 0.5415 MB / 0.7976 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.106, allocations: 1.967 MB / 0.7996 GB, free: 76.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/1.109, allocations: 5.582 MB / 0.805 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/1.112, allocations: 3.275 MB / 0.8082 GB, free: 69.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-05/1.113, allocations: 38.84 kB / 0.8082 GB, free: 69.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0166/1.129, allocations: 8.759 MB / 0.8168 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/1.129, allocations: 62.03 kB / 0.8169 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008788/1.138, allocations: 3.27 MB / 0.82 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008623/1.147, allocations: 1.939 MB / 0.8219 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/1.151, allocations: 1.321 MB / 0.8232 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/1.157, allocations: 5.737 MB / 0.8288 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/1.162, allocations: 397.3 kB / 0.8292 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009519/1.163, allocations: 360 kB / 0.8296 GB, free: 59.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 705 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008177/1.163, allocations: 0.5577 MB / 0.8301 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/1.164, allocations: 331 kB / 0.8304 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.169, allocations: 2.897 MB / 0.8332 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003776/1.173, allocations: 2.451 MB / 0.8356 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.173, allocations: 4 kB / 0.8356 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/1.173, allocations: 10.62 kB / 0.8357 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.186, allocations: 8.501 MB / 0.844 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.186, allocations: 96 / 0.844 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.187, allocations: 254.3 kB / 0.8442 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/1.19, allocations: 1.022 MB / 0.8452 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.19, allocations: 34.61 kB / 0.8452 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/1.194, allocations: 5.012 MB / 0.8501 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006472/1.195, allocations: 1.483 MB / 0.8516 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00651/1.201, allocations: 5.265 MB / 0.8567 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009944/1.202, allocations: 396.2 kB / 0.8571 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.202, allocations: 31.84 kB / 0.8571 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.204, allocations: 132.8 kB / 0.8572 GB, free: 35.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.204, allocations: 99.67 kB / 0.8573 GB, free: 34.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.204, allocations: 46.72 kB / 0.8574 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003284/1.208, allocations: 2.339 MB / 0.8597 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/1.208, allocations: 0 / 0.8597 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003778/1.211, allocations: 1.033 MB / 0.8607 GB, free: 31.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003541/1.212, allocations: 172.5 kB / 0.8608 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00742/1.219, allocations: 5.383 MB / 0.8661 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.219, allocations: 4.188 kB / 0.8661 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003452/1.223, allocations: 2.127 MB / 0.8682 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.225, allocations: 403.1 kB / 0.8686 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.237, allocations: 7.655 MB / 0.876 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.24, allocations: 3.256 MB / 0.8792 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004013/1.244, allocations: 1.822 MB / 0.881 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/1.244, allocations: 223.4 kB / 0.8812 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/1.244, allocations: 0 / 0.8812 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.3148/1.559, allocations: 34.99 MB / 0.9154 GB, free: 121.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches