Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.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.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 198.3 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.476/1.476, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 96.09 kB / 297.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3829/0.3829, allocations: 45.22 MB / 394.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4135, allocations: 63.24 MB / 0.5193 GB, free: 43.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5548, allocations: 104.3 MB / 0.6211 GB, free: 1.184 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5552, allocations: 91.91 kB / 0.6212 GB, free: 1.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6113/1.166, allocations: 106.8 MB / 0.7255 GB, free: 97.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.307e-06/1.167, allocations: 0 / 0.7255 GB, free: 97.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004626/1.167, allocations: 83.36 kB / 0.7256 GB, free: 97.64 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01666/1.184, allocations: 4.739 MB / 0.7302 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.184, allocations: 15.88 kB / 0.7302 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002876/1.187, allocations: 0.5362 MB / 0.7308 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/1.213, allocations: 5.976 MB / 0.7366 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02258/1.235, allocations: 7.264 MB / 0.7437 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/1.236, allocations: 244.3 kB / 0.7439 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/1.238, allocations: 361.3 kB / 0.7443 GB, free: 94.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/1.255, allocations: 6.875 MB / 0.751 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/1.255, allocations: 60.84 kB / 0.751 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004284/1.255, allocations: 158.9 kB / 0.7512 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009716/1.256, allocations: 0.5872 MB / 0.7518 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/1.267, allocations: 5.026 MB / 0.7567 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03743/1.304, allocations: 28.32 MB / 0.7843 GB, free: 71.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/1.307, allocations: 0.7156 MB / 0.785 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/1.307, allocations: 11.58 kB / 0.785 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.307, allocations: 42.31 kB / 0.7851 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.585e-06/1.307, allocations: 0 / 0.7851 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.007104/1.314, allocations: 1.915 MB / 0.787 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/1.314, allocations: 246.8 kB / 0.7872 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009854/1.324, allocations: 4.199 MB / 0.7913 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/1.324, allocations: 33.27 kB / 0.7913 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002669/1.327, allocations: 2.753 MB / 0.794 GB, free: 66.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/1.327, allocations: 193.2 kB / 0.7942 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/1.327, allocations: 73.66 kB / 0.7943 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003126/1.328, allocations: 455.7 kB / 0.7947 GB, free: 65.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/1.329, allocations: 0.8208 MB / 0.7955 GB, free: 65.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/1.332, allocations: 3.428 MB / 0.7988 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/1.334, allocations: 1.588 MB / 0.8004 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/1.334, allocations: 29.09 kB / 0.8004 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.008199/1.342, allocations: 4.102 MB / 0.8044 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/1.342, allocations: 46.78 kB / 0.8045 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/1.343, allocations: 93.5 kB / 0.8046 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/1.343, allocations: 136.6 kB / 0.8047 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.345, allocations: 0.8613 MB / 0.8055 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001287/1.346, allocations: 178 kB / 0.8057 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/1.35, allocations: 0.6347 MB / 0.8063 GB, free: 59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005732/1.351, allocations: 233.3 kB / 0.8065 GB, free: 58.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * 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.003589/1.355, allocations: 1.627 MB / 0.8081 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.356, allocations: 377 kB / 0.8085 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/1.357, allocations: 398.8 kB / 0.8089 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.357, allocations: 7.844 kB / 0.8089 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.357, allocations: 0 / 0.8089 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.357, allocations: 6.656 kB / 0.8089 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.368, allocations: 4.551 MB / 0.8133 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.368, allocations: 8 kB / 0.8133 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/1.369, allocations: 95.31 kB / 0.8134 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/1.369, allocations: 20 kB / 0.8135 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/1.369, allocations: 24 kB / 0.8135 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/1.369, allocations: 23.88 kB / 0.8135 GB, free: 54.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.369, allocations: 15.94 kB / 0.8135 GB, free: 54.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/1.371, allocations: 2.845 MB / 0.8163 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.373, allocations: 476 kB / 0.8167 GB, free: 50.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.374, allocations: 27.84 kB / 0.8168 GB, free: 50.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.376, allocations: 64.97 kB / 0.8168 GB, free: 50.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.376, allocations: 70.05 kB / 0.8169 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/1.376, allocations: 35.41 kB / 0.8169 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007135/1.384, allocations: 3.11 MB / 0.82 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/1.384, allocations: 4 kB / 0.82 GB, free: 48.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005667/1.389, allocations: 0.8532 MB / 0.8208 GB, free: 47.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * 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.003449/1.393, allocations: 5.791 MB / 0.8265 GB, free: 41.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003921/1.397, allocations: 1.9 MB / 0.8283 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/1.397, allocations: 4 kB / 0.8283 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/1.397, allocations: 219.3 kB / 0.8285 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.401, allocations: 0.6239 MB / 0.8291 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3653/1.767, allocations: 94.19 MB / 0.9211 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/1.77, allocations: 2.935 MB / 0.924 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003593/1.774, allocations: 1.158 MB / 0.9251 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/1.776, allocations: 1.716 MB / 0.9268 GB, free: 104 MB / 0.5261 GB Notification: Performance of SimCode: time 1.984e-06/1.776, allocations: 0 / 0.9268 GB, free: 104 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/1.9, allocations: 66.68 MB / 0.9919 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/1.9, allocations: 171.3 kB / 0.9921 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/6.326, allocations: 0 / 0.9921 GB, free: 88.05 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat