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.001122/0.001122, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 81.12 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1409, allocations: 62.44 MB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01279/0.1538, allocations: 11.12 MB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008675/0.1625, allocations: 4.093 MB / 495.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.1644, allocations: 67.81 kB / 495.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005171/0.1696, allocations: 2.803 MB / 498.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.1743, allocations: 1.754 MB / 499.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.176, allocations: 0.6941 MB / 0.4888 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.181, allocations: 3.67 MB / 0.4924 GB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004315/0.1853, allocations: 3.8 MB / 0.4961 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.1879, allocations: 1.507 MB / 0.4976 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.1909, allocations: 1.978 MB / 0.4995 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008151/0.1917, allocations: 332 kB / 0.4998 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.1941, allocations: 1.182 MB / 0.501 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001777/0.1959, allocations: 1.847 MB / 0.5028 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.1985, allocations: 2.144 MB / 0.5049 GB, free: 124 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2566/0.4552, allocations: 6.592 MB / 0.5113 GB, free: 18.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4552, allocations: 3.25 kB / 0.5113 GB, free: 18.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4552, allocations: 0 / 0.5113 GB, free: 18.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002797/0.4555, allocations: 0 / 0.5113 GB, free: 18.23 MB / 382.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.01408/0.4696, allocations: 4.562 MB / 0.5158 GB, free: 16.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.4697, allocations: 9.062 kB / 0.5158 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00772/0.4774, allocations: 1.937 MB / 0.5177 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006327/0.4838, allocations: 2.112 MB / 0.5197 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.4841, allocations: 245.6 kB / 0.52 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.4861, allocations: 409.2 kB / 0.5204 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.5074, allocations: 9.744 MB / 0.5299 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.5076, allocations: 39.16 kB / 0.5299 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005113/0.5082, allocations: 157.1 kB / 0.5301 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002301/0.5105, allocations: 1.766 MB / 0.5318 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.5259, allocations: 8.08 MB / 0.5397 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05257/0.5785, allocations: 38.37 MB / 0.5772 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/0.5884, allocations: 3.718 MB / 0.5808 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.5909, allocations: 1.633 MB / 0.5824 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.6036, allocations: 7.909 MB / 0.5901 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.172e-05/0.6037, allocations: 58.83 kB / 0.5902 GB, free: 3.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 5.781e-06/0.6037, allocations: 0 / 0.5902 GB, free: 3.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03109/0.6348, allocations: 12.33 MB / 0.6022 GB, free: 7.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001495/0.6363, allocations: 1.71 MB / 0.6039 GB, free: 5.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006082/0.6424, allocations: 3.797 MB / 0.6076 GB, free: 1.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005041/0.643, allocations: 41.7 kB / 0.6076 GB, free: 1.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/0.6453, allocations: 2.999 MB / 0.6105 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009301/0.6462, allocations: 0.6067 MB / 0.6111 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/0.6478, allocations: 1.168 MB / 0.6123 GB, free: 12.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.648, allocations: 301.1 kB / 0.6126 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/0.651, allocations: 2.044 MB / 0.6146 GB, free: 10.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/0.6567, allocations: 5.655 MB / 0.6201 GB, free: 2.887 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009509/0.6662, allocations: 8.266 MB / 0.6282 GB, free: 9.355 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.612e-05/0.6663, allocations: 39.94 kB / 0.6282 GB, free: 9.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.0216/0.6879, allocations: 9.214 MB / 0.6372 GB, free: 336 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/0.688, allocations: 63.94 kB / 0.6372 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01128/0.6993, allocations: 3.663 MB / 0.6408 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.71, allocations: 2.32 MB / 0.6431 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/0.7146, allocations: 1.322 MB / 0.6444 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.7251, allocations: 7.499 MB / 0.6517 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/0.7301, allocations: 405.7 kB / 0.6521 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006976/0.7309, allocations: 360 kB / 0.6524 GB, free: 408 kB / 494.1 MB 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.003768/0.7346, allocations: 1.997 MB / 0.6544 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/0.7354, allocations: 331.7 kB / 0.6547 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.7361, allocations: 436.2 kB / 0.6551 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004614/0.7408, allocations: 2.507 MB / 0.6576 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7408, allocations: 0 / 0.6576 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.7408, allocations: 11.97 kB / 0.6576 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.7547, allocations: 8.457 MB / 0.6658 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.7547, allocations: 0 / 0.6658 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7559, allocations: 247.6 kB / 0.6661 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.7588, allocations: 1.041 MB / 0.6671 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.759, allocations: 31.98 kB / 0.6671 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.7648, allocations: 5.338 MB / 0.6723 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001099/0.766, allocations: 1.584 MB / 0.6739 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008589/0.7746, allocations: 5.211 MB / 0.679 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.7757, allocations: 383.4 kB / 0.6793 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.7761, allocations: 32 kB / 0.6794 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.7775, allocations: 135.8 kB / 0.6795 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.7778, allocations: 88.8 kB / 0.6796 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.7779, allocations: 51.91 kB / 0.6796 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004777/0.7827, allocations: 2.348 MB / 0.6819 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7827, allocations: 0 / 0.6819 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007137/0.7899, allocations: 1.023 MB / 0.6829 GB, free: 0.5938 MB / 0.5137 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.0004589/0.7904, allocations: 155 kB / 0.6831 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01147/0.8019, allocations: 6.118 MB / 0.689 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8019, allocations: 4.188 kB / 0.689 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/0.8061, allocations: 2.162 MB / 0.6912 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.8088, allocations: 438.3 kB / 0.6916 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.8244, allocations: 9.196 MB / 0.7006 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/0.8277, allocations: 3.121 MB / 0.7036 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004217/0.8319, allocations: 1.802 MB / 0.7054 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005932/0.8326, allocations: 227.4 kB / 0.7056 GB, free: 9.195 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/0.8326, allocations: 0 / 0.7056 GB, free: 9.195 MB / 0.545 GB Notification: Performance of Templates: time 0.2892/1.122, allocations: 37.9 MB / 0.7426 GB, free: 185 MB / 0.545 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