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: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, 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.436/1.436, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000916/0.000916, allocations: 100 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1941/0.1941, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.499e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5504, allocations: 109.6 MB / 0.6185 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5508, allocations: 73.91 kB / 0.6185 GB, free: 492 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2058/0.7566, allocations: 82.21 MB / 0.6988 GB, free: 6.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7567, allocations: 0 / 0.6988 GB, free: 6.258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000322/0.757, allocations: 84 kB / 0.6989 GB, free: 6.176 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.0173/0.7743, allocations: 4.295 MB / 0.7031 GB, free: 1.816 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.7744, allocations: 15.97 kB / 0.7031 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003244/0.7777, allocations: 0.7701 MB / 0.7039 GB, free: 1.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.7889, allocations: 2.299 MB / 0.7061 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.801, allocations: 4.047 MB / 0.7101 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.8015, allocations: 324.6 kB / 0.7104 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.8039, allocations: 435.8 kB / 0.7108 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/0.8294, allocations: 10.31 MB / 0.7209 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002931/0.8298, allocations: 55.5 kB / 0.7209 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001864/0.8316, allocations: 215.9 kB / 0.7211 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.8336, allocations: 0.975 MB / 0.7221 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/0.8528, allocations: 8.177 MB / 0.7301 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3738/1.227, allocations: 48.38 MB / 0.7773 GB, free: 98.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009816/1.237, allocations: 3.65 MB / 0.7809 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/1.239, allocations: 1.599 MB / 0.7824 GB, free: 97.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/1.254, allocations: 7.903 MB / 0.7901 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/1.254, allocations: 54.59 kB / 0.7902 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=141): time 5.771e-06/1.254, allocations: 0 / 0.7902 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.02467/1.278, allocations: 10.31 MB / 0.8003 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00101/1.279, allocations: 1.604 MB / 0.8018 GB, free: 90.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005452/1.285, allocations: 3.395 MB / 0.8051 GB, free: 90.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/1.285, allocations: 44.55 kB / 0.8052 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.287, allocations: 3.055 MB / 0.8082 GB, free: 88.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009827/1.288, allocations: 0.601 MB / 0.8088 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/1.289, allocations: 116.5 kB / 0.8089 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003167/1.289, allocations: 0.5582 MB / 0.8094 GB, free: 87.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/1.292, allocations: 1.963 MB / 0.8113 GB, free: 87.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004286/1.296, allocations: 5.584 MB / 0.8168 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/1.301, allocations: 3.273 MB / 0.82 GB, free: 82.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.301, allocations: 42.38 kB / 0.82 GB, free: 82.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0205/1.322, allocations: 8.73 MB / 0.8285 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.322, allocations: 61.03 kB / 0.8286 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009298/1.331, allocations: 3.236 MB / 0.8318 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008719/1.34, allocations: 1.915 MB / 0.8336 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/1.345, allocations: 1.321 MB / 0.8349 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007081/1.352, allocations: 5.734 MB / 0.8405 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/1.358, allocations: 397.6 kB / 0.8409 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.359, allocations: 351.7 kB / 0.8412 GB, free: 75.61 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.001554/1.361, allocations: 0.5569 MB / 0.8418 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009012/1.362, allocations: 327.8 kB / 0.8421 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/1.367, allocations: 2.898 MB / 0.8449 GB, free: 74.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004066/1.372, allocations: 2.441 MB / 0.8473 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.372, allocations: 3.562 kB / 0.8473 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/1.372, allocations: 11.67 kB / 0.8473 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.389, allocations: 8.505 MB / 0.8556 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/1.389, allocations: 7.516 kB / 0.8556 GB, free: 70.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.39, allocations: 251.4 kB / 0.8559 GB, free: 70.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002767/1.393, allocations: 1.018 MB / 0.8569 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/1.393, allocations: 35.23 kB / 0.8569 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/1.398, allocations: 5.022 MB / 0.8618 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007351/1.399, allocations: 1.469 MB / 0.8632 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00742/1.406, allocations: 5.27 MB / 0.8684 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.407, allocations: 390.7 kB / 0.8688 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005914/1.408, allocations: 37.95 kB / 0.8688 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/1.41, allocations: 136.6 kB / 0.8689 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/1.41, allocations: 97.28 kB / 0.869 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.41, allocations: 38.91 kB / 0.8691 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00393/1.414, allocations: 2.339 MB / 0.8713 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.82e-07/1.414, allocations: 4 kB / 0.8713 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006151/1.42, allocations: 1.043 MB / 0.8724 GB, free: 55.89 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.007908/1.428, allocations: 6.255 MB / 0.8785 GB, free: 50.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009244/1.438, allocations: 5.399 MB / 0.8837 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.438, allocations: 0 / 0.8837 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.441, allocations: 2.127 MB / 0.8858 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.444, allocations: 393 kB / 0.8862 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/1.465, allocations: 9.007 MB / 0.895 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/1.469, allocations: 3.248 MB / 0.8982 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004456/1.473, allocations: 1.825 MB / 0.8999 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002784/1.476, allocations: 1.8 MB / 0.9017 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.323e-06/1.476, allocations: 0 / 0.9017 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.415/1.891, allocations: 75.18 MB / 0.9751 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.891, allocations: 182.5 kB / 0.9753 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/5.943, allocations: 3.078 kB / 0.9753 GB, free: 142.1 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat