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/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.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/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.2 MB / 245 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009869/0.0009869, allocations: 95.62 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4235/0.4235, allocations: 45.23 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002768, allocations: 8 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3734, allocations: 63.25 MB / 0.5193 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.519, allocations: 98.66 MB / 0.6156 GB, free: 6.922 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5194, allocations: 79.94 kB / 0.6157 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6316/1.151, allocations: 142.9 MB / 0.7553 GB, free: 93.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.016e-06/1.151, allocations: 0 / 0.7553 GB, free: 93.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003603/1.151, allocations: 122.7 kB / 0.7554 GB, free: 93.68 MB / 0.4948 GB 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.01955/1.171, allocations: 6.291 MB / 0.7615 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.171, allocations: 9.719 kB / 0.7615 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006257/1.177, allocations: 1.38 MB / 0.7629 GB, free: 90.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02558/1.203, allocations: 6.548 MB / 0.7693 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/1.216, allocations: 4.29 MB / 0.7735 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005149/1.217, allocations: 0.5083 MB / 0.774 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004344/1.221, allocations: 0.6537 MB / 0.7746 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/1.261, allocations: 18.14 MB / 0.7923 GB, free: 79.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00026/1.261, allocations: 37.81 kB / 0.7923 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003206/1.265, allocations: 312.5 kB / 0.7926 GB, free: 79.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003085/1.268, allocations: 2.159 MB / 0.7948 GB, free: 78.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/1.3, allocations: 17.48 MB / 0.8118 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0866/1.386, allocations: 61.82 MB / 0.8722 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/1.402, allocations: 8.434 MB / 0.8804 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02622/1.429, allocations: 11.85 MB / 0.892 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/1.429, allocations: 64.55 kB / 0.8921 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 8.266e-06/1.429, allocations: 0 / 0.8921 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.2667/1.696, allocations: 8.54 MB / 0.9004 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/1.696, allocations: 102.4 kB / 0.9005 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009977/1.706, allocations: 5.018 MB / 0.9054 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006201/1.706, allocations: 59.77 kB / 0.9055 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003516/1.71, allocations: 5.093 MB / 0.9104 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.711, allocations: 1.199 MB / 0.9116 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005863/1.712, allocations: 183.5 kB / 0.9118 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005269/1.713, allocations: 0.7126 MB / 0.9125 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.717, allocations: 3.092 MB / 0.9155 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006596/1.724, allocations: 8.454 MB / 0.9238 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00675/1.731, allocations: 5.173 MB / 0.9288 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/1.731, allocations: 53.56 kB / 0.9289 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02514/1.756, allocations: 11.36 MB / 0.9399 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004151/1.756, allocations: 86.09 kB / 0.94 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005392/1.757, allocations: 191.6 kB / 0.9402 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/1.757, allocations: 280.1 kB / 0.9405 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007215/1.764, allocations: 2.067 MB / 0.9425 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003353/1.765, allocations: 379.6 kB / 0.9429 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007285/1.772, allocations: 1.297 MB / 0.9441 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/1.774, allocations: 0.5346 MB / 0.9446 GB, free: 102 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 863 * 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 (1135): * Single equations (assignments): 1123 * 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 prepare postOptimizeDAE: time 0.008681/1.783, allocations: 3.708 MB / 0.9483 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000974/1.784, allocations: 485 kB / 0.9487 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/1.786, allocations: 0.6546 MB / 0.9494 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001044/1.786, allocations: 56.98 kB / 0.9494 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.633e-05/1.786, allocations: 0 / 0.9494 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/1.786, allocations: 18.06 kB / 0.9494 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/1.812, allocations: 12.65 MB / 0.9618 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.812, allocations: 13.81 kB / 0.9618 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.814, allocations: 440 kB / 0.9622 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/1.814, allocations: 25.42 kB / 0.9623 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/1.814, allocations: 63.62 kB / 0.9623 GB, free: 95.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.814, allocations: 28.11 kB / 0.9623 GB, free: 95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.814, allocations: 23.81 kB / 0.9624 GB, free: 95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/1.819, allocations: 6.577 MB / 0.9688 GB, free: 90.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.821, allocations: 0.5856 MB / 0.9694 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006865/1.822, allocations: 59.66 kB / 0.9694 GB, free: 90.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.823, allocations: 126.2 kB / 0.9695 GB, free: 90.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/1.823, allocations: 173.3 kB / 0.9697 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.824, allocations: 100 kB / 0.9698 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005031/1.829, allocations: 3.46 MB / 0.9732 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.829, allocations: 0 / 0.9732 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00751/1.836, allocations: 1.985 MB / 0.9751 GB, free: 88.35 MB / 0.5261 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.005908/1.842, allocations: 10.14 MB / 0.985 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009872/1.852, allocations: 7.116 MB / 0.992 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/1.852, allocations: 0 / 0.992 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.855, allocations: 2.006 MB / 0.9939 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.858, allocations: 0.5678 MB / 0.9945 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3777/2.235, allocations: 182.4 MB / 1.173 GB, free: 80.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.246, allocations: 5.58 MB / 1.178 GB, free: 79.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01073/2.257, allocations: 3.649 MB / 1.182 GB, free: 79.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005526/2.262, allocations: 3.327 MB / 1.185 GB, free: 79.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/2.262, allocations: 0 / 1.185 GB, free: 79.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1893/2.451, allocations: 111.4 MB / 1.294 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/2.452, allocations: 175.7 kB / 1.294 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.45/8.902, allocations: 0 / 1.294 GB, free: 11.55 MB / 0.5573 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