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.0009025/0.0009022, allocations: 96.64 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009349/0.000935, allocations: 206.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1173, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3151/0.4325, allocations: 44.58 MB / 0.5153 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02614/0.4587, allocations: 9.766 MB / 0.5248 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01024/0.469, allocations: 197 kB / 0.525 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.471, allocations: 414.2 kB / 0.5254 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.4771, allocations: 1.659 MB / 0.527 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.4795, allocations: 0.6324 MB / 0.5277 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008567/0.4881, allocations: 5.395 MB / 0.5329 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00889/0.497, allocations: 5.255 MB / 0.5381 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.5004, allocations: 1.081 MB / 0.5391 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.5038, allocations: 1.809 MB / 0.5409 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.5048, allocations: 134.4 kB / 0.541 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.5079, allocations: 1.048 MB / 0.542 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00258/0.5105, allocations: 1.637 MB / 0.5436 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.514, allocations: 1.911 MB / 0.5455 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009669/0.5237, allocations: 6.336 MB / 0.5517 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5238, allocations: 0 / 0.5517 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5238, allocations: 0 / 0.5517 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002686/0.5241, allocations: 0 / 0.5517 GB, free: 10.25 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.01121/0.5353, allocations: 3.728 MB / 0.5553 GB, free: 6.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.5354, allocations: 12.88 kB / 0.5553 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/0.5435, allocations: 1.971 MB / 0.5573 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005612/0.5492, allocations: 2.12 MB / 0.5593 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.5495, allocations: 238.4 kB / 0.5596 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.5511, allocations: 413.9 kB / 0.56 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.5722, allocations: 9.76 MB / 0.5695 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.5725, allocations: 47.58 kB / 0.5695 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006384/0.5731, allocations: 155.2 kB / 0.5697 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002934/0.5761, allocations: 1.76 MB / 0.5714 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/0.5962, allocations: 8.092 MB / 0.5793 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06047/0.6567, allocations: 38.39 MB / 0.6168 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.667, allocations: 3.728 MB / 0.6204 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.6695, allocations: 1.623 MB / 0.622 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.6818, allocations: 7.915 MB / 0.6297 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.6819, allocations: 51.48 kB / 0.6298 GB, free: 8.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.569e-06/0.6819, allocations: 4 kB / 0.6298 GB, free: 8.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.02988/0.7118, allocations: 12.36 MB / 0.6419 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001366/0.7132, allocations: 1.629 MB / 0.6435 GB, free: 9.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/0.7182, allocations: 3.799 MB / 0.6472 GB, free: 6.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.7185, allocations: 49.64 kB / 0.6472 GB, free: 5.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/0.7208, allocations: 2.999 MB / 0.6502 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008033/0.7216, allocations: 0.6038 MB / 0.6507 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006345/0.7222, allocations: 0.4909 MB / 0.6512 GB, free: 1.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7224, allocations: 305.2 kB / 0.6515 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/0.7254, allocations: 2.037 MB / 0.6535 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005853/0.7312, allocations: 5.669 MB / 0.659 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009856/0.7411, allocations: 8.265 MB / 0.6671 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.45e-05/0.7412, allocations: 36 kB / 0.6671 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02279/0.764, allocations: 9.245 MB / 0.6762 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/0.7642, allocations: 56 kB / 0.6762 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/0.7756, allocations: 3.672 MB / 0.6798 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.7868, allocations: 2.304 MB / 0.6821 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/0.7914, allocations: 1.329 MB / 0.6834 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.8016, allocations: 6.901 MB / 0.6901 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/0.8063, allocations: 399.3 kB / 0.6905 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007391/0.8071, allocations: 371.2 kB / 0.6908 GB, free: 5.379 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.003475/0.8106, allocations: 2.002 MB / 0.6928 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/0.8111, allocations: 319.8 kB / 0.6931 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/0.812, allocations: 440.2 kB / 0.6935 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005127/0.8171, allocations: 2.507 MB / 0.696 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.8172, allocations: 4 kB / 0.696 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.8172, allocations: 11.97 kB / 0.696 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.8323, allocations: 8.456 MB / 0.7042 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8324, allocations: 0 / 0.7042 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.8336, allocations: 251.6 kB / 0.7045 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/0.8368, allocations: 1.037 MB / 0.7055 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.837, allocations: 31.98 kB / 0.7055 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005971/0.843, allocations: 5.022 MB / 0.7104 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2647/1.108, allocations: 1.477 MB / 0.7119 GB, free: 191.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.119, allocations: 5.221 MB / 0.717 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.12, allocations: 389.4 kB / 0.7173 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/1.121, allocations: 33.28 kB / 0.7174 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.122, allocations: 141.8 kB / 0.7175 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/1.123, allocations: 90.59 kB / 0.7176 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.123, allocations: 46.72 kB / 0.7176 GB, free: 190.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004362/1.127, allocations: 2.354 MB / 0.7199 GB, free: 189.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.11e-07/1.127, allocations: 0 / 0.7199 GB, free: 189.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006109/1.133, allocations: 1.023 MB / 0.7209 GB, free: 189.6 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.0005536/1.134, allocations: 164.8 kB / 0.7211 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.146, allocations: 5.532 MB / 0.7265 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.146, allocations: 0.9375 kB / 0.7265 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004416/1.15, allocations: 2.154 MB / 0.7286 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/1.154, allocations: 413.2 kB / 0.729 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.171, allocations: 11.23 MB / 0.74 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/1.174, allocations: 3.115 MB / 0.743 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004102/1.179, allocations: 1.798 MB / 0.7448 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/1.179, allocations: 224.7 kB / 0.745 GB, free: 179.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.179, allocations: 0 / 0.745 GB, free: 179.1 MB / 0.545 GB Notification: Performance of Templates: time 0.05692/1.236, allocations: 36.21 MB / 0.7803 GB, free: 146.6 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