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.001566/0.001565, allocations: 112.8 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 71.81 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.322, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01252/0.3345, allocations: 11.12 MB / 0.5425 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008615/0.3432, allocations: 4.086 MB / 0.5465 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.345, allocations: 66.06 kB / 0.5466 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005192/0.3503, allocations: 2.805 MB / 0.5493 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.3549, allocations: 1.754 MB / 0.551 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.3566, allocations: 0.6941 MB / 0.5517 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005778/0.3624, allocations: 3.677 MB / 0.5553 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.3667, allocations: 3.8 MB / 0.559 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.3695, allocations: 1.499 MB / 0.5605 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.3728, allocations: 1.986 MB / 0.5624 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007773/0.3736, allocations: 328 kB / 0.5627 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.3761, allocations: 1.182 MB / 0.5639 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.378, allocations: 1.882 MB / 0.5657 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.3803, allocations: 2.148 MB / 0.5678 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.3879, allocations: 6.826 MB / 0.5745 GB, free: 5.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3879, allocations: 0 / 0.5745 GB, free: 5.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3879, allocations: 0 / 0.5745 GB, free: 5.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.3881, allocations: 3.938 kB / 0.5745 GB, free: 5.727 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.008522/0.3966, allocations: 4.553 MB / 0.5789 GB, free: 1.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3967, allocations: 8.031 kB / 0.5789 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006606/0.4033, allocations: 1.937 MB / 0.5808 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.4076, allocations: 2.158 MB / 0.5829 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.4078, allocations: 238.6 kB / 0.5832 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009787/0.4088, allocations: 411.6 kB / 0.5835 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.4242, allocations: 9.736 MB / 0.5931 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.301e-05/0.4243, allocations: 35.69 kB / 0.5931 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.4247, allocations: 159.8 kB / 0.5932 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002393/0.4271, allocations: 1.767 MB / 0.595 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.4426, allocations: 8.078 MB / 0.6029 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04999/0.4926, allocations: 38.2 MB / 0.6402 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009577/0.5022, allocations: 3.715 MB / 0.6438 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.5044, allocations: 1.623 MB / 0.6454 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.5158, allocations: 7.919 MB / 0.6531 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.5159, allocations: 47.5 kB / 0.6532 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.398e-06/0.5159, allocations: 0 / 0.6532 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142): time 0.02961/0.5455, allocations: 11.95 MB / 0.6648 GB, free: 6.426 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.5457, allocations: 145.5 kB / 0.665 GB, free: 6.254 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007698/0.5534, allocations: 3.788 MB / 0.6687 GB, free: 2.477 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.5537, allocations: 45.7 kB / 0.6687 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/0.5561, allocations: 3.004 MB / 0.6716 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007735/0.5569, allocations: 0.5826 MB / 0.6722 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/0.5591, allocations: 1.15 MB / 0.6733 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5592, allocations: 301.1 kB / 0.6736 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003189/0.5624, allocations: 1.94 MB / 0.6755 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/0.5678, allocations: 5.548 MB / 0.6809 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/0.5768, allocations: 8.097 MB / 0.6888 GB, free: 10.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/0.5769, allocations: 36 kB / 0.6889 GB, free: 10.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.02031/0.5972, allocations: 9.006 MB / 0.6977 GB, free: 1.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.5974, allocations: 60 kB / 0.6977 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01055/0.608, allocations: 3.436 MB / 0.7011 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.618, allocations: 2.308 MB / 0.7033 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/0.6224, allocations: 1.318 MB / 0.7046 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.6325, allocations: 7.519 MB / 0.712 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/0.6365, allocations: 343.3 kB / 0.7123 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008773/0.6374, allocations: 348 kB / 0.7126 GB, free: 1.422 MB / 0.5606 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 (708): * Single equations (assignments): 701 * 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 prepare postOptimizeDAE: time 0.003397/0.6408, allocations: 2.002 MB / 0.7146 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/0.6415, allocations: 315.9 kB / 0.7149 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.6426, allocations: 432.1 kB / 0.7153 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.6426, allocations: 15.91 kB / 0.7153 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6426, allocations: 0 / 0.7153 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.6433, allocations: 380.8 kB / 0.7157 GB, free: 14.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/0.6439, allocations: 35.98 kB / 0.7157 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.6453, allocations: 99.84 kB / 0.7158 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.6456, allocations: 80.88 kB / 0.7159 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006213/0.6518, allocations: 3.346 MB / 0.7192 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005046/0.6569, allocations: 4.085 MB / 0.7231 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001327/0.6582, allocations: 1.082 MB / 0.7242 GB, free: 5.492 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003849/0.6621, allocations: 2.348 MB / 0.7265 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of Backend: time 3.21e-07/0.6621, allocations: 0 / 0.7265 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2527/0.9148, allocations: 4.629 MB / 0.731 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of SimCode: time 0.01468/0.9295, allocations: 8.906 MB / 0.7397 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.06317/0.9927, allocations: 44.23 MB / 0.7829 GB, free: 141.7 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches