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.001297/0.001297, allocations: 175.9 kB / 17.41 MB, free: 4.285 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.421/1.421, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007713/0.0007715, allocations: 97.47 kB / 271.9 MB, free: 8.234 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.3328/0.3328, allocations: 43.56 MB / 363.8 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003812, allocations: 15.94 kB / 432.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 58.84 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/0.4362, allocations: 107.6 MB / 0.585 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.4366, allocations: 79.97 kB / 0.5851 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2062/0.6428, allocations: 83.48 MB / 0.6666 GB, free: 6.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6429, allocations: 0 / 0.6666 GB, free: 6.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.6431, allocations: 88 kB / 0.6667 GB, free: 6.594 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.0157/0.6588, allocations: 4.514 MB / 0.6711 GB, free: 2.004 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.6589, allocations: 8.031 kB / 0.6711 GB, free: 1.996 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2205/0.8794, allocations: 2.234 MB / 0.6733 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009919/0.8894, allocations: 3.766 MB / 0.677 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005757/0.89, allocations: 342.6 kB / 0.6773 GB, free: 90.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002975/0.893, allocations: 454.9 kB / 0.6778 GB, free: 90.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.9118, allocations: 10.79 MB / 0.6883 GB, free: 87.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.912, allocations: 66.98 kB / 0.6884 GB, free: 87.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006001/0.9126, allocations: 221.8 kB / 0.6886 GB, free: 87.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.9138, allocations: 1.04 MB / 0.6896 GB, free: 87.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.9289, allocations: 8.614 MB / 0.698 GB, free: 87.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04735/0.9763, allocations: 49.96 MB / 0.7468 GB, free: 52.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00882/0.9852, allocations: 3.812 MB / 0.7505 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.9875, allocations: 1.76 MB / 0.7522 GB, free: 50.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.9981, allocations: 8.276 MB / 0.7603 GB, free: 45.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.9982, allocations: 47.58 kB / 0.7604 GB, free: 45.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 4.91e-06/0.9982, allocations: 3.938 kB / 0.7604 GB, free: 45.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.0277/1.026, allocations: 13.05 MB / 0.7731 GB, free: 40.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009262/1.027, allocations: 1.621 MB / 0.7747 GB, free: 38.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/1.032, allocations: 3.991 MB / 0.7786 GB, free: 37.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/1.032, allocations: 47.39 kB / 0.7786 GB, free: 37.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.034, allocations: 3.2 MB / 0.7818 GB, free: 34.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007003/1.035, allocations: 0.6514 MB / 0.7824 GB, free: 34.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.035, allocations: 117.6 kB / 0.7825 GB, free: 34.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/1.035, allocations: 0.5593 MB / 0.7831 GB, free: 33.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.038, allocations: 2.171 MB / 0.7852 GB, free: 33.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003942/1.042, allocations: 5.922 MB / 0.791 GB, free: 27.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007556/1.049, allocations: 8.705 MB / 0.7995 GB, free: 19.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.05, allocations: 37.16 kB / 0.7995 GB, free: 19.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.0199/1.069, allocations: 9.292 MB / 0.8086 GB, free: 16.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/1.07, allocations: 68.72 kB / 0.8086 GB, free: 16.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009046/1.079, allocations: 3.6 MB / 0.8121 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008475/1.087, allocations: 1.924 MB / 0.814 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004871/1.092, allocations: 1.403 MB / 0.8154 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/1.099, allocations: 5.792 MB / 0.8211 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/1.104, allocations: 417 kB / 0.8215 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.106, allocations: 371 kB / 0.8218 GB, free: 8.094 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.005508/1.111, allocations: 2.124 MB / 0.8239 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.112, allocations: 343.5 kB / 0.8242 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/1.119, allocations: 3.165 MB / 0.8273 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004275/1.123, allocations: 2.676 MB / 0.8299 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/1.123, allocations: 4 kB / 0.8299 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.123, allocations: 3.797 kB / 0.8299 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.142, allocations: 9.176 MB / 0.8389 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.142, allocations: 0 / 0.8389 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.143, allocations: 269.8 kB / 0.8391 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/1.146, allocations: 1.033 MB / 0.8401 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.146, allocations: 39.36 kB / 0.8402 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005544/1.152, allocations: 5.018 MB / 0.8451 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000965/1.153, allocations: 1.477 MB / 0.8465 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008454/1.161, allocations: 5.546 MB / 0.8519 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.162, allocations: 411.8 kB / 0.8523 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/1.163, allocations: 35.94 kB / 0.8524 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.164, allocations: 147.6 kB / 0.8525 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/1.165, allocations: 98.53 kB / 0.8526 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.165, allocations: 43.75 kB / 0.8526 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003983/1.169, allocations: 2.465 MB / 0.8551 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/1.169, allocations: 3.844 kB / 0.8551 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00512/1.174, allocations: 1.095 MB / 0.8561 GB, free: 10.28 MB / 0.5105 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.0004139/1.174, allocations: 172.2 kB / 0.8563 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00981/1.184, allocations: 5.804 MB / 0.862 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.184, allocations: 0 / 0.862 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00413/1.188, allocations: 2.265 MB / 0.8642 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/1.192, allocations: 429.1 kB / 0.8646 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2269/1.419, allocations: 12.07 MB / 0.8764 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003418/1.422, allocations: 3.298 MB / 0.8796 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.423, allocations: 285 kB / 0.8799 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/1.423, allocations: 1.344 kB / 0.8799 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.1378/1.561, allocations: 134.6 MB / 1.011 GB, free: 39.15 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