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.001113/0.001114, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008623/0.0008623, allocations: 92.81 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.925e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.5717, allocations: 108.9 MB / 0.6108 GB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.572, allocations: 71.97 kB / 0.6109 GB, free: 9.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1981/0.7701, allocations: 80.38 MB / 0.6894 GB, free: 1.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7701, allocations: 0 / 0.6894 GB, free: 1.488 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001707/0.7703, allocations: 80 kB / 0.6895 GB, free: 1.41 MB / 474.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.01531/0.7856, allocations: 4.295 MB / 0.6937 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7857, allocations: 8.031 kB / 0.6937 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.7967, allocations: 2.295 MB / 0.6959 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.8078, allocations: 4.062 MB / 0.6999 GB, free: 6.609 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.808, allocations: 136 kB / 0.7 GB, free: 6.477 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.8096, allocations: 255.9 kB / 0.7002 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01068/0.8203, allocations: 5.948 MB / 0.706 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.8382, allocations: 9.226 MB / 0.7151 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.8384, allocations: 55.5 kB / 0.7151 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005289/0.8389, allocations: 32 kB / 0.7151 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/0.8404, allocations: 0.9829 MB / 0.7161 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3842/1.225, allocations: 47.12 MB / 0.7621 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/1.228, allocations: 2.581 MB / 0.7646 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/1.23, allocations: 1.503 MB / 0.7661 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.231, allocations: 1.294 MB / 0.7674 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.231, allocations: 61.16 kB / 0.7674 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=147): time 4.468e-06/1.231, allocations: 0 / 0.7674 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154): time 0.02099/1.252, allocations: 9.839 MB / 0.777 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/1.252, allocations: 147.1 kB / 0.7772 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/1.257, allocations: 2.894 MB / 0.78 GB, free: 104 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.257, allocations: 25.7 kB / 0.78 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.259, allocations: 3.115 MB / 0.7831 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005982/1.259, allocations: 0.6077 MB / 0.7837 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/1.26, allocations: 3.875 kB / 0.7837 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002553/1.26, allocations: 0.5583 MB / 0.7842 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/1.262, allocations: 1.909 MB / 0.7861 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/1.266, allocations: 5.648 MB / 0.7916 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003566/1.269, allocations: 3.26 MB / 0.7948 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.406e-05/1.27, allocations: 36.41 kB / 0.7948 GB, free: 96.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01674/1.286, allocations: 8.12 MB / 0.8027 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/1.286, allocations: 64.66 kB / 0.8028 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009223/1.296, allocations: 3.184 MB / 0.8059 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009137/1.305, allocations: 1.9 MB / 0.8078 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004989/1.31, allocations: 1.378 MB / 0.8091 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/1.317, allocations: 5.568 MB / 0.8146 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005304/1.322, allocations: 283.4 kB / 0.8148 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.324, allocations: 380.6 kB / 0.8152 GB, free: 92.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (744): * Single equations (assignments): 735 * 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.001945/1.326, allocations: 447 kB / 0.8156 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006103/1.332, allocations: 3.16 MB / 0.8187 GB, free: 91.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/1.333, allocations: 304.4 kB / 0.819 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005491/1.338, allocations: 2.797 MB / 0.8217 GB, free: 89.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004186/1.342, allocations: 2.386 MB / 0.8241 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.342, allocations: 3.875 kB / 0.8241 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/1.342, allocations: 14.2 kB / 0.8241 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/1.36, allocations: 8.181 MB / 0.8321 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.36, allocations: 0 / 0.8321 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/1.361, allocations: 262.4 kB / 0.8323 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/1.364, allocations: 1.011 MB / 0.8333 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/1.365, allocations: 19.08 kB / 0.8333 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/1.369, allocations: 4.907 MB / 0.8381 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007148/1.37, allocations: 1.422 MB / 0.8395 GB, free: 81.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006969/1.377, allocations: 5.237 MB / 0.8446 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.378, allocations: 358.8 kB / 0.845 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008394/1.379, allocations: 10.2 kB / 0.845 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.381, allocations: 113.9 kB / 0.8451 GB, free: 77.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.381, allocations: 98.36 kB / 0.8452 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.381, allocations: 44.67 kB / 0.8452 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00356/1.385, allocations: 1.908 MB / 0.8471 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.385, allocations: 0 / 0.8471 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006056/1.391, allocations: 0.9489 MB / 0.848 GB, free: 75.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (120): * Single equations (assignments): 113 * 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.007652/1.399, allocations: 6.213 MB / 0.8541 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008816/1.408, allocations: 5.214 MB / 0.8592 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.408, allocations: 0 / 0.8592 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003523/1.411, allocations: 2.119 MB / 0.8612 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.414, allocations: 339.8 kB / 0.8615 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/1.436, allocations: 8.844 MB / 0.8702 GB, free: 55.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/1.44, allocations: 3.248 MB / 0.8734 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004433/1.444, allocations: 1.888 MB / 0.8752 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.446, allocations: 1.788 MB / 0.8769 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/1.446, allocations: 0 / 0.8769 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.548, allocations: 69.98 MB / 0.9453 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.548, allocations: 144.2 kB / 0.9454 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/5.259, allocations: 4.031 kB / 0.9454 GB, free: 14.42 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