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.002146/0.002146, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 92.42 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3181/0.3181, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.815e-05, allocations: 0 / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4043, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.607, allocations: 106.8 MB / 0.5702 GB, free: 8.531 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.6074, allocations: 75.47 kB / 0.5702 GB, free: 8.461 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6979/1.305, allocations: 82.5 MB / 0.6508 GB, free: 106.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.775e-06/1.305, allocations: 0 / 0.6508 GB, free: 106.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003056/1.306, allocations: 89.22 kB / 0.6509 GB, free: 106.1 MB / 475.1 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.02531/1.331, allocations: 4.344 MB / 0.6551 GB, free: 104.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.331, allocations: 13.16 kB / 0.6551 GB, free: 104.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/1.35, allocations: 2.279 MB / 0.6574 GB, free: 104.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/1.37, allocations: 4.81 MB / 0.6621 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/1.371, allocations: 145.9 kB / 0.6622 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002635/1.373, allocations: 261.9 kB / 0.6624 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01692/1.39, allocations: 6.281 MB / 0.6686 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/1.416, allocations: 9.667 MB / 0.678 GB, free: 100.5 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002987/1.417, allocations: 61.03 kB / 0.6781 GB, free: 100.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/1.419, allocations: 33.84 kB / 0.6781 GB, free: 100.5 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/1.421, allocations: 1.046 MB / 0.6791 GB, free: 100.3 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07077/1.492, allocations: 48.63 MB / 0.7266 GB, free: 63.15 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005019/1.497, allocations: 2.704 MB / 0.7293 GB, free: 61.64 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/1.501, allocations: 1.64 MB / 0.7309 GB, free: 60.95 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/1.503, allocations: 1.304 MB / 0.7321 GB, free: 59.78 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/1.503, allocations: 51.34 kB / 0.7322 GB, free: 59.72 MB / 475.1 MB Notification: Performance of pre-optimization done (n=164): time 6.142e-06/1.503, allocations: 0 / 0.7322 GB, free: 59.72 MB / 475.1 MB Notification: Performance of matching and sorting (n=171): time 0.03559/1.538, allocations: 10.61 MB / 0.7426 GB, free: 54.34 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/1.538, allocations: 145.8 kB / 0.7427 GB, free: 54.16 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006832/1.545, allocations: 3.031 MB / 0.7457 GB, free: 51.5 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004825/1.546, allocations: 29.7 kB / 0.7457 GB, free: 51.47 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002683/1.549, allocations: 3.224 MB / 0.7488 GB, free: 48.52 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.55, allocations: 0.6756 MB / 0.7495 GB, free: 47.92 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008064/1.551, allocations: 0 / 0.7495 GB, free: 47.92 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004879/1.551, allocations: 0.5714 MB / 0.75 GB, free: 47.41 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005132/1.556, allocations: 2.069 MB / 0.7521 GB, free: 45.56 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007843/1.564, allocations: 5.951 MB / 0.7579 GB, free: 37.98 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/1.572, allocations: 3.467 MB / 0.7613 GB, free: 35.02 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.572, allocations: 40 kB / 0.7613 GB, free: 34.98 MB / 475.1 MB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03256/1.605, allocations: 8.517 MB / 0.7696 GB, free: 27.9 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.605, allocations: 68.89 kB / 0.7697 GB, free: 27.83 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01733/1.622, allocations: 3.503 MB / 0.7731 GB, free: 25.17 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/1.639, allocations: 1.931 MB / 0.775 GB, free: 23.84 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008913/1.648, allocations: 1.47 MB / 0.7764 GB, free: 22.37 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.659, allocations: 5.589 MB / 0.7819 GB, free: 16.55 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007416/1.667, allocations: 299.3 kB / 0.7822 GB, free: 16.25 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.668, allocations: 396 kB / 0.7825 GB, free: 15.87 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 779 * 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.001157/1.67, allocations: 458.7 kB / 0.783 GB, free: 15.41 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008413/1.67, allocations: 319.9 kB / 0.7833 GB, free: 15.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009161/1.68, allocations: 3.166 MB / 0.7864 GB, free: 11.91 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007929/1.688, allocations: 2.632 MB / 0.789 GB, free: 9.254 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.688, allocations: 4 kB / 0.789 GB, free: 9.25 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-05/1.688, allocations: 11.92 kB / 0.789 GB, free: 9.238 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02598/1.714, allocations: 8.845 MB / 0.7976 GB, free: 332 kB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/1.714, allocations: 192 / 0.7976 GB, free: 332 kB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/1.717, allocations: 295.5 kB / 0.7979 GB, free: 36 kB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005815/1.723, allocations: 1.01 MB / 0.7989 GB, free: 15.01 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000522/1.723, allocations: 15.98 kB / 0.7989 GB, free: 15 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009881/1.733, allocations: 4.918 MB / 0.8037 GB, free: 9.863 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00153/1.735, allocations: 1.411 MB / 0.8051 GB, free: 8.328 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.751, allocations: 5.78 MB / 0.8107 GB, free: 2.438 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.752, allocations: 372.9 kB / 0.8111 GB, free: 2.051 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009741/1.753, allocations: 19.73 kB / 0.8111 GB, free: 2.035 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/1.757, allocations: 119.8 kB / 0.8112 GB, free: 1.918 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005288/1.757, allocations: 105.1 kB / 0.8113 GB, free: 1.816 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.757, allocations: 47.98 kB / 0.8113 GB, free: 1.77 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.005171/1.762, allocations: 2.005 MB / 0.8133 GB, free: 15.78 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.11e-07/1.763, allocations: 0 / 0.8133 GB, free: 15.78 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.008221/1.771, allocations: 0.9921 MB / 0.8143 GB, free: 14.79 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 ($STATESET6014312840.x[3],$STATESET6014312840.x[2],$STATESET6014312840.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 (135): * Single equations (assignments): 128 * 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.0008571/1.772, allocations: 162.9 kB / 0.8144 GB, free: 14.62 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01643/1.788, allocations: 5.578 MB / 0.8199 GB, free: 9.012 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.788, allocations: 0 / 0.8199 GB, free: 9.012 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.007742/1.796, allocations: 2.246 MB / 0.8221 GB, free: 6.699 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.799, allocations: 328.5 kB / 0.8224 GB, free: 6.379 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3748/2.174, allocations: 8.629 MB / 0.8308 GB, free: 120.6 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008679/2.183, allocations: 3.392 MB / 0.8341 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.185, allocations: 279.1 kB / 0.8344 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of SimCode: time 1.392e-06/2.185, allocations: 0 / 0.8344 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of Templates: time 0.229/2.414, allocations: 126.1 MB / 0.9576 GB, free: 44.85 MB / 0.4952 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