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.001011/0.001011, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 45.91 MB / 344 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 63.46 MB / 481.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3604/0.5159, allocations: 42.59 MB / 0.5118 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03028/0.5462, allocations: 10.45 MB / 0.522 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/0.5586, allocations: 208.6 kB / 0.5222 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009547/0.5682, allocations: 2.106 MB / 0.5243 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0263/0.5945, allocations: 6.137 MB / 0.5303 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.5986, allocations: 0.5814 MB / 0.5308 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008406/0.607, allocations: 2.105 MB / 0.5329 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009783/0.6169, allocations: 4.562 MB / 0.5374 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.62, allocations: 0.9801 MB / 0.5383 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.6226, allocations: 1.246 MB / 0.5395 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006324/0.6233, allocations: 135.8 kB / 0.5397 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.6256, allocations: 0.8618 MB / 0.5405 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.6272, allocations: 1.526 MB / 0.542 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.6284, allocations: 0.8233 MB / 0.5428 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00629/0.6347, allocations: 5.349 MB / 0.548 GB, free: 1.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6347, allocations: 0 / 0.548 GB, free: 1.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.6347, allocations: 0 / 0.548 GB, free: 1.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002475/0.635, allocations: 3.938 kB / 0.548 GB, free: 1.332 MB / 382.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.009797/0.6448, allocations: 3.871 MB / 0.5518 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6449, allocations: 16.03 kB / 0.5518 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001902/0.6468, allocations: 0.7205 MB / 0.5525 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008384/0.6552, allocations: 2.317 MB / 0.5548 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/0.6614, allocations: 2.227 MB / 0.557 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.6617, allocations: 248.6 kB / 0.5572 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.6632, allocations: 411.3 kB / 0.5576 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.6838, allocations: 10.03 MB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.684, allocations: 39.69 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004729/0.6845, allocations: 153.7 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002821/0.6873, allocations: 1.835 MB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.7068, allocations: 8.326 MB / 0.5775 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05541/0.7623, allocations: 38.9 MB / 0.6155 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.7726, allocations: 3.726 MB / 0.6191 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/0.7862, allocations: 7.992 MB / 0.6269 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.7863, allocations: 63.45 kB / 0.627 GB, free: 15.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.378e-06/0.7863, allocations: 0 / 0.627 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03062/0.817, allocations: 12.71 MB / 0.6394 GB, free: 2.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001244/0.8182, allocations: 1.634 MB / 0.641 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/0.824, allocations: 3.945 MB / 0.6448 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004533/0.8244, allocations: 45.7 kB / 0.6449 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002214/0.8267, allocations: 3.054 MB / 0.6479 GB, free: 9.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009219/0.8276, allocations: 0.5954 MB / 0.6484 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.8279, allocations: 116 kB / 0.6486 GB, free: 8.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003387/0.8282, allocations: 0.5497 MB / 0.6491 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.8312, allocations: 2.053 MB / 0.6511 GB, free: 6.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006594/0.8378, allocations: 5.664 MB / 0.6566 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006787/0.8447, allocations: 3.316 MB / 0.6599 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-05/0.8448, allocations: 39.98 kB / 0.6599 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02251/0.8673, allocations: 9.258 MB / 0.6689 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-05/0.8674, allocations: 64 kB / 0.669 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01072/0.8782, allocations: 3.702 MB / 0.6726 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.8886, allocations: 2.34 MB / 0.6749 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004667/0.8933, allocations: 1.318 MB / 0.6762 GB, free: 10.56 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.9034, allocations: 7.294 MB / 0.6833 GB, free: 2.996 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005327/0.9087, allocations: 405.7 kB / 0.6837 GB, free: 2.602 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009429/0.9097, allocations: 360 kB / 0.684 GB, free: 2.25 MB / 0.5138 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.004085/0.9138, allocations: 2.035 MB / 0.686 GB, free: 208 kB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007385/0.9145, allocations: 328.2 kB / 0.6863 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007938/0.9153, allocations: 440.6 kB / 0.6868 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004837/0.9202, allocations: 2.508 MB / 0.6892 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.9202, allocations: 7.984 kB / 0.6892 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.9202, allocations: 3.984 kB / 0.6892 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.9362, allocations: 8.571 MB / 0.6976 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.9363, allocations: 0 / 0.6976 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.9375, allocations: 251.6 kB / 0.6978 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.9405, allocations: 1.041 MB / 0.6989 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.9407, allocations: 39.97 kB / 0.6989 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.9462, allocations: 5.116 MB / 0.7039 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009912/0.9473, allocations: 1.49 MB / 0.7053 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008373/0.9556, allocations: 5.365 MB / 0.7106 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/0.9571, allocations: 400.6 kB / 0.711 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000363/0.9575, allocations: 24 kB / 0.711 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.9589, allocations: 139.8 kB / 0.7111 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.9592, allocations: 92.8 kB / 0.7112 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.9593, allocations: 51.97 kB / 0.7113 GB, free: 5.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004204/0.9636, allocations: 2.459 MB / 0.7137 GB, free: 3.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9636, allocations: 0 / 0.7137 GB, free: 3.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006319/0.9699, allocations: 1.057 MB / 0.7147 GB, free: 2.262 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.3401/1.31, allocations: 6.341 MB / 0.7209 GB, free: 189.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.325, allocations: 5.516 MB / 0.7263 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.325, allocations: 0 / 0.7263 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005487/1.33, allocations: 2.154 MB / 0.7284 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.334, allocations: 403.1 kB / 0.7288 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/1.442, allocations: 123.1 MB / 0.849 GB, free: 77.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/1.446, allocations: 3.25 MB / 0.8522 GB, free: 75.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00452/1.451, allocations: 1.81 MB / 0.854 GB, free: 74.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002569/1.453, allocations: 1.792 MB / 0.8557 GB, free: 72.31 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/1.453, allocations: 0 / 0.8557 GB, free: 72.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4426/1.896, allocations: 76.52 MB / 0.9304 GB, free: 173.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.896, allocations: 211.8 kB / 0.9306 GB, free: 173.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.831/5.727, allocations: 3.25 kB / 0.9306 GB, free: 173.4 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