Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009137, allocations: 89.86 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.488e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1324, allocations: 61.93 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5989, allocations: 103.3 MB / 0.6027 GB, free: 1.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5992, allocations: 79.8 kB / 0.6028 GB, free: 1.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2815/0.8808, allocations: 98.62 MB / 0.6991 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8808, allocations: 0 / 0.6991 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004636/0.8813, allocations: 83.98 kB / 0.6991 GB, free: 14.66 MB / 0.5105 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.0144/0.8957, allocations: 4.093 MB / 0.7031 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.8958, allocations: 12.03 kB / 0.7032 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002591/0.8984, allocations: 0.5314 MB / 0.7037 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02576/0.9242, allocations: 5.986 MB / 0.7095 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3508/1.275, allocations: 8.225 MB / 0.7176 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/1.275, allocations: 250.8 kB / 0.7178 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.277, allocations: 350.8 kB / 0.7181 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/1.293, allocations: 6.765 MB / 0.7247 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/1.293, allocations: 62.05 kB / 0.7248 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/1.293, allocations: 154.8 kB / 0.7249 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/1.295, allocations: 0.5894 MB / 0.7255 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/1.306, allocations: 4.817 MB / 0.7302 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03623/1.342, allocations: 28.32 MB / 0.7579 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.344, allocations: 0.7191 MB / 0.7586 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/1.345, allocations: 211.1 kB / 0.7588 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/1.345, allocations: 11.58 kB / 0.7588 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.345, allocations: 48.31 kB / 0.7588 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.504e-06/1.345, allocations: 0 / 0.7588 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.006245/1.351, allocations: 1.748 MB / 0.7605 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/1.351, allocations: 242 kB / 0.7608 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007058/1.358, allocations: 4.087 MB / 0.7648 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/1.358, allocations: 39.39 kB / 0.7648 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.36, allocations: 2.759 MB / 0.7675 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/1.361, allocations: 196 kB / 0.7677 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/1.361, allocations: 69.28 kB / 0.7678 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.361, allocations: 449.4 kB / 0.7682 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/1.362, allocations: 0.7422 MB / 0.7689 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.364, allocations: 3.35 MB / 0.7722 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.366, allocations: 1.518 MB / 0.7737 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.095e-05/1.366, allocations: 28.78 kB / 0.7737 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005909/1.372, allocations: 3.944 MB / 0.7775 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/1.372, allocations: 46.19 kB / 0.7776 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-05/1.372, allocations: 97.88 kB / 0.7777 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/1.372, allocations: 137.7 kB / 0.7778 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.374, allocations: 0.8605 MB / 0.7786 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.262e-05/1.374, allocations: 182.6 kB / 0.7788 GB, free: 94.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.378, allocations: 0.6208 MB / 0.7794 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/1.378, allocations: 235.3 kB / 0.7797 GB, free: 94.45 MB / 0.5105 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.0003559/1.378, allocations: 433.9 kB / 0.7801 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/1.379, allocations: 384.8 kB / 0.7804 GB, free: 93.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008082/1.38, allocations: 395.4 kB / 0.7808 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.38, allocations: 2.906 kB / 0.7808 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.38, allocations: 5.594 kB / 0.7808 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.38, allocations: 6.859 kB / 0.7808 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.385, allocations: 4.543 MB / 0.7853 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.385, allocations: 13.75 kB / 0.7853 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/1.385, allocations: 96.92 kB / 0.7854 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/1.385, allocations: 18.88 kB / 0.7854 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/1.386, allocations: 22.84 kB / 0.7854 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/1.386, allocations: 18.69 kB / 0.7854 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.386, allocations: 26.55 kB / 0.7854 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/1.387, allocations: 2.827 MB / 0.7882 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/1.388, allocations: 477 kB / 0.7887 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/1.388, allocations: 30.23 kB / 0.7887 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.389, allocations: 64.97 kB / 0.7888 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/1.389, allocations: 76.66 kB / 0.7888 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/1.389, allocations: 30.91 kB / 0.7889 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003891/1.393, allocations: 2.999 MB / 0.7918 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/1.393, allocations: 0 / 0.7918 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003394/1.396, allocations: 0.8558 MB / 0.7926 GB, free: 86.86 MB / 0.5105 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.002037/1.398, allocations: 5.797 MB / 0.7983 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0026/1.401, allocations: 1.805 MB / 0.8 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.401, allocations: 1.812 kB / 0.8 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/1.401, allocations: 227.2 kB / 0.8003 GB, free: 80.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.404, allocations: 0.6249 MB / 0.8009 GB, free: 80.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.417, allocations: 6.738 MB / 0.8075 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/1.419, allocations: 2.929 MB / 0.8103 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002925/1.422, allocations: 1.163 MB / 0.8115 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.424, allocations: 1.715 MB / 0.8131 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/1.424, allocations: 0 / 0.8131 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.528, allocations: 65.66 MB / 0.8772 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.528, allocations: 139.3 kB / 0.8774 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.736/6.263, allocations: 0 / 0.8774 GB, free: 21.85 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat