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.002338/0.002344, allocations: 183.1 kB / 16.4 MB, free: 5.75 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.186/2.186, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001216/0.001215, allocations: 98.2 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5269/0.5269, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 11.98 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.4349/0.5816, allocations: 60.51 MB / 0.5379 GB, free: 7.438 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05325/0.635, allocations: 13.94 MB / 0.5515 GB, free: 13.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01537/0.6504, allocations: 313.8 kB / 0.5518 GB, free: 13.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.662, allocations: 3.019 MB / 0.5548 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0367/0.6988, allocations: 8.832 MB / 0.5634 GB, free: 8.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.7047, allocations: 0.9167 MB / 0.5643 GB, free: 8.402 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07466/0.7794, allocations: 27.02 MB / 0.5907 GB, free: 3.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009584/0.7891, allocations: 4.211 MB / 0.5948 GB, free: 15.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.7929, allocations: 1.258 MB / 0.596 GB, free: 14.17 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/0.7973, allocations: 1.831 MB / 0.5978 GB, free: 12.33 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.7985, allocations: 140 kB / 0.5979 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.8015, allocations: 0.6087 MB / 0.5985 GB, free: 11.59 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003769/0.8053, allocations: 1.921 MB / 0.6004 GB, free: 9.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.8075, allocations: 0.8078 MB / 0.6012 GB, free: 8.844 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009574/0.8171, allocations: 5.459 MB / 0.6065 GB, free: 3.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8171, allocations: 0 / 0.6065 GB, free: 3.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.8171, allocations: 0 / 0.6065 GB, free: 3.371 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002368/0.8174, allocations: 3.938 kB / 0.6065 GB, free: 3.367 MB / 426.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.01911/0.8365, allocations: 4.68 MB / 0.6111 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8366, allocations: 8.031 kB / 0.6111 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001998/0.8386, allocations: 0.5118 MB / 0.6116 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2133/1.052, allocations: 9.967 MB / 0.6213 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/1.07, allocations: 5.288 MB / 0.6265 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/1.07, allocations: 205.2 kB / 0.6267 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/1.071, allocations: 296.7 kB / 0.627 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/1.093, allocations: 6.984 MB / 0.6338 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002534/1.093, allocations: 55.55 kB / 0.6339 GB, free: 6.664 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005446/1.094, allocations: 131.9 kB / 0.634 GB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002892/1.097, allocations: 1.002 MB / 0.635 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/1.115, allocations: 5.018 MB / 0.6399 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05051/1.166, allocations: 27.6 MB / 0.6668 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/1.17, allocations: 0.7308 MB / 0.6675 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/1.17, allocations: 16.23 kB / 0.6675 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/1.17, allocations: 38.69 kB / 0.6676 GB, free: 3.336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/1.17, allocations: 0 / 0.6676 GB, free: 3.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.0142/1.184, allocations: 2.26 MB / 0.6698 GB, free: 1.062 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/1.185, allocations: 239.3 kB / 0.67 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3404/1.525, allocations: 5.388 MB / 0.6753 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.525, allocations: 33.95 kB / 0.6753 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003172/1.528, allocations: 2.541 MB / 0.6778 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/1.529, allocations: 192.4 kB / 0.678 GB, free: 140.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/1.529, allocations: 70.56 kB / 0.678 GB, free: 140.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002724/1.529, allocations: 461.1 kB / 0.6785 GB, free: 140 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.532, allocations: 0.7821 MB / 0.6792 GB, free: 139.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/1.536, allocations: 3.391 MB / 0.6825 GB, free: 136 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/1.54, allocations: 1.538 MB / 0.6841 GB, free: 135.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/1.54, allocations: 26.44 kB / 0.6841 GB, free: 135.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01058/1.55, allocations: 3.786 MB / 0.6878 GB, free: 134.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.769e-05/1.55, allocations: 48.72 kB / 0.6878 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/1.551, allocations: 97.88 kB / 0.6879 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/1.551, allocations: 135.7 kB / 0.688 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004653/1.555, allocations: 0.8515 MB / 0.6889 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001955/1.556, allocations: 185.2 kB / 0.6891 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/1.561, allocations: 0.5651 MB / 0.6896 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006296/1.562, allocations: 233.4 kB / 0.6898 GB, free: 133.5 MB / 490.7 MB 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.003746/1.566, allocations: 1.631 MB / 0.6914 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.567, allocations: 388.6 kB / 0.6918 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.568, allocations: 402.4 kB / 0.6922 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.568, allocations: 6.188 kB / 0.6922 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.568, allocations: 0.7969 kB / 0.6922 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.568, allocations: 6.047 kB / 0.6922 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.579, allocations: 4.823 MB / 0.6969 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.579, allocations: 18.94 kB / 0.6969 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/1.58, allocations: 117.2 kB / 0.697 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.517e-05/1.58, allocations: 22.92 kB / 0.697 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/1.58, allocations: 26.69 kB / 0.6971 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.333e-05/1.58, allocations: 29.36 kB / 0.6971 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/1.58, allocations: 19.53 kB / 0.6971 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/1.583, allocations: 3.283 MB / 0.7003 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.584, allocations: 0.5165 MB / 0.7008 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.586, allocations: 30.41 kB / 0.7009 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/1.588, allocations: 36.56 kB / 0.7009 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.588, allocations: 91.69 kB / 0.701 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/1.588, allocations: 32.81 kB / 0.701 GB, free: 126 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008816/1.597, allocations: 3.624 MB / 0.7045 GB, free: 124.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.597, allocations: 0 / 0.7045 GB, free: 124.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005346/1.602, allocations: 0.8647 MB / 0.7054 GB, free: 124.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (61): * Single equations (assignments): 61 * 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.003853/1.606, allocations: 6.672 MB / 0.7119 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004605/1.611, allocations: 1.885 MB / 0.7138 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/1.611, allocations: 2.938 kB / 0.7138 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005788/1.612, allocations: 265.7 kB / 0.714 GB, free: 117.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005335/1.617, allocations: 0.6255 MB / 0.7146 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09802/1.715, allocations: 96.62 MB / 0.809 GB, free: 29.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006318/1.721, allocations: 2.953 MB / 0.8119 GB, free: 27.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003592/1.725, allocations: 1.756 MB / 0.8136 GB, free: 26.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/1.725, allocations: 7.938 kB / 0.8136 GB, free: 26.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.387/6.112, allocations: 71.23 MB / 0.8831 GB, free: 132.6 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