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.001865/0.001865, allocations: 197.2 kB / 18.1 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007802/0.0007802, allocations: 98.88 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3811/0.3811, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002783, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 62.95 MB / 0.5184 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.5084, allocations: 109.6 MB / 0.6255 GB, free: 11.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5087, allocations: 79.95 kB / 0.6255 GB, free: 11.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4321/0.9408, allocations: 80.73 MB / 0.7044 GB, free: 100.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.9408, allocations: 4 kB / 0.7044 GB, free: 100.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002621/0.9411, allocations: 84.88 kB / 0.7045 GB, free: 100.4 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.01683/0.958, allocations: 4.453 MB / 0.7088 GB, free: 98.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.958, allocations: 9.844 kB / 0.7088 GB, free: 98.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.9693, allocations: 2.257 MB / 0.711 GB, free: 98.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009135/0.9785, allocations: 3.422 MB / 0.7144 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/0.979, allocations: 326.7 kB / 0.7147 GB, free: 97.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.9809, allocations: 431.7 kB / 0.7151 GB, free: 97.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.001, allocations: 10.32 MB / 0.7252 GB, free: 93.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/1.001, allocations: 73.27 kB / 0.7252 GB, free: 93.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006739/1.002, allocations: 203.2 kB / 0.7254 GB, free: 92.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/1.003, allocations: 0.9813 MB / 0.7264 GB, free: 92.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/1.017, allocations: 8.188 MB / 0.7344 GB, free: 90.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04408/1.061, allocations: 48.31 MB / 0.7816 GB, free: 53.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008026/1.069, allocations: 3.667 MB / 0.7851 GB, free: 51.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/1.072, allocations: 1.622 MB / 0.7867 GB, free: 51.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/1.082, allocations: 7.849 MB / 0.7944 GB, free: 44.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/1.082, allocations: 55.5 kB / 0.7945 GB, free: 44.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 5.581e-06/1.082, allocations: 0 / 0.7945 GB, free: 44.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02451/1.106, allocations: 12.29 MB / 0.8065 GB, free: 32.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009125/1.107, allocations: 1.609 MB / 0.808 GB, free: 30.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/1.112, allocations: 3.837 MB / 0.8118 GB, free: 27.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003654/1.112, allocations: 49.78 kB / 0.8118 GB, free: 26.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.114, allocations: 3.054 MB / 0.8148 GB, free: 23.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/1.115, allocations: 0.6044 MB / 0.8154 GB, free: 23.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.115, allocations: 111.4 kB / 0.8155 GB, free: 23.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/1.115, allocations: 0.5498 MB / 0.816 GB, free: 22.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.117, allocations: 2.006 MB / 0.818 GB, free: 20.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/1.121, allocations: 5.654 MB / 0.8235 GB, free: 13.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006776/1.128, allocations: 8.262 MB / 0.8316 GB, free: 3.098 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.919e-05/1.128, allocations: 40 kB / 0.8316 GB, free: 3.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0197/1.148, allocations: 8.823 MB / 0.8402 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.148, allocations: 60 kB / 0.8403 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009538/1.157, allocations: 3.29 MB / 0.8435 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008536/1.166, allocations: 1.883 MB / 0.8453 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/1.17, allocations: 1.329 MB / 0.8466 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008102/1.179, allocations: 5.756 MB / 0.8523 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/1.184, allocations: 391.3 kB / 0.8526 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.185, allocations: 369.1 kB / 0.853 GB, free: 12.87 MB / 0.5105 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 () * Number of clocked 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.003898/1.189, allocations: 2.028 MB / 0.855 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/1.189, allocations: 327.7 kB / 0.8553 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/1.195, allocations: 2.925 MB / 0.8581 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004652/1.2, allocations: 2.476 MB / 0.8606 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.2, allocations: 0 / 0.8606 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/1.2, allocations: 11.97 kB / 0.8606 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/1.216, allocations: 8.529 MB / 0.8689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.216, allocations: 4 kB / 0.8689 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.218, allocations: 251 kB / 0.8691 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/1.221, allocations: 1.022 MB / 0.8701 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/1.221, allocations: 31.98 kB / 0.8702 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006008/1.227, allocations: 5.026 MB / 0.8751 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001153/1.228, allocations: 1.476 MB / 0.8765 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2672/1.495, allocations: 5.162 MB / 0.8816 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.496, allocations: 391.5 kB / 0.8819 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005235/1.497, allocations: 32.03 kB / 0.882 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.498, allocations: 129.8 kB / 0.8821 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/1.499, allocations: 92.45 kB / 0.8822 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.499, allocations: 45.08 kB / 0.8822 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004071/1.503, allocations: 2.37 MB / 0.8845 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/1.503, allocations: 0 / 0.8845 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005393/1.508, allocations: 1.044 MB / 0.8856 GB, free: 133.2 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 () * 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 (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.0004099/1.509, allocations: 172.6 kB / 0.8857 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008449/1.517, allocations: 5.45 MB / 0.891 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.517, allocations: 0 / 0.891 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.521, allocations: 2.142 MB / 0.8931 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/1.524, allocations: 427.6 kB / 0.8935 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.54, allocations: 10.91 MB / 0.9042 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004392/1.545, allocations: 3.168 MB / 0.9073 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005438/1.55, allocations: 1.826 MB / 0.9091 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/1.551, allocations: 222.9 kB / 0.9093 GB, free: 127 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/1.551, allocations: 0 / 0.9093 GB, free: 127 MB / 0.5261 GB Notification: Performance of Templates: time 0.05958/1.611, allocations: 35.2 MB / 0.9437 GB, free: 124.6 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/jenkins1/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