Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_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.002088/0.002088, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009568/0.0009568, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2221/0.2221, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/0.5194, allocations: 101.5 MB / 0.5779 GB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5196, allocations: 80.95 kB / 0.578 GB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2645/0.7842, allocations: 97.84 MB / 0.6736 GB, free: 4.668 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7842, allocations: 0 / 0.6736 GB, free: 4.668 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006955/0.7849, allocations: 84 kB / 0.6736 GB, free: 4.586 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.02122/0.8062, allocations: 4.798 MB / 0.6783 GB, free: 15.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.8062, allocations: 8.031 kB / 0.6783 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002842/0.8091, allocations: 0.5314 MB / 0.6788 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02578/0.8349, allocations: 5.986 MB / 0.6847 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/0.858, allocations: 9.04 MB / 0.6935 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.8583, allocations: 246.6 kB / 0.6938 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.8596, allocations: 355.7 kB / 0.6941 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.8744, allocations: 6.883 MB / 0.7008 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.8747, allocations: 63.45 kB / 0.7009 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.8751, allocations: 152 kB / 0.701 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/0.8761, allocations: 0.584 MB / 0.7016 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.8877, allocations: 5.033 MB / 0.7065 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3027/1.19, allocations: 28.42 MB / 0.7343 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.193, allocations: 0.7158 MB / 0.735 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/1.193, allocations: 19.53 kB / 0.735 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.193, allocations: 41.06 kB / 0.735 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/1.193, allocations: 0 / 0.735 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.007926/1.201, allocations: 2.148 MB / 0.7371 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/1.201, allocations: 238.8 kB / 0.7373 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007785/1.209, allocations: 4.257 MB / 0.7415 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/1.209, allocations: 32.73 kB / 0.7415 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.211, allocations: 2.774 MB / 0.7442 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.211, allocations: 196.9 kB / 0.7444 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.211, allocations: 64.59 kB / 0.7445 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.211, allocations: 458.6 kB / 0.7449 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/1.213, allocations: 0.8249 MB / 0.7457 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/1.215, allocations: 3.428 MB / 0.7491 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.217, allocations: 1.581 MB / 0.7506 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.433e-05/1.217, allocations: 28.72 kB / 0.7507 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006258/1.224, allocations: 4.116 MB / 0.7547 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/1.224, allocations: 49.94 kB / 0.7547 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.591e-05/1.224, allocations: 94.03 kB / 0.7548 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.485e-05/1.224, allocations: 133.8 kB / 0.7549 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.226, allocations: 0.8608 MB / 0.7558 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/1.226, allocations: 182.1 kB / 0.756 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004399/1.23, allocations: 0.6239 MB / 0.7566 GB, free: 96.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/1.231, allocations: 232.6 kB / 0.7568 GB, free: 96.49 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.002662/1.233, allocations: 1.636 MB / 0.7584 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/1.234, allocations: 382.8 kB / 0.7587 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/1.235, allocations: 407.6 kB / 0.7591 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.235, allocations: 7.844 kB / 0.7591 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.235, allocations: 0 / 0.7591 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.235, allocations: 2.781 kB / 0.7591 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/1.241, allocations: 4.568 MB / 0.7636 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.241, allocations: 13.91 kB / 0.7636 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.241, allocations: 100.1 kB / 0.7637 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/1.241, allocations: 19.66 kB / 0.7637 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.241, allocations: 23.44 kB / 0.7638 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/1.242, allocations: 19.88 kB / 0.7638 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.242, allocations: 18.16 kB / 0.7638 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.243, allocations: 2.858 MB / 0.7666 GB, free: 91.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.244, allocations: 492.2 kB / 0.7671 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/1.244, allocations: 26.5 kB / 0.7671 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/1.245, allocations: 65.77 kB / 0.7671 GB, free: 91.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/1.245, allocations: 71.36 kB / 0.7672 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/1.245, allocations: 24.94 kB / 0.7672 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004508/1.25, allocations: 3.157 MB / 0.7703 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.152e-06/1.25, allocations: 7.312 kB / 0.7703 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004374/1.254, allocations: 0.8639 MB / 0.7712 GB, free: 91.04 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.002265/1.257, allocations: 5.808 MB / 0.7768 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003118/1.26, allocations: 1.902 MB / 0.7787 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.26, allocations: 3.75 kB / 0.7787 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/1.26, allocations: 223.6 kB / 0.7789 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.263, allocations: 0.626 MB / 0.7795 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06642/1.329, allocations: 94.76 MB / 0.8721 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.333, allocations: 2.948 MB / 0.8749 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003462/1.336, allocations: 1.168 MB / 0.8761 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.339, allocations: 1.725 MB / 0.8778 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/1.339, allocations: 3.781 kB / 0.8778 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.378/1.716, allocations: 67.37 MB / 0.9436 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/1.717, allocations: 169.1 kB / 0.9437 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.271/5.988, allocations: 0 / 0.9437 GB, free: 130.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat