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.001321/0.001321, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009478/0.0009478, allocations: 92.53 kB / 292.1 MB, free: 6.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.337e-05, allocations: 7.984 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 63.24 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.5825, allocations: 109.6 MB / 0.6184 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5828, allocations: 73.47 kB / 0.6184 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2003/0.7832, allocations: 82.19 MB / 0.6987 GB, free: 6.391 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7832, allocations: 0 / 0.6987 GB, free: 6.391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001889/0.7834, allocations: 80 kB / 0.6988 GB, free: 6.312 MB / 490.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.01685/0.8003, allocations: 4.297 MB / 0.703 GB, free: 1.953 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.8004, allocations: 19.97 kB / 0.703 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.8115, allocations: 2.287 MB / 0.7052 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.8221, allocations: 4.058 MB / 0.7092 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.8225, allocations: 332.6 kB / 0.7095 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.8242, allocations: 427.8 kB / 0.7099 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.8453, allocations: 10.32 MB / 0.72 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.8455, allocations: 59.41 kB / 0.7201 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007542/0.8462, allocations: 211.9 kB / 0.7203 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.8477, allocations: 0.975 MB / 0.7212 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.8652, allocations: 8.173 MB / 0.7292 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3413/1.207, allocations: 48.38 MB / 0.7764 GB, free: 98.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009502/1.216, allocations: 3.646 MB / 0.78 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/1.218, allocations: 1.599 MB / 0.7816 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/1.231, allocations: 7.896 MB / 0.7893 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/1.231, allocations: 47.69 kB / 0.7893 GB, free: 95.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=141): time 4.719e-06/1.231, allocations: 0 / 0.7893 GB, free: 95.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.02456/1.256, allocations: 10.32 MB / 0.7994 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001096/1.257, allocations: 1.614 MB / 0.801 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/1.262, allocations: 3.399 MB / 0.8043 GB, free: 90.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/1.263, allocations: 46.27 kB / 0.8043 GB, free: 90.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/1.264, allocations: 3.048 MB / 0.8073 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/1.265, allocations: 0.6055 MB / 0.8079 GB, free: 88.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/1.265, allocations: 113 kB / 0.808 GB, free: 88.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.265, allocations: 0.548 MB / 0.8085 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/1.268, allocations: 1.962 MB / 0.8105 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/1.272, allocations: 5.59 MB / 0.8159 GB, free: 83.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/1.276, allocations: 3.281 MB / 0.8191 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.931e-05/1.277, allocations: 39.67 kB / 0.8192 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01911/1.296, allocations: 8.717 MB / 0.8277 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.296, allocations: 63.56 kB / 0.8277 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008846/1.305, allocations: 3.234 MB / 0.8309 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008686/1.313, allocations: 1.904 MB / 0.8327 GB, free: 79.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.317, allocations: 1.323 MB / 0.834 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/1.324, allocations: 5.746 MB / 0.8397 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/1.329, allocations: 393.6 kB / 0.84 GB, free: 75.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008104/1.329, allocations: 359.8 kB / 0.8404 GB, free: 75.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 705 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001111/1.331, allocations: 0.5536 MB / 0.8409 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/1.331, allocations: 322.6 kB / 0.8412 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/1.336, allocations: 2.905 MB / 0.8441 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004126/1.341, allocations: 2.444 MB / 0.8464 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.341, allocations: 3.562 kB / 0.8464 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/1.341, allocations: 6.844 kB / 0.8465 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.356, allocations: 8.508 MB / 0.8548 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.356, allocations: 3.406 kB / 0.8548 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.357, allocations: 249.2 kB / 0.855 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.36, allocations: 1.024 MB / 0.856 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002923/1.36, allocations: 29.77 kB / 0.856 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/1.365, allocations: 5.021 MB / 0.8609 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007141/1.366, allocations: 1.471 MB / 0.8624 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006877/1.373, allocations: 5.274 MB / 0.8675 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.374, allocations: 395.8 kB / 0.8679 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/1.375, allocations: 27.47 kB / 0.8679 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.376, allocations: 136.6 kB / 0.8681 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.376, allocations: 88.89 kB / 0.8681 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.377, allocations: 40.83 kB / 0.8682 GB, free: 59.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003132/1.38, allocations: 2.341 MB / 0.8705 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/1.38, allocations: 3.938 kB / 0.8705 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004923/1.385, allocations: 1.04 MB / 0.8715 GB, free: 56.19 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004743/1.385, allocations: 171.1 kB / 0.8716 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008023/1.393, allocations: 5.401 MB / 0.8769 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.393, allocations: 0 / 0.8769 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/1.397, allocations: 2.118 MB / 0.879 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/1.4, allocations: 409.9 kB / 0.8794 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.414, allocations: 7.653 MB / 0.8869 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/1.417, allocations: 3.253 MB / 0.89 GB, free: 39.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004149/1.421, allocations: 1.82 MB / 0.8918 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/1.422, allocations: 227.2 kB / 0.892 GB, free: 38.33 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/1.422, allocations: 0 / 0.892 GB, free: 38.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.05465/1.477, allocations: 35.01 MB / 0.9262 GB, free: 5.359 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/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