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.001146/0.001151, allocations: 95.09 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 203 kB / 18.93 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002893, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 63.56 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2811/0.3972, allocations: 44.58 MB / 0.5159 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02248/0.4198, allocations: 9.772 MB / 0.5255 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009641/0.4295, allocations: 196.7 kB / 0.5256 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.4313, allocations: 414.9 kB / 0.526 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.4367, allocations: 1.656 MB / 0.5277 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.4387, allocations: 0.6299 MB / 0.5283 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.4459, allocations: 5.394 MB / 0.5335 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007189/0.4531, allocations: 5.262 MB / 0.5387 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.4553, allocations: 1.079 MB / 0.5397 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.458, allocations: 1.812 MB / 0.5415 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007869/0.4588, allocations: 133.2 kB / 0.5416 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.4619, allocations: 1.051 MB / 0.5427 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.4638, allocations: 1.634 MB / 0.5443 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.4667, allocations: 1.909 MB / 0.5461 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005963/0.4727, allocations: 5.241 MB / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4727, allocations: 0 / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4727, allocations: 0 / 0.5512 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002635/0.473, allocations: 4 kB / 0.5512 GB, free: 11.34 MB / 398.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.008467/0.4815, allocations: 3.716 MB / 0.5549 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4816, allocations: 8.875 kB / 0.5549 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.4889, allocations: 1.975 MB / 0.5568 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/0.4933, allocations: 2.111 MB / 0.5589 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.4935, allocations: 250.8 kB / 0.5591 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.4948, allocations: 403.2 kB / 0.5595 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.5137, allocations: 9.764 MB / 0.569 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.5139, allocations: 39.59 kB / 0.5691 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008687/0.5148, allocations: 154.4 kB / 0.5692 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002834/0.5176, allocations: 1.77 MB / 0.5709 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.5342, allocations: 8.1 MB / 0.5789 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04775/0.582, allocations: 38.39 MB / 0.6163 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009909/0.592, allocations: 3.728 MB / 0.62 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.5943, allocations: 1.623 MB / 0.6216 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.6059, allocations: 7.919 MB / 0.6293 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.606, allocations: 51.56 kB / 0.6293 GB, free: 9.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.589e-06/0.606, allocations: 0 / 0.6293 GB, free: 9.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03193/0.638, allocations: 12.37 MB / 0.6414 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001342/0.6393, allocations: 1.62 MB / 0.643 GB, free: 10.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005943/0.6453, allocations: 3.799 MB / 0.6467 GB, free: 7.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.6456, allocations: 45.7 kB / 0.6468 GB, free: 7.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.6479, allocations: 3.009 MB / 0.6497 GB, free: 4.082 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008441/0.6487, allocations: 0.5963 MB / 0.6503 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009603/0.6497, allocations: 0.4909 MB / 0.6508 GB, free: 2.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6498, allocations: 309.1 kB / 0.6511 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/0.6532, allocations: 2.038 MB / 0.653 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.6592, allocations: 5.662 MB / 0.6586 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.6693, allocations: 8.272 MB / 0.6667 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.6695, allocations: 39.94 kB / 0.6667 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02291/0.6924, allocations: 9.237 MB / 0.6757 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.6926, allocations: 64.03 kB / 0.6758 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01166/0.7043, allocations: 3.667 MB / 0.6794 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.7154, allocations: 2.32 MB / 0.6816 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/0.7199, allocations: 1.326 MB / 0.6829 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.7301, allocations: 6.903 MB / 0.6897 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/0.7347, allocations: 403.4 kB / 0.69 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/0.7357, allocations: 356 kB / 0.6904 GB, free: 6.48 MB / 0.5294 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.003976/0.7397, allocations: 2.004 MB / 0.6923 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/0.7405, allocations: 323.8 kB / 0.6926 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.7416, allocations: 436.2 kB / 0.6931 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005253/0.7469, allocations: 2.515 MB / 0.6955 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.7469, allocations: 4 kB / 0.6955 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.747, allocations: 3.984 kB / 0.6955 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.7639, allocations: 8.456 MB / 0.7038 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.764, allocations: 8.031 kB / 0.7038 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.7652, allocations: 251.6 kB / 0.704 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.7686, allocations: 1.037 MB / 0.705 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/0.769, allocations: 39.97 kB / 0.7051 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006279/0.7753, allocations: 5.023 MB / 0.71 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001198/0.7765, allocations: 1.478 MB / 0.7114 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.217/0.9935, allocations: 5.208 MB / 0.7165 GB, free: 191.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/0.9944, allocations: 391.8 kB / 0.7169 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006905/0.9951, allocations: 34.12 kB / 0.7169 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.997, allocations: 140.3 kB / 0.7171 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.9973, allocations: 90.08 kB / 0.7171 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.9975, allocations: 45.34 kB / 0.7172 GB, free: 191.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00483/1.002, allocations: 2.355 MB / 0.7195 GB, free: 190.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/1.002, allocations: 0 / 0.7195 GB, free: 190.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00544/1.008, allocations: 1.017 MB / 0.7205 GB, free: 190.4 MB / 0.545 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.0005545/1.008, allocations: 169.1 kB / 0.7206 GB, free: 190.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.019, allocations: 5.535 MB / 0.726 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.019, allocations: 4.875 kB / 0.726 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/1.024, allocations: 2.154 MB / 0.7282 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/1.027, allocations: 406.3 kB / 0.7285 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.043, allocations: 11.68 MB / 0.7399 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/1.046, allocations: 3.123 MB / 0.743 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008715/1.047, allocations: 266.6 kB / 0.7433 GB, free: 179.8 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.047, allocations: 0 / 0.7433 GB, free: 179.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1145/1.162, allocations: 125.8 MB / 0.8661 GB, free: 59.09 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/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