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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002077/0.002077, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3742, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01347/0.3877, allocations: 11.13 MB / 0.5418 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.3993, allocations: 4.086 MB / 0.5458 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.4026, allocations: 68.97 kB / 0.5459 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005798/0.4084, allocations: 2.802 MB / 0.5486 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.414, allocations: 1.793 MB / 0.5504 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.4159, allocations: 0.7018 MB / 0.5511 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005596/0.4215, allocations: 3.681 MB / 0.5547 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005134/0.4266, allocations: 3.804 MB / 0.5584 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.4293, allocations: 1.491 MB / 0.5598 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.4326, allocations: 1.986 MB / 0.5618 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.4337, allocations: 332 kB / 0.5621 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.4367, allocations: 1.182 MB / 0.5633 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00257/0.4393, allocations: 1.878 MB / 0.5651 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004175/0.4435, allocations: 2.148 MB / 0.5672 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00822/0.4517, allocations: 6.83 MB / 0.5739 GB, free: 5.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4517, allocations: 0 / 0.5739 GB, free: 5.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4518, allocations: 0 / 0.5739 GB, free: 5.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.4519, allocations: 0 / 0.5739 GB, free: 5.648 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.009379/0.4613, allocations: 4.557 MB / 0.5783 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4614, allocations: 8.031 kB / 0.5783 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/0.4683, allocations: 1.934 MB / 0.5802 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.4732, allocations: 2.158 MB / 0.5823 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.4734, allocations: 242.6 kB / 0.5825 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.4745, allocations: 399.6 kB / 0.5829 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.4933, allocations: 9.748 MB / 0.5924 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.4934, allocations: 35.69 kB / 0.5925 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/0.4938, allocations: 155.8 kB / 0.5926 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.4964, allocations: 1.767 MB / 0.5943 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.5126, allocations: 8.074 MB / 0.6022 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.5633, allocations: 38.2 MB / 0.6395 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009582/0.5729, allocations: 3.721 MB / 0.6432 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.5752, allocations: 1.625 MB / 0.6448 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.5872, allocations: 7.919 MB / 0.6525 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.5873, allocations: 47.5 kB / 0.6525 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.068e-06/0.5873, allocations: 0 / 0.6525 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.02963/0.6169, allocations: 12.34 MB / 0.6646 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001422/0.6184, allocations: 1.712 MB / 0.6663 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/0.6236, allocations: 3.788 MB / 0.67 GB, free: 288 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.6239, allocations: 45.7 kB / 0.67 GB, free: 236 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.6262, allocations: 3.015 MB / 0.6729 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008992/0.6271, allocations: 0.598 MB / 0.6735 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.6287, allocations: 1.166 MB / 0.6747 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6288, allocations: 313.1 kB / 0.675 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.6318, allocations: 2.037 MB / 0.677 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005908/0.6377, allocations: 5.658 MB / 0.6825 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.6496, allocations: 8.261 MB / 0.6905 GB, free: 7.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/0.6498, allocations: 36 kB / 0.6906 GB, free: 7.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02321/0.673, allocations: 9.216 MB / 0.6996 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.6732, allocations: 60 kB / 0.6996 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01176/0.685, allocations: 3.67 MB / 0.7032 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.6957, allocations: 2.312 MB / 0.7055 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/0.7008, allocations: 1.322 MB / 0.7068 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.7122, allocations: 7.51 MB / 0.7141 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/0.717, allocations: 399.3 kB / 0.7145 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/0.7182, allocations: 360 kB / 0.7148 GB, free: 14.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.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 (713): * Single equations (assignments): 704 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004282/0.7225, allocations: 1.998 MB / 0.7168 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008333/0.7233, allocations: 323.8 kB / 0.7171 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.7246, allocations: 432.2 kB / 0.7175 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005071/0.7297, allocations: 2.504 MB / 0.7199 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.7297, allocations: 4 kB / 0.72 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.7298, allocations: 7.969 kB / 0.72 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/0.7475, allocations: 8.451 MB / 0.7282 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/0.7475, allocations: 7.984 kB / 0.7282 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.7489, allocations: 251.5 kB / 0.7285 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3216/1.071, allocations: 1.03 MB / 0.7295 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.071, allocations: 38.45 kB / 0.7295 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/1.077, allocations: 5.339 MB / 0.7347 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009307/1.078, allocations: 1.565 MB / 0.7362 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00943/1.087, allocations: 5.201 MB / 0.7413 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.089, allocations: 382.7 kB / 0.7417 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/1.089, allocations: 30.84 kB / 0.7417 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.09, allocations: 135.9 kB / 0.7418 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/1.091, allocations: 97.44 kB / 0.7419 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.091, allocations: 41.75 kB / 0.742 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003683/1.094, allocations: 2.353 MB / 0.7443 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/1.094, allocations: 0 / 0.7443 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00505/1.099, allocations: 1.026 MB / 0.7453 GB, free: 169.4 MB / 0.5762 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000426/1.1, allocations: 160.4 kB / 0.7454 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008133/1.108, allocations: 5.563 MB / 0.7509 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.108, allocations: 0 / 0.7509 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/1.112, allocations: 2.156 MB / 0.753 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.114, allocations: 440.7 kB / 0.7534 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.128, allocations: 9.081 MB / 0.7623 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/1.131, allocations: 3.128 MB / 0.7653 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003219/1.134, allocations: 1.798 MB / 0.7671 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005012/1.134, allocations: 227.4 kB / 0.7673 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.134, allocations: 0 / 0.7673 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04992/1.184, allocations: 34.76 MB / 0.8012 GB, free: 119.6 MB / 0.5762 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches