Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008915/0.0008915, allocations: 97.83 kB / 296.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3396/0.3396, allocations: 44.83 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3409, allocations: 62.96 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4809, allocations: 109.6 MB / 0.6235 GB, free: 11.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4813, allocations: 83.95 kB / 0.6236 GB, free: 11.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4531/0.9344, allocations: 80.74 MB / 0.7024 GB, free: 99.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.9344, allocations: 0 / 0.7024 GB, free: 99.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001648/0.9346, allocations: 84.97 kB / 0.7025 GB, free: 99.8 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.0172/0.9518, allocations: 4.449 MB / 0.7069 GB, free: 97.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.9519, allocations: 12.66 kB / 0.7069 GB, free: 97.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.9627, allocations: 2.26 MB / 0.7091 GB, free: 97.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.9732, allocations: 3.426 MB / 0.7124 GB, free: 97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/0.9737, allocations: 326.2 kB / 0.7127 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/0.9759, allocations: 430.8 kB / 0.7132 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.9977, allocations: 10.32 MB / 0.7232 GB, free: 92.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.9979, allocations: 66.38 kB / 0.7233 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008698/0.9988, allocations: 207.2 kB / 0.7235 GB, free: 92.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001153/0.9999, allocations: 0.9791 MB / 0.7245 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/1.015, allocations: 8.181 MB / 0.7324 GB, free: 89.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04576/1.061, allocations: 48.31 MB / 0.7796 GB, free: 52.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007961/1.069, allocations: 3.678 MB / 0.7832 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/1.071, allocations: 1.613 MB / 0.7848 GB, free: 50.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009459/1.081, allocations: 7.845 MB / 0.7924 GB, free: 44.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.081, allocations: 55.2 kB / 0.7925 GB, free: 43.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 5.491e-06/1.081, allocations: 0 / 0.7925 GB, free: 43.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.0243/1.105, allocations: 12.3 MB / 0.8045 GB, free: 32.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000913/1.106, allocations: 1.609 MB / 0.8061 GB, free: 30.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/1.11, allocations: 3.841 MB / 0.8098 GB, free: 27.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/1.111, allocations: 41.7 kB / 0.8099 GB, free: 27.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.112, allocations: 3.06 MB / 0.8129 GB, free: 24.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000514/1.113, allocations: 0.6023 MB / 0.8134 GB, free: 23.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.113, allocations: 112 kB / 0.8136 GB, free: 23.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/1.113, allocations: 0.5498 MB / 0.8141 GB, free: 22.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.115, allocations: 2.006 MB / 0.8161 GB, free: 20.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/1.119, allocations: 5.654 MB / 0.8216 GB, free: 13.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006985/1.126, allocations: 8.262 MB / 0.8296 GB, free: 3.168 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.356e-05/1.126, allocations: 36 kB / 0.8297 GB, free: 3.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01908/1.145, allocations: 8.826 MB / 0.8383 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.855e-05/1.145, allocations: 60 kB / 0.8384 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009156/1.155, allocations: 3.288 MB / 0.8416 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/1.163, allocations: 1.887 MB / 0.8434 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/1.168, allocations: 1.329 MB / 0.8447 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007948/1.176, allocations: 5.755 MB / 0.8503 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.181, allocations: 387.3 kB / 0.8507 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.182, allocations: 366.6 kB / 0.851 GB, free: 12.95 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 () * Number of clocked 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.004134/1.186, allocations: 2.033 MB / 0.853 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/1.187, allocations: 327.7 kB / 0.8533 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/1.192, allocations: 2.925 MB / 0.8562 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004698/1.197, allocations: 2.472 MB / 0.8586 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.197, allocations: 3.984 kB / 0.8586 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/1.197, allocations: 7.984 kB / 0.8586 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.215, allocations: 8.526 MB / 0.8669 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.215, allocations: 7.938 kB / 0.867 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.216, allocations: 249.7 kB / 0.8672 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/1.219, allocations: 1.022 MB / 0.8682 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/1.219, allocations: 35.97 kB / 0.8682 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005597/1.225, allocations: 5.025 MB / 0.8731 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001011/1.226, allocations: 1.481 MB / 0.8746 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2476/1.474, allocations: 5.159 MB / 0.8796 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.475, allocations: 389.4 kB / 0.88 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/1.475, allocations: 30.72 kB / 0.88 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.477, allocations: 130.3 kB / 0.8801 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.477, allocations: 98.11 kB / 0.8802 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.477, allocations: 41.83 kB / 0.8803 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00371/1.481, allocations: 2.369 MB / 0.8826 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/1.481, allocations: 0 / 0.8826 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004669/1.485, allocations: 1.044 MB / 0.8836 GB, free: 133.5 MB / 0.5261 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 () * Number of clocked 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.0004675/1.486, allocations: 173.6 kB / 0.8838 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008267/1.494, allocations: 5.455 MB / 0.8891 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.494, allocations: 1.781 kB / 0.8891 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003438/1.498, allocations: 2.148 MB / 0.8912 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.501, allocations: 418 kB / 0.8916 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.516, allocations: 11.38 MB / 0.9027 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/1.52, allocations: 3.177 MB / 0.9058 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.522, allocations: 267.2 kB / 0.9061 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/1.522, allocations: 1.094 kB / 0.9061 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1155/1.637, allocations: 127.7 MB / 1.031 GB, free: 38.61 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches