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.001565/0.001565, allocations: 112.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 207.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 76.2 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4135, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01387/0.4274, allocations: 11.13 MB / 0.5425 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.4374, allocations: 4.097 MB / 0.5465 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.4404, allocations: 66.28 kB / 0.5466 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005869/0.4463, allocations: 2.795 MB / 0.5493 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.4521, allocations: 1.755 MB / 0.551 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.454, allocations: 0.6941 MB / 0.5517 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00587/0.4599, allocations: 3.68 MB / 0.5553 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00527/0.4652, allocations: 3.8 MB / 0.559 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.4681, allocations: 1.487 MB / 0.5605 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.4715, allocations: 1.99 MB / 0.5624 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.4727, allocations: 332 kB / 0.5627 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.4757, allocations: 1.174 MB / 0.5639 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002513/0.4783, allocations: 1.882 MB / 0.5657 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.482, allocations: 2.152 MB / 0.5678 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007911/0.49, allocations: 6.822 MB / 0.5745 GB, free: 5.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.49, allocations: 0 / 0.5745 GB, free: 5.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.49, allocations: 0 / 0.5745 GB, free: 5.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001929/0.4902, allocations: 3.938 kB / 0.5745 GB, free: 5.719 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.009296/0.4995, allocations: 4.561 MB / 0.5789 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4996, allocations: 8.031 kB / 0.5789 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006745/0.5063, allocations: 1.937 MB / 0.5808 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/0.5109, allocations: 2.15 MB / 0.5829 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.5111, allocations: 246.6 kB / 0.5832 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009859/0.5121, allocations: 407.6 kB / 0.5835 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.5296, allocations: 9.744 MB / 0.5931 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.5298, allocations: 35.69 kB / 0.5931 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/0.5301, allocations: 155.8 kB / 0.5932 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/0.5327, allocations: 1.771 MB / 0.595 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.5498, allocations: 8.078 MB / 0.6029 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04868/0.5985, allocations: 38.2 MB / 0.6402 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009652/0.6082, allocations: 3.705 MB / 0.6438 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.6105, allocations: 1.623 MB / 0.6454 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.6212, allocations: 7.923 MB / 0.6531 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6213, allocations: 47.5 kB / 0.6531 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 6.662e-06/0.6213, allocations: 3.984 kB / 0.6532 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03311/0.6544, allocations: 12.35 MB / 0.6652 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00146/0.6559, allocations: 1.712 MB / 0.6669 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005516/0.6614, allocations: 3.792 MB / 0.6706 GB, free: 348 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004117/0.6618, allocations: 49.69 kB / 0.6706 GB, free: 292 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002403/0.6643, allocations: 3.004 MB / 0.6736 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009751/0.6652, allocations: 0.598 MB / 0.6741 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.6668, allocations: 1.166 MB / 0.6753 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6669, allocations: 305.1 kB / 0.6756 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002979/0.6699, allocations: 2.041 MB / 0.6776 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.6756, allocations: 5.662 MB / 0.6831 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/0.6874, allocations: 8.262 MB / 0.6912 GB, free: 7.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.6875, allocations: 36 kB / 0.6912 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02323/0.7108, allocations: 9.216 MB / 0.7002 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.711, allocations: 60 kB / 0.7003 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01148/0.7225, allocations: 3.67 MB / 0.7038 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/0.7334, allocations: 2.304 MB / 0.7061 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/0.7379, allocations: 1.322 MB / 0.7074 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.7489, allocations: 7.517 MB / 0.7147 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005343/0.7543, allocations: 399.3 kB / 0.7151 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/0.7556, allocations: 356 kB / 0.7154 GB, free: 14.36 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.004992/0.7606, allocations: 2.006 MB / 0.7174 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.7617, allocations: 319.8 kB / 0.7177 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.7631, allocations: 436.2 kB / 0.7181 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00537/0.7685, allocations: 2.508 MB / 0.7206 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.7685, allocations: 4 kB / 0.7206 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.7685, allocations: 3.984 kB / 0.7206 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.7868, allocations: 8.451 MB / 0.7288 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.7868, allocations: 4 kB / 0.7288 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.7882, allocations: 243.7 kB / 0.7291 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3262/1.114, allocations: 1.035 MB / 0.7301 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002858/1.115, allocations: 37.97 kB / 0.7301 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/1.12, allocations: 5.34 MB / 0.7353 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000742/1.121, allocations: 1.562 MB / 0.7369 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007429/1.128, allocations: 5.208 MB / 0.7419 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/1.129, allocations: 383.5 kB / 0.7423 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/1.129, allocations: 29.45 kB / 0.7423 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.131, allocations: 140.2 kB / 0.7425 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.131, allocations: 99.52 kB / 0.7426 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.131, allocations: 45.5 kB / 0.7426 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003089/1.134, allocations: 2.356 MB / 0.7449 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.134, allocations: 0 / 0.7449 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003929/1.138, allocations: 1.018 MB / 0.7459 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.0003553/1.139, allocations: 165.2 kB / 0.7461 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007784/1.146, allocations: 5.557 MB / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.147, allocations: 0 / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003624/1.15, allocations: 2.16 MB / 0.7536 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.002669/1.153, allocations: 427.5 kB / 0.754 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.165, allocations: 9.545 MB / 0.7633 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/1.167, allocations: 3.128 MB / 0.7664 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008824/1.168, allocations: 263.4 kB / 0.7666 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/1.168, allocations: 0 / 0.7666 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.108/1.276, allocations: 127.2 MB / 0.8909 GB, free: 28.31 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/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