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.001335/0.001335, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.001143/0.001143, allocations: 100 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.722e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4084/0.5303, allocations: 108 MB / 0.6001 GB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.5306, allocations: 75.97 kB / 0.6002 GB, free: 4.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2044/0.735, allocations: 79.61 MB / 0.678 GB, free: 4.234 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.735, allocations: 0 / 0.678 GB, free: 4.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002406/0.7353, allocations: 91.94 kB / 0.6781 GB, free: 4.145 MB / 490.7 MB 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.01544/0.7507, allocations: 4.173 MB / 0.6821 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/0.7508, allocations: 19.97 kB / 0.6821 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.7616, allocations: 2.237 MB / 0.6843 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.7752, allocations: 4.561 MB / 0.6888 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.7755, allocations: 140 kB / 0.6889 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.7775, allocations: 255.9 kB / 0.6892 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01185/0.7894, allocations: 5.955 MB / 0.695 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3184/1.108, allocations: 9.211 MB / 0.704 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/1.108, allocations: 59.55 kB / 0.704 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008905/1.109, allocations: 30.62 kB / 0.7041 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/1.111, allocations: 0.9777 MB / 0.705 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04865/1.159, allocations: 47.15 MB / 0.7511 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/1.162, allocations: 2.578 MB / 0.7536 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/1.164, allocations: 1.504 MB / 0.755 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/1.165, allocations: 1.299 MB / 0.7563 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.165, allocations: 53.81 kB / 0.7564 GB, free: 79.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=147): time 4.318e-06/1.165, allocations: 0 / 0.7564 GB, free: 79.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154): time 0.01908/1.184, allocations: 9.837 MB / 0.766 GB, free: 75.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/1.185, allocations: 140.7 kB / 0.7661 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003494/1.188, allocations: 2.904 MB / 0.7689 GB, free: 74.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/1.188, allocations: 25.7 kB / 0.769 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.19, allocations: 3.111 MB / 0.772 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/1.19, allocations: 0.6113 MB / 0.7726 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.19, allocations: 0 / 0.7726 GB, free: 71.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002526/1.19, allocations: 0.5701 MB / 0.7732 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.193, allocations: 1.91 MB / 0.775 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003394/1.196, allocations: 5.648 MB / 0.7805 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/1.199, allocations: 3.245 MB / 0.7837 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-05/1.2, allocations: 39.28 kB / 0.7837 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01741/1.217, allocations: 8.152 MB / 0.7917 GB, free: 61.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.217, allocations: 63.03 kB / 0.7918 GB, free: 61.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009014/1.226, allocations: 3.214 MB / 0.7949 GB, free: 60.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008902/1.235, allocations: 1.932 MB / 0.7968 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004429/1.24, allocations: 1.374 MB / 0.7981 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006689/1.246, allocations: 5.584 MB / 0.8036 GB, free: 56.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.251, allocations: 290.2 kB / 0.8039 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.253, allocations: 376.3 kB / 0.8042 GB, free: 56.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (744): * Single equations (assignments): 735 * 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.001647/1.254, allocations: 448 kB / 0.8046 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/1.255, allocations: 301.1 kB / 0.8049 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/1.26, allocations: 2.797 MB / 0.8077 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004009/1.264, allocations: 2.393 MB / 0.81 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.264, allocations: 3.938 kB / 0.81 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/1.265, allocations: 11.16 kB / 0.81 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/1.281, allocations: 8.186 MB / 0.818 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.282, allocations: 0 / 0.818 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.283, allocations: 253.5 kB / 0.8183 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.286, allocations: 1.013 MB / 0.8192 GB, free: 47.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/1.286, allocations: 23.89 kB / 0.8193 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004698/1.291, allocations: 4.91 MB / 0.8241 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006958/1.291, allocations: 1.419 MB / 0.8254 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006909/1.298, allocations: 5.237 MB / 0.8306 GB, free: 36.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.299, allocations: 360.8 kB / 0.8309 GB, free: 36.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007143/1.3, allocations: 7.938 kB / 0.8309 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.302, allocations: 116.1 kB / 0.831 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/1.302, allocations: 91.17 kB / 0.8311 GB, free: 36.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.302, allocations: 51.56 kB / 0.8312 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003392/1.306, allocations: 1.911 MB / 0.833 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.1e-07/1.306, allocations: 0 / 0.833 GB, free: 34.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005653/1.311, allocations: 0.9406 MB / 0.8339 GB, free: 33.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.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 (120): * Single equations (assignments): 113 * 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.0006605/1.312, allocations: 153.2 kB / 0.8341 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009454/1.321, allocations: 5.223 MB / 0.8392 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.321, allocations: 0 / 0.8392 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003582/1.325, allocations: 2.117 MB / 0.8413 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.327, allocations: 342.2 kB / 0.8416 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.342, allocations: 7.612 MB / 0.849 GB, free: 20 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/1.346, allocations: 3.258 MB / 0.8522 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004613/1.35, allocations: 1.879 MB / 0.854 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/1.351, allocations: 219.4 kB / 0.8542 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/1.351, allocations: 0 / 0.8542 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.05719/1.408, allocations: 31.34 MB / 0.8848 GB, free: 15.82 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