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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009787/0.0009788, allocations: 105.8 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.35/0.35, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3862, allocations: 62.01 MB / 0.5151 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.05734/0.4436, allocations: 49.74 MB / 0.5637 GB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03321/0.4768, allocations: 10.59 MB / 0.5741 GB, free: 11.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01548/0.4923, allocations: 210.7 kB / 0.5743 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009021/0.5015, allocations: 2.802 MB / 0.577 GB, free: 9.711 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007314/0.5088, allocations: 1.676 MB / 0.5786 GB, free: 8.395 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.5115, allocations: 0.6358 MB / 0.5792 GB, free: 7.758 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009056/0.5205, allocations: 5.514 MB / 0.5846 GB, free: 2.234 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007006/0.5276, allocations: 3.794 MB / 0.5883 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.5313, allocations: 1.358 MB / 0.5897 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.5358, allocations: 2.145 MB / 0.5918 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.5372, allocations: 236 kB / 0.592 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.5414, allocations: 1.143 MB / 0.5931 GB, free: 9.484 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00308/0.5445, allocations: 1.827 MB / 0.5949 GB, free: 7.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00457/0.5491, allocations: 2.108 MB / 0.5969 GB, free: 5.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.5602, allocations: 6.678 MB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.5602, allocations: 0 / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5603, allocations: 0 / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003245/0.5606, allocations: 0 / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01521/0.5758, allocations: 4.643 MB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.5759, allocations: 8.031 kB / 0.608 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.5869, allocations: 1.968 MB / 0.6099 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006939/0.5939, allocations: 2.134 MB / 0.612 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.5942, allocations: 254.6 kB / 0.6123 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.5959, allocations: 411.6 kB / 0.6126 GB, free: 5.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.6202, allocations: 9.899 MB / 0.6223 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.6204, allocations: 43.62 kB / 0.6224 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006349/0.6211, allocations: 159.8 kB / 0.6225 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004074/0.6251, allocations: 1.829 MB / 0.6243 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/0.6488, allocations: 8.204 MB / 0.6323 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06307/0.7119, allocations: 38.81 MB / 0.6702 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.7252, allocations: 3.69 MB / 0.6738 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/0.7285, allocations: 1.627 MB / 0.6754 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2362/0.9647, allocations: 7.837 MB / 0.6831 GB, free: 130.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.9648, allocations: 45.47 kB / 0.6831 GB, free: 130.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 4.528e-06/0.9648, allocations: 0 / 0.6831 GB, free: 130.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02532/0.9902, allocations: 12.33 MB / 0.6951 GB, free: 126.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009643/0.9912, allocations: 1.624 MB / 0.6967 GB, free: 124.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/0.9961, allocations: 3.832 MB / 0.7005 GB, free: 123.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/0.9964, allocations: 42.48 kB / 0.7005 GB, free: 123.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.9981, allocations: 3.046 MB / 0.7035 GB, free: 120.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000619/0.9987, allocations: 0.6 MB / 0.7041 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/1, allocations: 1.173 MB / 0.7052 GB, free: 119.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/1, allocations: 306.6 kB / 0.7055 GB, free: 119.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/1.003, allocations: 2.033 MB / 0.7075 GB, free: 118.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/1.008, allocations: 5.665 MB / 0.713 GB, free: 113.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009207/1.017, allocations: 8.293 MB / 0.7211 GB, free: 106 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/1.017, allocations: 37.28 kB / 0.7212 GB, free: 106 MB / 490.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02042/1.038, allocations: 9.234 MB / 0.7302 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/1.038, allocations: 61.81 kB / 0.7302 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009992/1.048, allocations: 3.645 MB / 0.7338 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.058, allocations: 2.316 MB / 0.7361 GB, free: 98.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/1.063, allocations: 1.326 MB / 0.7374 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008179/1.071, allocations: 6.893 MB / 0.7441 GB, free: 89.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/1.076, allocations: 403 kB / 0.7445 GB, free: 89.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.077, allocations: 364 kB / 0.7448 GB, free: 89.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.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 (716): * Single equations (assignments): 707 * 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.003961/1.081, allocations: 2.032 MB / 0.7468 GB, free: 87.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009596/1.082, allocations: 323.8 kB / 0.7471 GB, free: 86.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005978/1.088, allocations: 2.929 MB / 0.75 GB, free: 83.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004239/1.092, allocations: 2.488 MB / 0.7524 GB, free: 81.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.093, allocations: 4 kB / 0.7524 GB, free: 81.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/1.093, allocations: 3.984 kB / 0.7524 GB, free: 81.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/1.109, allocations: 8.55 MB / 0.7608 GB, free: 72.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.109, allocations: 0 / 0.7608 GB, free: 72.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.11, allocations: 247.6 kB / 0.761 GB, free: 72.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/1.113, allocations: 1.033 MB / 0.762 GB, free: 71.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.113, allocations: 35.97 kB / 0.762 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/1.118, allocations: 5.003 MB / 0.7669 GB, free: 66.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007817/1.118, allocations: 1.478 MB / 0.7684 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05266/1.171, allocations: 31.77 MB / 0.7994 GB, free: 32.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008262/1.172, allocations: 388.7 kB / 0.7998 GB, free: 32.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/1.172, allocations: 31.98 kB / 0.7998 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.174, allocations: 135.6 kB / 0.7999 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/1.174, allocations: 96.8 kB / 0.8 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.175, allocations: 39.98 kB / 0.8001 GB, free: 31.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003373/1.178, allocations: 2.392 MB / 0.8024 GB, free: 29.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.178, allocations: 0 / 0.8024 GB, free: 29.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00608/1.184, allocations: 1.419 MB / 0.8038 GB, free: 27.94 MB / 490.7 MB 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.0004415/1.185, allocations: 164.1 kB / 0.8039 GB, free: 27.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008705/1.193, allocations: 5.523 MB / 0.8093 GB, free: 22.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.193, allocations: 0 / 0.8093 GB, free: 22.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003637/1.197, allocations: 2.135 MB / 0.8114 GB, free: 20.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.201, allocations: 425.8 kB / 0.8118 GB, free: 19.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.221, allocations: 13.38 MB / 0.8249 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/1.225, allocations: 3.213 MB / 0.828 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004309/1.229, allocations: 1.83 MB / 0.8298 GB, free: 1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008305/1.23, allocations: 239.4 kB / 0.83 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of SimCode: time 1.163e-06/1.23, allocations: 3.938 kB / 0.83 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of Templates: time 0.2787/1.509, allocations: 46.54 MB / 0.8755 GB, free: 161.5 MB / 0.5261 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches