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.001585/0.001585, allocations: 113.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 79.81 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3605, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01965/0.3802, allocations: 11.13 MB / 0.5419 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3919, allocations: 4.086 MB / 0.5458 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.3947, allocations: 66.84 kB / 0.5459 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00736/0.4021, allocations: 2.806 MB / 0.5486 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.4093, allocations: 1.747 MB / 0.5504 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.4118, allocations: 0.6941 MB / 0.551 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007138/0.419, allocations: 3.676 MB / 0.5546 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004675/0.4237, allocations: 3.808 MB / 0.5583 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.4264, allocations: 1.495 MB / 0.5598 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.4293, allocations: 1.982 MB / 0.5617 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008412/0.4302, allocations: 332 kB / 0.562 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.4325, allocations: 1.182 MB / 0.5632 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.4343, allocations: 1.878 MB / 0.565 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.4366, allocations: 2.152 MB / 0.5671 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0075/0.4441, allocations: 6.826 MB / 0.5738 GB, free: 5.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.4441, allocations: 3.938 kB / 0.5738 GB, free: 5.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4441, allocations: 0 / 0.5738 GB, free: 5.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.4443, allocations: 0 / 0.5738 GB, free: 5.68 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.01068/0.455, allocations: 4.561 MB / 0.5783 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4551, allocations: 8.031 kB / 0.5783 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006879/0.462, allocations: 1.933 MB / 0.5802 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/0.4677, allocations: 2.154 MB / 0.5823 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.4679, allocations: 242.6 kB / 0.5825 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.4689, allocations: 407.6 kB / 0.5829 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.4866, allocations: 9.736 MB / 0.5924 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.606e-05/0.4867, allocations: 43.69 kB / 0.5924 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.4871, allocations: 155.8 kB / 0.5926 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002586/0.4897, allocations: 1.767 MB / 0.5943 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.5049, allocations: 8.07 MB / 0.6022 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04985/0.5547, allocations: 38.2 MB / 0.6395 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009437/0.5642, allocations: 3.721 MB / 0.6431 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.5664, allocations: 1.619 MB / 0.6447 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/0.5782, allocations: 7.923 MB / 0.6524 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.5782, allocations: 47.5 kB / 0.6525 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 5.229e-06/0.5783, allocations: 0 / 0.6525 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03793/0.6162, allocations: 12.34 MB / 0.6645 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002156/0.6184, allocations: 1.712 MB / 0.6662 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009445/0.6279, allocations: 3.792 MB / 0.6699 GB, free: 316 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006726/0.6286, allocations: 41.7 kB / 0.67 GB, free: 268 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003823/0.6325, allocations: 3.015 MB / 0.6729 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/0.634, allocations: 0.5941 MB / 0.6735 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002893/0.6369, allocations: 1.17 MB / 0.6746 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6371, allocations: 309.1 kB / 0.6749 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005529/0.6426, allocations: 2.041 MB / 0.6769 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009488/0.6521, allocations: 5.662 MB / 0.6824 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/0.6689, allocations: 8.259 MB / 0.6905 GB, free: 7.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/0.6691, allocations: 36 kB / 0.6905 GB, free: 7.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.04163/0.7108, allocations: 9.216 MB / 0.6995 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.711, allocations: 63.98 kB / 0.6996 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01865/0.7296, allocations: 3.658 MB / 0.7032 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/0.7469, allocations: 2.312 MB / 0.7054 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.7516, allocations: 1.326 MB / 0.7067 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.7622, allocations: 7.51 MB / 0.7141 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005644/0.7678, allocations: 403.3 kB / 0.7144 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/0.769, allocations: 356 kB / 0.7148 GB, free: 14.33 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.004016/0.7731, allocations: 2.006 MB / 0.7167 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/0.7738, allocations: 319.8 kB / 0.717 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008679/0.7747, allocations: 436.2 kB / 0.7175 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004886/0.7796, allocations: 2.5 MB / 0.7199 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.7796, allocations: 4 kB / 0.7199 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.7796, allocations: 11.91 kB / 0.7199 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.7956, allocations: 8.451 MB / 0.7282 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.7956, allocations: 4 kB / 0.7282 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.7968, allocations: 247.7 kB / 0.7284 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2903/1.087, allocations: 1.027 MB / 0.7294 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003859/1.088, allocations: 37.31 kB / 0.7295 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/1.093, allocations: 5.336 MB / 0.7347 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008086/1.094, allocations: 1.573 MB / 0.7362 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009127/1.103, allocations: 5.208 MB / 0.7413 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.104, allocations: 378.7 kB / 0.7416 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/1.105, allocations: 33.44 kB / 0.7417 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.106, allocations: 134.8 kB / 0.7418 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/1.107, allocations: 95.41 kB / 0.7419 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.107, allocations: 46.02 kB / 0.7419 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004471/1.111, allocations: 2.351 MB / 0.7442 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.71e-07/1.111, allocations: 0 / 0.7442 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004882/1.116, allocations: 1.028 MB / 0.7452 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.0004398/1.117, allocations: 162.9 kB / 0.7454 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008466/1.125, allocations: 5.552 MB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.125, allocations: 4 kB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.129, allocations: 2.162 MB / 0.7529 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.002418/1.131, allocations: 439.5 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.01114/1.142, allocations: 9.074 MB / 0.7622 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/1.145, allocations: 3.122 MB / 0.7653 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003085/1.148, allocations: 1.802 MB / 0.767 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/1.148, allocations: 227.4 kB / 0.7672 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.148, allocations: 0 / 0.7672 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05551/1.204, allocations: 34.69 MB / 0.8011 GB, free: 119.8 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