Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2977/0.2977, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.546e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5238/0.6435, allocations: 101.4 MB / 0.5719 GB, free: 2.422 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6438, allocations: 74.64 kB / 0.5719 GB, free: 2.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4539/1.098, allocations: 97.91 MB / 0.6676 GB, free: 8.535 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.098, allocations: 0 / 0.6676 GB, free: 8.535 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004742/1.098, allocations: 80 kB / 0.6676 GB, free: 8.457 MB / 474.7 MB 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.02187/1.12, allocations: 4.108 MB / 0.6716 GB, free: 4.289 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/1.12, allocations: 8.031 kB / 0.6717 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003269/1.124, allocations: 0.5314 MB / 0.6722 GB, free: 3.742 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05193/1.176, allocations: 6.001 MB / 0.678 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03453/1.21, allocations: 8.979 MB / 0.6868 GB, free: 4.672 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/1.211, allocations: 254.6 kB / 0.687 GB, free: 4.422 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/1.212, allocations: 351.7 kB / 0.6874 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/1.236, allocations: 6.769 MB / 0.694 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003837/1.236, allocations: 55.55 kB / 0.694 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/1.238, allocations: 151.9 kB / 0.6942 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/1.24, allocations: 0.5875 MB / 0.6948 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.258, allocations: 4.817 MB / 0.6995 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4629/1.721, allocations: 28.43 MB / 0.7272 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/1.725, allocations: 0.7122 MB / 0.7279 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/1.726, allocations: 210.8 kB / 0.7281 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/1.726, allocations: 11.8 kB / 0.7281 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/1.726, allocations: 39.02 kB / 0.7282 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 3.757e-06/1.726, allocations: 3.625 kB / 0.7282 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.01434/1.74, allocations: 1.995 MB / 0.7301 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/1.74, allocations: 238.2 kB / 0.7304 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/1.753, allocations: 4.149 MB / 0.7344 GB, free: 101 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.753, allocations: 34.14 kB / 0.7344 GB, free: 101 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002697/1.756, allocations: 2.546 MB / 0.7369 GB, free: 100 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/1.756, allocations: 188.5 kB / 0.7371 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.756, allocations: 74.16 kB / 0.7372 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.757, allocations: 460.1 kB / 0.7376 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.759, allocations: 0.7365 MB / 0.7383 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/1.762, allocations: 3.351 MB / 0.7416 GB, free: 96.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/1.765, allocations: 1.524 MB / 0.7431 GB, free: 96.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/1.766, allocations: 30.31 kB / 0.7431 GB, free: 96.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.009829/1.775, allocations: 3.703 MB / 0.7467 GB, free: 96.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/1.776, allocations: 45.25 kB / 0.7468 GB, free: 96.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.776, allocations: 100.2 kB / 0.7469 GB, free: 96.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/1.776, allocations: 132 kB / 0.747 GB, free: 96.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004968/1.781, allocations: 0.8659 MB / 0.7478 GB, free: 96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/1.781, allocations: 182.2 kB / 0.748 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/1.788, allocations: 0.6281 MB / 0.7486 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009029/1.789, allocations: 232.2 kB / 0.7489 GB, free: 95.82 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 () * 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.0008291/1.79, allocations: 437.4 kB / 0.7493 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.791, allocations: 384.6 kB / 0.7496 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/1.793, allocations: 403.5 kB / 0.75 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.793, allocations: 3.906 kB / 0.75 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.793, allocations: 0 / 0.75 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/1.793, allocations: 3.781 kB / 0.75 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.805, allocations: 4.571 MB / 0.7545 GB, free: 94.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.805, allocations: 10.72 kB / 0.7545 GB, free: 94.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/1.805, allocations: 97 kB / 0.7546 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/1.806, allocations: 19.36 kB / 0.7546 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/1.806, allocations: 24.12 kB / 0.7546 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/1.806, allocations: 27.3 kB / 0.7547 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-05/1.806, allocations: 22.8 kB / 0.7547 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/1.808, allocations: 2.841 MB / 0.7575 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/1.81, allocations: 494.5 kB / 0.7579 GB, free: 90.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.811, allocations: 26.06 kB / 0.758 GB, free: 90.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.814, allocations: 68.31 kB / 0.758 GB, free: 90.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.814, allocations: 76.88 kB / 0.7581 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/1.814, allocations: 29.42 kB / 0.7581 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008378/1.823, allocations: 3.045 MB / 0.7611 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.082e-06/1.823, allocations: 3.25 kB / 0.7611 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005553/1.828, allocations: 0.8587 MB / 0.7619 GB, free: 90.67 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 () * 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.003359/1.832, allocations: 5.803 MB / 0.7676 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004407/1.836, allocations: 1.818 MB / 0.7694 GB, free: 84.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/1.836, allocations: 3.719 kB / 0.7694 GB, free: 84.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/1.837, allocations: 218.4 kB / 0.7696 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/1.842, allocations: 0.6269 MB / 0.7702 GB, free: 84.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/1.865, allocations: 7.214 MB / 0.7773 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005896/1.871, allocations: 2.945 MB / 0.7801 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003616/1.875, allocations: 1.753 MB / 0.7818 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.443e-06/1.875, allocations: 0 / 0.7818 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.807/5.682, allocations: 69.44 MB / 0.8497 GB, free: 38.74 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat