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.0009663/0.0009664, allocations: 100.4 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.001226/0.001226, allocations: 191.8 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.409/1.409, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.194/0.194, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002585, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 63.48 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2707/0.4019, allocations: 37.32 MB / 0.5068 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.4179, allocations: 7.575 MB / 0.5142 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007135/0.425, allocations: 178.6 kB / 0.5144 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006829/0.4319, allocations: 1.935 MB / 0.5163 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.4486, allocations: 5.672 MB / 0.5218 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.4508, allocations: 281.1 kB / 0.5221 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04112/0.492, allocations: 34.68 MB / 0.5559 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006456/0.4984, allocations: 3.89 MB / 0.5597 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.5023, allocations: 1.884 MB / 0.5616 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00416/0.5065, allocations: 2.748 MB / 0.5642 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009545/0.5075, allocations: 228 kB / 0.5645 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.5095, allocations: 0.5864 MB / 0.565 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.5123, allocations: 2.56 MB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.5143, allocations: 1.332 MB / 0.5688 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009063/0.5233, allocations: 8.136 MB / 0.5768 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5234, allocations: 0 / 0.5768 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5234, allocations: 0 / 0.5768 GB, free: 5.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003231/0.5237, allocations: 4 kB / 0.5768 GB, free: 5.27 MB / 414.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.01072/0.5344, allocations: 5.81 MB / 0.5825 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5345, allocations: 16.03 kB / 0.5825 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002737/0.5372, allocations: 1.268 MB / 0.5837 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/0.5556, allocations: 6.035 MB / 0.5896 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006904/0.5625, allocations: 3.204 MB / 0.5927 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.5629, allocations: 328.8 kB / 0.5931 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.5647, allocations: 411.7 kB / 0.5934 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03183/0.5966, allocations: 18.86 MB / 0.6119 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-05/0.5967, allocations: 31.69 kB / 0.6119 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007406/0.5975, allocations: 212.2 kB / 0.6121 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006832/0.6043, allocations: 4.742 MB / 0.6167 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03228/0.6366, allocations: 17.44 MB / 0.6338 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09279/0.7295, allocations: 61.26 MB / 0.6936 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.7445, allocations: 8.408 MB / 0.7018 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.7485, allocations: 2.567 MB / 0.7043 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.307/1.055, allocations: 11.86 MB / 0.7159 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/1.056, allocations: 61.7 kB / 0.716 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.094e-06/1.056, allocations: 0 / 0.716 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01627/1.072, allocations: 7.486 MB / 0.7233 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.072, allocations: 101.9 kB / 0.7234 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007151/1.079, allocations: 5.648 MB / 0.7289 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004745/1.08, allocations: 65.77 kB / 0.7289 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/1.082, allocations: 5.069 MB / 0.7339 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.084, allocations: 1.197 MB / 0.7351 GB, free: 133 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/1.084, allocations: 181 kB / 0.7352 GB, free: 133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004328/1.085, allocations: 0.73 MB / 0.7359 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004225/1.089, allocations: 3.176 MB / 0.739 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005847/1.095, allocations: 8.618 MB / 0.7475 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006345/1.101, allocations: 5.272 MB / 0.7526 GB, free: 125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/1.101, allocations: 58.84 kB / 0.7527 GB, free: 125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01656/1.118, allocations: 11.57 MB / 0.764 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.118, allocations: 87.84 kB / 0.764 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/1.118, allocations: 204.1 kB / 0.7642 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/1.118, allocations: 280.8 kB / 0.7645 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005435/1.124, allocations: 2.073 MB / 0.7665 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002239/1.124, allocations: 377 kB / 0.7669 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/1.13, allocations: 1.324 MB / 0.7682 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.131, allocations: 0.557 MB / 0.7687 GB, free: 114.2 MB / 0.5294 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.005408/1.136, allocations: 3.693 MB / 0.7723 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/1.137, allocations: 487.6 kB / 0.7728 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.138, allocations: 0.6528 MB / 0.7734 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/1.138, allocations: 65.62 kB / 0.7735 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.02e-05/1.138, allocations: 0 / 0.7735 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.138, allocations: 7.969 kB / 0.7735 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.155, allocations: 12.6 MB / 0.7858 GB, free: 96.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.155, allocations: 13 kB / 0.7858 GB, free: 96.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.157, allocations: 419.3 kB / 0.7862 GB, free: 96.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/1.157, allocations: 28 kB / 0.7863 GB, free: 96.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.157, allocations: 61.72 kB / 0.7863 GB, free: 96.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/1.157, allocations: 35.86 kB / 0.7863 GB, free: 96.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.157, allocations: 15.94 kB / 0.7864 GB, free: 96.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/1.161, allocations: 4.628 MB / 0.7909 GB, free: 91.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009831/1.162, allocations: 0.5838 MB / 0.7915 GB, free: 90.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004561/1.163, allocations: 57.62 kB / 0.7915 GB, free: 90.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.164, allocations: 129.3 kB / 0.7916 GB, free: 90.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.164, allocations: 182.1 kB / 0.7918 GB, free: 90.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.164, allocations: 93.48 kB / 0.7919 GB, free: 90.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004604/1.169, allocations: 3.462 MB / 0.7953 GB, free: 86.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.169, allocations: 1.641 kB / 0.7953 GB, free: 86.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007064/1.176, allocations: 1.986 MB / 0.7972 GB, free: 84.73 MB / 0.5294 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.004672/1.181, allocations: 5.298 MB / 0.8024 GB, free: 79.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008664/1.189, allocations: 7.236 MB / 0.8095 GB, free: 72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.189, allocations: 0 / 0.8095 GB, free: 72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.191, allocations: 1.997 MB / 0.8114 GB, free: 70.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.194, allocations: 0.6046 MB / 0.812 GB, free: 69.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07005/1.264, allocations: 52.3 MB / 0.8631 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00569/1.27, allocations: 5.415 MB / 0.8684 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007384/1.278, allocations: 3.551 MB / 0.8718 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/1.282, allocations: 3.329 MB / 0.8751 GB, free: 15.63 MB / 0.545 GB Notification: Performance of SimCode: time 1.744e-06/1.282, allocations: 0 / 0.8751 GB, free: 15.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3865/1.669, allocations: 111.3 MB / 0.9837 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/1.669, allocations: 187.5 kB / 0.9839 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.415/7.084, allocations: 0 / 0.9839 GB, free: 166.6 MB / 0.5762 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