Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009727/0.0009726, allocations: 101.5 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.895e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.483/0.6108, allocations: 108.9 MB / 0.6107 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.611, allocations: 78.08 kB / 0.6108 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2087/0.8197, allocations: 80.36 MB / 0.6893 GB, free: 1.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8198, allocations: 0 / 0.6893 GB, free: 1.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003183/0.8201, allocations: 80 kB / 0.6894 GB, free: 1.582 MB / 474.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.01917/0.8393, allocations: 4.298 MB / 0.6935 GB, free: 13.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.8394, allocations: 8.031 kB / 0.6936 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.8513, allocations: 2.295 MB / 0.6958 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.8634, allocations: 4.05 MB / 0.6998 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.8637, allocations: 140 kB / 0.6999 GB, free: 6.652 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.8658, allocations: 263.9 kB / 0.7001 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01334/0.8791, allocations: 5.944 MB / 0.7059 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.9, allocations: 9.223 MB / 0.7149 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/0.9003, allocations: 63.39 kB / 0.715 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.9022, allocations: 35.94 kB / 0.715 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001693/0.9039, allocations: 0.9751 MB / 0.716 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3774/1.281, allocations: 47.12 MB / 0.762 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/1.285, allocations: 2.591 MB / 0.7645 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/1.288, allocations: 1.507 MB / 0.766 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.289, allocations: 1.296 MB / 0.7673 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/1.289, allocations: 56.02 kB / 0.7673 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=147): time 6.212e-06/1.289, allocations: 0 / 0.7673 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154): time 0.0229/1.312, allocations: 9.84 MB / 0.7769 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.312, allocations: 141.6 kB / 0.7771 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/1.317, allocations: 2.9 MB / 0.7799 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000408/1.318, allocations: 25.7 kB / 0.7799 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/1.319, allocations: 3.112 MB / 0.783 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008012/1.32, allocations: 0.6193 MB / 0.7836 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/1.32, allocations: 0 / 0.7836 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002547/1.321, allocations: 0.5531 MB / 0.7841 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.323, allocations: 1.917 MB / 0.786 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.327, allocations: 5.644 MB / 0.7915 GB, free: 97.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/1.331, allocations: 3.258 MB / 0.7947 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.092e-05/1.331, allocations: 37.84 kB / 0.7947 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02068/1.352, allocations: 8.115 MB / 0.8026 GB, free: 96.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.352, allocations: 60.38 kB / 0.8027 GB, free: 96.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009067/1.361, allocations: 3.192 MB / 0.8058 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00881/1.37, allocations: 1.892 MB / 0.8077 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/1.374, allocations: 1.38 MB / 0.809 GB, free: 95.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/1.381, allocations: 5.57 MB / 0.8144 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00625/1.387, allocations: 289.5 kB / 0.8147 GB, free: 92.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002416/1.389, allocations: 376.1 kB / 0.8151 GB, free: 92.43 MB / 0.5261 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.001812/1.391, allocations: 451 kB / 0.8155 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.393, allocations: 300.2 kB / 0.8158 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005627/1.398, allocations: 2.798 MB / 0.8185 GB, free: 91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004053/1.402, allocations: 2.397 MB / 0.8209 GB, free: 90.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.402, allocations: 3.844 kB / 0.8209 GB, free: 90.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.402, allocations: 7.406 kB / 0.8209 GB, free: 90.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.419, allocations: 8.175 MB / 0.8289 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.419, allocations: 0 / 0.8289 GB, free: 87.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.42, allocations: 258.2 kB / 0.8291 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/1.423, allocations: 1.014 MB / 0.8301 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002543/1.423, allocations: 18.28 kB / 0.8301 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/1.428, allocations: 4.92 MB / 0.8349 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007101/1.428, allocations: 1.409 MB / 0.8363 GB, free: 82.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/1.436, allocations: 5.246 MB / 0.8414 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.437, allocations: 352.3 kB / 0.8418 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/1.437, allocations: 14.72 kB / 0.8418 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.439, allocations: 111.9 kB / 0.8419 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.439, allocations: 92.98 kB / 0.842 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.439, allocations: 45.44 kB / 0.842 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00282/1.442, allocations: 1.906 MB / 0.8439 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.442, allocations: 0 / 0.8439 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005831/1.448, allocations: 0.9443 MB / 0.8448 GB, free: 77.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0005107/1.448, allocations: 160.5 kB / 0.845 GB, free: 77.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008368/1.457, allocations: 5.216 MB / 0.85 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.457, allocations: 0 / 0.85 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.46, allocations: 2.112 MB / 0.8521 GB, free: 71.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.462, allocations: 335.9 kB / 0.8524 GB, free: 70.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.477, allocations: 7.619 MB / 0.8599 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/1.48, allocations: 3.254 MB / 0.863 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004615/1.485, allocations: 1.888 MB / 0.8649 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/1.485, allocations: 218.3 kB / 0.8651 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/1.485, allocations: 2.156 kB / 0.8651 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.05059/1.536, allocations: 31.32 MB / 0.8957 GB, free: 33.39 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches