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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 99.22 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 195.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1501, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3259/0.476, allocations: 45.05 MB / 0.5143 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02583/0.5019, allocations: 10.03 MB / 0.5241 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01205/0.514, allocations: 213.7 kB / 0.5243 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009157/0.5232, allocations: 2.327 MB / 0.5266 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02261/0.5458, allocations: 6.894 MB / 0.5333 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.5494, allocations: 0.5863 MB / 0.5339 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.5561, allocations: 4.37 MB / 0.5382 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006291/0.5624, allocations: 4.591 MB / 0.5427 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.5648, allocations: 1.199 MB / 0.5438 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.5673, allocations: 1.812 MB / 0.5456 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005522/0.5679, allocations: 134.8 kB / 0.5457 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.5701, allocations: 0.8918 MB / 0.5466 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002395/0.5725, allocations: 1.645 MB / 0.5482 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.574, allocations: 0.8239 MB / 0.549 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008293/0.5823, allocations: 5.355 MB / 0.5542 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5824, allocations: 0 / 0.5542 GB, free: 12.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5824, allocations: 4 kB / 0.5543 GB, free: 12.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002912/0.5827, allocations: 0 / 0.5543 GB, free: 12.05 MB / 398.1 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.01233/0.595, allocations: 3.867 MB / 0.558 GB, free: 8.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.5951, allocations: 8.031 kB / 0.558 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002997/0.5981, allocations: 0.7168 MB / 0.5587 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008219/0.6064, allocations: 2.017 MB / 0.5607 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007125/0.6136, allocations: 2.336 MB / 0.563 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/0.614, allocations: 246 kB / 0.5632 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.6162, allocations: 408.4 kB / 0.5636 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/0.647, allocations: 9.926 MB / 0.5733 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004327/0.6475, allocations: 39.69 kB / 0.5733 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001818/0.6493, allocations: 150.8 kB / 0.5735 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003699/0.6531, allocations: 1.828 MB / 0.5753 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.6721, allocations: 8.221 MB / 0.5833 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0598/0.732, allocations: 38.75 MB / 0.6211 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/0.7415, allocations: 3.72 MB / 0.6248 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.7441, allocations: 1.622 MB / 0.6264 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.7563, allocations: 7.902 MB / 0.6341 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.7564, allocations: 43.56 kB / 0.6341 GB, free: 8.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.288e-06/0.7564, allocations: 7.938 kB / 0.6341 GB, free: 8.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.02999/0.7864, allocations: 12.44 MB / 0.6463 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001449/0.7879, allocations: 1.608 MB / 0.6478 GB, free: 9.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00581/0.7937, allocations: 3.825 MB / 0.6516 GB, free: 5.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003914/0.7942, allocations: 44.44 kB / 0.6516 GB, free: 5.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002614/0.7968, allocations: 3.053 MB / 0.6546 GB, free: 2.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009536/0.7977, allocations: 0.5992 MB / 0.6552 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.798, allocations: 112 kB / 0.6553 GB, free: 2.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004012/0.7984, allocations: 0.5576 MB / 0.6558 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.8018, allocations: 2.015 MB / 0.6578 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006178/0.8079, allocations: 5.66 MB / 0.6633 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005494/0.8135, allocations: 3.291 MB / 0.6666 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.835e-05/0.8136, allocations: 36 kB / 0.6666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0225/0.8361, allocations: 8.876 MB / 0.6753 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.8363, allocations: 60 kB / 0.6753 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00991/0.8462, allocations: 3.346 MB / 0.6786 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008774/0.8551, allocations: 1.961 MB / 0.6805 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/0.8599, allocations: 1.322 MB / 0.6818 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009531/0.8694, allocations: 5.775 MB / 0.6874 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005391/0.8749, allocations: 413.5 kB / 0.6878 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/0.8763, allocations: 360 kB / 0.6882 GB, free: 14.36 MB / 0.5294 GB 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 (712): * Single equations (assignments): 703 * 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.005328/0.8816, allocations: 2.032 MB / 0.6901 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009987/0.8826, allocations: 331.7 kB / 0.6905 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.8841, allocations: 436.6 kB / 0.6909 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005388/0.8895, allocations: 2.511 MB / 0.6933 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/0.8895, allocations: 4 kB / 0.6933 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-05/0.8896, allocations: 7.969 kB / 0.6933 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/0.9101, allocations: 8.559 MB / 0.7017 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.9102, allocations: 0 / 0.7017 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.9115, allocations: 247.7 kB / 0.7019 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.9146, allocations: 1.041 MB / 0.703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002695/0.9149, allocations: 31.98 kB / 0.703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/0.9213, allocations: 5.029 MB / 0.7079 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001156/0.9225, allocations: 1.486 MB / 0.7093 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009345/0.9319, allocations: 5.208 MB / 0.7144 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.9333, allocations: 392.7 kB / 0.7148 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008409/0.9341, allocations: 32 kB / 0.7148 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.936, allocations: 143.8 kB / 0.715 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.9363, allocations: 88.8 kB / 0.7151 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.9365, allocations: 50.31 kB / 0.7151 GB, free: 2.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2958/1.232, allocations: 2.356 MB / 0.7174 GB, free: 192.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.323e-06/1.232, allocations: 0 / 0.7174 GB, free: 192.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007123/1.239, allocations: 1.027 MB / 0.7184 GB, free: 192.1 MB / 0.545 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 {(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 Backend phase and start with SimCode phase: time 0.01294/1.252, allocations: 5.849 MB / 0.7241 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.264, allocations: 5.477 MB / 0.7295 GB, free: 189 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.264, allocations: 6.453 kB / 0.7295 GB, free: 189 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00435/1.268, allocations: 2.147 MB / 0.7316 GB, free: 188.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.271, allocations: 425.5 kB / 0.732 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05798/1.329, allocations: 34.03 MB / 0.7652 GB, free: 164.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.333, allocations: 3.168 MB / 0.7683 GB, free: 162.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004247/1.337, allocations: 1.803 MB / 0.7701 GB, free: 160.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.339, allocations: 1.796 MB / 0.7718 GB, free: 158.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/1.339, allocations: 0 / 0.7718 GB, free: 158.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.458, allocations: 74.72 MB / 0.8448 GB, free: 84.12 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.458, allocations: 214.8 kB / 0.845 GB, free: 83.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.749/5.207, allocations: 0 / 0.845 GB, free: 83.88 MB / 0.545 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