Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001462, allocations: 98.19 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 11.98 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03516/0.1634, allocations: 35.33 MB / 0.5047 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.253/0.4164, allocations: 7.906 MB / 0.5125 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00531/0.4218, allocations: 181.1 kB / 0.5126 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004564/0.4264, allocations: 1.884 MB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.4405, allocations: 5.313 MB / 0.5197 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.442, allocations: 242.3 kB / 0.5199 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03318/0.4752, allocations: 26.21 MB / 0.5455 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005599/0.4808, allocations: 3.882 MB / 0.5493 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.4837, allocations: 1.563 MB / 0.5508 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.4863, allocations: 1.932 MB / 0.5527 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007639/0.4871, allocations: 228 kB / 0.5529 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.4886, allocations: 0.5714 MB / 0.5535 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.4905, allocations: 2.387 MB / 0.5558 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.4917, allocations: 1.33 MB / 0.5571 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007888/0.4996, allocations: 8.133 MB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4996, allocations: 0 / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.4997, allocations: 0 / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003256/0.5, allocations: 3.938 kB / 0.565 GB, free: 1.062 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01113/0.5111, allocations: 5.947 MB / 0.5709 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5112, allocations: 13.53 kB / 0.5709 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002757/0.514, allocations: 1.278 MB / 0.5721 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02206/0.536, allocations: 7.13 MB / 0.5791 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007965/0.544, allocations: 3.216 MB / 0.5822 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.5443, allocations: 318.2 kB / 0.5825 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.5458, allocations: 417.8 kB / 0.5829 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03251/0.5783, allocations: 18.98 MB / 0.6015 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-05/0.5784, allocations: 31.69 kB / 0.6015 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006566/0.5791, allocations: 208 kB / 0.6017 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007527/0.5866, allocations: 4.753 MB / 0.6063 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/0.6206, allocations: 17.6 MB / 0.6235 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09564/0.7163, allocations: 61.35 MB / 0.6834 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/0.7321, allocations: 8.435 MB / 0.6917 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02487/0.757, allocations: 11.93 MB / 0.7033 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.7571, allocations: 60.56 kB / 0.7034 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.113e-06/0.7571, allocations: 0 / 0.7034 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.02031/0.7774, allocations: 8.554 MB / 0.7117 GB, free: 7.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.7776, allocations: 107 kB / 0.7118 GB, free: 7.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00904/0.7866, allocations: 5.64 MB / 0.7173 GB, free: 2.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004764/0.7871, allocations: 65.69 kB / 0.7174 GB, free: 2.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2114/0.9986, allocations: 5.066 MB / 0.7223 GB, free: 188.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1, allocations: 1.201 MB / 0.7235 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/1.001, allocations: 180.7 kB / 0.7237 GB, free: 187.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0006149/1.002, allocations: 0.7252 MB / 0.7244 GB, free: 187.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005065/1.007, allocations: 3.173 MB / 0.7275 GB, free: 186.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008368/1.015, allocations: 8.579 MB / 0.7359 GB, free: 178.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/1.024, allocations: 5.276 MB / 0.741 GB, free: 176.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002781/1.024, allocations: 54.5 kB / 0.7411 GB, free: 176.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02097/1.045, allocations: 11.56 MB / 0.7524 GB, free: 172.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.045, allocations: 93.47 kB / 0.7525 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/1.045, allocations: 186.7 kB / 0.7526 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/1.045, allocations: 280.6 kB / 0.7529 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/1.051, allocations: 2.075 MB / 0.7549 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/1.051, allocations: 378.6 kB / 0.7553 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005848/1.057, allocations: 1.321 MB / 0.7566 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009703/1.058, allocations: 0.5508 MB / 0.7571 GB, free: 170.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005154/1.063, allocations: 3.711 MB / 0.7607 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/1.064, allocations: 483.6 kB / 0.7612 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/1.065, allocations: 0.6426 MB / 0.7618 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.448e-05/1.065, allocations: 58.75 kB / 0.7619 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.065, allocations: 3.719 kB / 0.7619 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.065, allocations: 10.17 kB / 0.7619 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/1.084, allocations: 12.62 MB / 0.7742 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.084, allocations: 12 kB / 0.7742 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.086, allocations: 422.9 kB / 0.7746 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.26e-05/1.086, allocations: 27.95 kB / 0.7747 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.086, allocations: 63.7 kB / 0.7747 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.343e-05/1.086, allocations: 31.55 kB / 0.7747 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/1.086, allocations: 20.62 kB / 0.7748 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005752/1.092, allocations: 6.589 MB / 0.7812 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.093, allocations: 0.5833 MB / 0.7818 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000828/1.094, allocations: 56.78 kB / 0.7818 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.096, allocations: 125.5 kB / 0.7819 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/1.096, allocations: 180.5 kB / 0.7821 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/1.096, allocations: 97.91 kB / 0.7822 GB, free: 151.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005004/1.101, allocations: 3.464 MB / 0.7856 GB, free: 149 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/1.101, allocations: 3.938 kB / 0.7856 GB, free: 149 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007637/1.109, allocations: 1.992 MB / 0.7875 GB, free: 147 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005613/1.115, allocations: 10.12 MB / 0.7974 GB, free: 136.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008997/1.124, allocations: 7.236 MB / 0.8045 GB, free: 129.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.124, allocations: 4.375 kB / 0.8045 GB, free: 129.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/1.126, allocations: 2 MB / 0.8064 GB, free: 127.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.128, allocations: 0.5666 MB / 0.807 GB, free: 127 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2744/1.402, allocations: 163.3 MB / 0.9664 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/1.414, allocations: 5.578 MB / 0.9719 GB, free: 136.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009794/1.424, allocations: 3.548 MB / 0.9753 GB, free: 136.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005251/1.429, allocations: 3.323 MB / 0.9786 GB, free: 135.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/1.429, allocations: 1.031 kB / 0.9786 GB, free: 135.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1741/1.603, allocations: 110.1 MB / 1.086 GB, free: 39.81 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.604, allocations: 182.1 kB / 1.086 GB, free: 39.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.338/6.942, allocations: 0 / 1.086 GB, free: 39.57 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat