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.001062/0.001062, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009405/0.0009405, allocations: 97.59 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 45.14 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.584e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.4958, allocations: 103.5 MB / 0.6056 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4961, allocations: 75.41 kB / 0.6056 GB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2702/0.7663, allocations: 105.9 MB / 0.7091 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7663, allocations: 0 / 0.7091 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003809/0.7667, allocations: 80 kB / 0.7091 GB, free: 13.39 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.01242/0.7791, allocations: 4.093 MB / 0.7131 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.7792, allocations: 8.031 kB / 0.7131 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02531/0.8045, allocations: 5.99 MB / 0.719 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/0.8233, allocations: 7.202 MB / 0.726 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.8236, allocations: 104 kB / 0.7261 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.8249, allocations: 219.7 kB / 0.7263 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008832/0.8338, allocations: 4.087 MB / 0.7303 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.8471, allocations: 5.855 MB / 0.736 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003183/0.8475, allocations: 55.56 kB / 0.7361 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009605/0.8485, allocations: 20 kB / 0.7361 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001333/0.8498, allocations: 0.5913 MB / 0.7367 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.315/1.165, allocations: 27.14 MB / 0.7632 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/1.165, allocations: 322.1 kB / 0.7635 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/1.165, allocations: 159.8 kB / 0.7637 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/1.165, allocations: 9.609 kB / 0.7637 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.165, allocations: 46.28 kB / 0.7637 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.023e-06/1.165, allocations: 0 / 0.7637 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.004346/1.17, allocations: 1.24 MB / 0.7649 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/1.17, allocations: 239.3 kB / 0.7651 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/1.175, allocations: 3.368 MB / 0.7684 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/1.175, allocations: 26.73 kB / 0.7685 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.177, allocations: 2.813 MB / 0.7712 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/1.177, allocations: 164.9 kB / 0.7714 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/1.177, allocations: 0 / 0.7714 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002391/1.178, allocations: 459 kB / 0.7718 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009539/1.178, allocations: 0.6703 MB / 0.7725 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/1.18, allocations: 3.257 MB / 0.7756 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/1.182, allocations: 1.432 MB / 0.777 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.828e-05/1.182, allocations: 27.5 kB / 0.7771 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005966/1.188, allocations: 3.348 MB / 0.7803 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/1.188, allocations: 45.16 kB / 0.7804 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.189, allocations: 94.19 kB / 0.7805 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/1.189, allocations: 136.8 kB / 0.7806 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.191, allocations: 0.8604 MB / 0.7814 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002232/1.192, allocations: 185.4 kB / 0.7816 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/1.195, allocations: 0.502 MB / 0.7821 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/1.195, allocations: 236 kB / 0.7823 GB, free: 113.3 MB / 0.5261 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 () * 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.0003743/1.196, allocations: 362.5 kB / 0.7827 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007487/1.197, allocations: 0.583 MB / 0.7832 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/1.197, allocations: 329.7 kB / 0.7836 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/1.198, allocations: 348 kB / 0.7839 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.198, allocations: 3.906 kB / 0.7839 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.198, allocations: 0 / 0.7839 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.198, allocations: 7.688 kB / 0.7839 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/1.202, allocations: 3.449 MB / 0.7873 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.202, allocations: 11.91 kB / 0.7873 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.202, allocations: 80.19 kB / 0.7874 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/1.203, allocations: 14.38 kB / 0.7874 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/1.203, allocations: 11.84 kB / 0.7874 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/1.203, allocations: 25.22 kB / 0.7874 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.203, allocations: 13.34 kB / 0.7874 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/1.203, allocations: 2.049 MB / 0.7894 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/1.204, allocations: 415.4 kB / 0.7898 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/1.204, allocations: 14.58 kB / 0.7898 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/1.205, allocations: 57.11 kB / 0.7899 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/1.205, allocations: 65.22 kB / 0.7899 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.205, allocations: 24.31 kB / 0.79 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002545/1.208, allocations: 2.371 MB / 0.7923 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.208, allocations: 0 / 0.7923 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003064/1.211, allocations: 0.8271 MB / 0.7931 GB, free: 108.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.001358/1.212, allocations: 4.869 MB / 0.7978 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002144/1.215, allocations: 1.571 MB / 0.7994 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.215, allocations: 3.719 kB / 0.7994 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/1.215, allocations: 158.4 kB / 0.7995 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.217, allocations: 0.5419 MB / 0.8001 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009909/1.227, allocations: 6.43 MB / 0.8063 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.229, allocations: 2.928 MB / 0.8092 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00256/1.232, allocations: 1.087 MB / 0.8103 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/1.233, allocations: 1.683 MB / 0.8119 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/1.233, allocations: 0 / 0.8119 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08793/1.321, allocations: 56.96 MB / 0.8675 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001211/1.321, allocations: 131.9 kB / 0.8677 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/5.05, allocations: 3.938 kB / 0.8677 GB, free: 76.71 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