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.001028/0.001028, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00077/0.00077, allocations: 88.97 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1848/0.1848, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.577e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08505/0.08509, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3674/0.4525, allocations: 104.2 MB / 0.6132 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.4528, allocations: 76.47 kB / 0.6133 GB, free: 5.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2667/0.7194, allocations: 106.9 MB / 0.7177 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7195, allocations: 0 / 0.7177 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003494/0.7198, allocations: 80 kB / 0.7178 GB, free: 2.867 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.01318/0.733, allocations: 4.093 MB / 0.7218 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.7331, allocations: 15.97 kB / 0.7218 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002165/0.7353, allocations: 0.5352 MB / 0.7223 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0241/0.7594, allocations: 5.986 MB / 0.7281 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.7759, allocations: 7.224 MB / 0.7352 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.7762, allocations: 246.6 kB / 0.7354 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.7775, allocations: 351.7 kB / 0.7358 GB, free: 280 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.7924, allocations: 6.766 MB / 0.7424 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.7927, allocations: 63.48 kB / 0.7424 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005334/0.7932, allocations: 152 kB / 0.7426 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/0.7943, allocations: 0.5797 MB / 0.7431 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.8044, allocations: 4.829 MB / 0.7479 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2723/1.077, allocations: 28.31 MB / 0.7755 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/1.079, allocations: 0.7173 MB / 0.7762 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/1.079, allocations: 199.5 kB / 0.7764 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/1.08, allocations: 15.09 kB / 0.7764 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.08, allocations: 44.27 kB / 0.7764 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/1.08, allocations: 1.312 kB / 0.7764 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.006115/1.086, allocations: 1.755 MB / 0.7782 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/1.086, allocations: 237.6 kB / 0.7784 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/1.092, allocations: 4.085 MB / 0.7824 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/1.092, allocations: 34.89 kB / 0.7824 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.093, allocations: 2.752 MB / 0.7851 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/1.093, allocations: 199.7 kB / 0.7853 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.094, allocations: 73.41 kB / 0.7854 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.094, allocations: 459.5 kB / 0.7858 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.095, allocations: 0.7354 MB / 0.7865 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/1.097, allocations: 3.351 MB / 0.7898 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/1.098, allocations: 1.525 MB / 0.7913 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-05/1.098, allocations: 28.91 kB / 0.7913 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004581/1.103, allocations: 3.938 MB / 0.7952 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/1.103, allocations: 45.91 kB / 0.7952 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.388e-05/1.103, allocations: 98.38 kB / 0.7953 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/1.103, allocations: 132.7 kB / 0.7954 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.105, allocations: 0.8629 MB / 0.7963 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.502e-05/1.105, allocations: 182.7 kB / 0.7964 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.108, allocations: 0.6242 MB / 0.797 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/1.108, allocations: 237.5 kB / 0.7973 GB, free: 107.2 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.0003106/1.109, allocations: 440.3 kB / 0.7977 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.109, allocations: 375.4 kB / 0.798 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/1.11, allocations: 395.9 kB / 0.7984 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.11, allocations: 7.375 kB / 0.7984 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.11, allocations: 3.938 kB / 0.7984 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.11, allocations: 3.844 kB / 0.7984 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0049/1.115, allocations: 4.545 MB / 0.8029 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.115, allocations: 14.73 kB / 0.8029 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/1.115, allocations: 99.2 kB / 0.803 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/1.115, allocations: 14.66 kB / 0.803 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/1.115, allocations: 23.78 kB / 0.803 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.115, allocations: 21.73 kB / 0.803 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.115, allocations: 19.72 kB / 0.8031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009601/1.116, allocations: 2.836 MB / 0.8058 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/1.117, allocations: 476.6 kB / 0.8063 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.117, allocations: 35.25 kB / 0.8063 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009421/1.118, allocations: 61.55 kB / 0.8064 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/1.118, allocations: 68.55 kB / 0.8064 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/1.118, allocations: 29.62 kB / 0.8065 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003102/1.121, allocations: 3 MB / 0.8094 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/1.121, allocations: 3.625 kB / 0.8094 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002733/1.124, allocations: 0.8555 MB / 0.8102 GB, free: 102 MB / 0.5261 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 () * 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.001609/1.126, allocations: 5.792 MB / 0.8159 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002223/1.128, allocations: 1.806 MB / 0.8177 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.128, allocations: 4 kB / 0.8177 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/1.128, allocations: 224.8 kB / 0.8179 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.13, allocations: 0.6222 MB / 0.8185 GB, free: 96.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009883/1.14, allocations: 6.73 MB / 0.8251 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/1.142, allocations: 2.934 MB / 0.8279 GB, free: 92.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002632/1.145, allocations: 1.152 MB / 0.8291 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.146, allocations: 1.718 MB / 0.8307 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/1.146, allocations: 4 kB / 0.8307 GB, free: 91.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/1.232, allocations: 65.65 MB / 0.8948 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/1.232, allocations: 144.4 kB / 0.895 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/4.872, allocations: 6.031 kB / 0.895 GB, free: 50.65 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