Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 84.47 kB / 270.9 MB, free: 8.402 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5087/0.5087, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006316/0.0006317, allocations: 8 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1272, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/0.6234, allocations: 107.5 MB / 0.5837 GB, free: 11.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.6237, allocations: 79.95 kB / 0.5838 GB, free: 10.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3569/0.9806, allocations: 84.41 MB / 0.6662 GB, free: 6.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.9807, allocations: 0 / 0.6662 GB, free: 6.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002793/0.981, allocations: 87.98 kB / 0.6663 GB, free: 5.98 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02491/1.006, allocations: 4.568 MB / 0.6708 GB, free: 1.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.006, allocations: 8.031 kB / 0.6708 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3633/1.369, allocations: 2.271 MB / 0.673 GB, free: 89.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/1.39, allocations: 4.842 MB / 0.6777 GB, free: 89.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/1.391, allocations: 343.7 kB / 0.678 GB, free: 89.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/1.393, allocations: 460.2 kB / 0.6785 GB, free: 89.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03248/1.426, allocations: 10.87 MB / 0.6891 GB, free: 86.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003174/1.426, allocations: 61.36 kB / 0.6892 GB, free: 86.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/1.428, allocations: 220.6 kB / 0.6894 GB, free: 86.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/1.431, allocations: 1.048 MB / 0.6904 GB, free: 86.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/1.457, allocations: 8.717 MB / 0.6989 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07846/1.535, allocations: 50.01 MB / 0.7477 GB, free: 51.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/1.552, allocations: 3.825 MB / 0.7515 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/1.571, allocations: 8.336 MB / 0.7596 GB, free: 45.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.572, allocations: 57.94 kB / 0.7597 GB, free: 45.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 6.032e-06/1.572, allocations: 0 / 0.7597 GB, free: 45.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.0537/1.625, allocations: 13.31 MB / 0.7727 GB, free: 40.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00147/1.627, allocations: 1.631 MB / 0.7743 GB, free: 38.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008781/1.636, allocations: 3.565 MB / 0.7777 GB, free: 37.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004648/1.636, allocations: 48.05 kB / 0.7778 GB, free: 37.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002614/1.639, allocations: 3.143 MB / 0.7809 GB, free: 34.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.64, allocations: 0.6454 MB / 0.7815 GB, free: 34.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009812/1.641, allocations: 117.8 kB / 0.7816 GB, free: 34.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005416/1.642, allocations: 0.5645 MB / 0.7821 GB, free: 33.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005805/1.647, allocations: 2.163 MB / 0.7843 GB, free: 32.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008335/1.656, allocations: 5.905 MB / 0.79 GB, free: 27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008265/1.664, allocations: 3.491 MB / 0.7934 GB, free: 25.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/1.664, allocations: 36.09 kB / 0.7935 GB, free: 25.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.0335/1.698, allocations: 9.201 MB / 0.8025 GB, free: 22.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.698, allocations: 59.19 kB / 0.8025 GB, free: 22.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01846/1.716, allocations: 3.606 MB / 0.806 GB, free: 21.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/1.734, allocations: 1.944 MB / 0.8079 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008319/1.742, allocations: 1.403 MB / 0.8093 GB, free: 20.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.756, allocations: 5.987 MB / 0.8151 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/1.763, allocations: 428.5 kB / 0.8156 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/1.765, allocations: 375 kB / 0.8159 GB, free: 14.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (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 (752): * Single equations (assignments): 743 * 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.005841/1.771, allocations: 2.117 MB / 0.818 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009658/1.772, allocations: 335.6 kB / 0.8183 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.782, allocations: 3.157 MB / 0.8214 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008952/1.791, allocations: 2.682 MB / 0.824 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/1.791, allocations: 4 kB / 0.824 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/1.791, allocations: 6.984 kB / 0.824 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02812/1.819, allocations: 9.169 MB / 0.833 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.819, allocations: 4.094 kB / 0.833 GB, free: 272 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/1.822, allocations: 273.3 kB / 0.8332 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006156/1.828, allocations: 1.041 MB / 0.8342 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004761/1.829, allocations: 38.23 kB / 0.8343 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.839, allocations: 5.108 MB / 0.8393 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001613/1.841, allocations: 1.491 MB / 0.8407 GB, free: 9.082 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.857, allocations: 5.706 MB / 0.8463 GB, free: 4.121 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.858, allocations: 410.5 kB / 0.8467 GB, free: 3.715 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.859, allocations: 39.47 kB / 0.8467 GB, free: 3.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.863, allocations: 148.6 kB / 0.8469 GB, free: 3.594 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005797/1.863, allocations: 98.67 kB / 0.847 GB, free: 3.535 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.864, allocations: 39.52 kB / 0.847 GB, free: 3.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006968/1.87, allocations: 2.47 MB / 0.8494 GB, free: 1.227 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.001e-06/1.871, allocations: 0 / 0.8494 GB, free: 1.227 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007768/1.878, allocations: 1.092 MB / 0.8505 GB, free: 144 kB / 0.4949 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 (126): * Single equations (assignments): 119 * 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.0008285/1.879, allocations: 176.8 kB / 0.8507 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01744/1.897, allocations: 5.793 MB / 0.8563 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/1.897, allocations: 0 / 0.8563 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007997/1.905, allocations: 2.271 MB / 0.8585 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/1.908, allocations: 405.7 kB / 0.8589 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3781/2.287, allocations: 12.02 MB / 0.8707 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008849/2.295, allocations: 3.387 MB / 0.874 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/2.297, allocations: 286.8 kB / 0.8742 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/2.297, allocations: 0 / 0.8742 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.2318/2.529, allocations: 128.1 MB / 0.9993 GB, free: 48.81 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches