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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 95.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.342/0.4859, allocations: 60.46 MB / 0.5195 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03676/0.5227, allocations: 13.95 MB / 0.5332 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/0.5377, allocations: 308.5 kB / 0.5335 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.5492, allocations: 3.013 MB / 0.5364 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0333/0.5825, allocations: 8.834 MB / 0.545 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.5873, allocations: 0.9158 MB / 0.5459 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06838/0.6557, allocations: 48.78 MB / 0.5936 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006229/0.662, allocations: 4.202 MB / 0.5977 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.6645, allocations: 1.242 MB / 0.5989 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.6669, allocations: 1.819 MB / 0.6006 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.6674, allocations: 144 kB / 0.6008 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.6689, allocations: 0.6165 MB / 0.6014 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.6708, allocations: 1.886 MB / 0.6032 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.6718, allocations: 0.8077 MB / 0.604 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005802/0.6776, allocations: 5.402 MB / 0.6093 GB, free: 6.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6776, allocations: 0 / 0.6093 GB, free: 6.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.6776, allocations: 0 / 0.6093 GB, free: 6.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002456/0.6779, allocations: 0 / 0.6093 GB, free: 6.562 MB / 446.1 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.01239/0.6903, allocations: 4.641 MB / 0.6138 GB, free: 1.852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6903, allocations: 8.031 kB / 0.6138 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/0.6916, allocations: 0.5157 MB / 0.6143 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09613/0.7877, allocations: 9.959 MB / 0.6241 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.7983, allocations: 4.506 MB / 0.6285 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.7986, allocations: 209.2 kB / 0.6287 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008233/0.7994, allocations: 291.6 kB / 0.6289 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.8116, allocations: 6.984 MB / 0.6358 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001364/0.8118, allocations: 55.55 kB / 0.6358 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.8121, allocations: 131.9 kB / 0.6359 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/0.8136, allocations: 0.9978 MB / 0.6369 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.8239, allocations: 5.025 MB / 0.6418 GB, free: 4.516 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03645/0.8604, allocations: 27.5 MB / 0.6687 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.863, allocations: 0.7386 MB / 0.6694 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.8631, allocations: 16.42 kB / 0.6694 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.8631, allocations: 34.56 kB / 0.6694 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.865e-06/0.8631, allocations: 4 kB / 0.6695 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.00726/0.8704, allocations: 1.975 MB / 0.6714 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.8706, allocations: 247.3 kB / 0.6716 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00812/0.8787, allocations: 5.32 MB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.8788, allocations: 33.7 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/0.881, allocations: 2.75 MB / 0.6795 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.8812, allocations: 194.1 kB / 0.6797 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.8813, allocations: 72 kB / 0.6798 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.8815, allocations: 461.3 kB / 0.6802 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.8827, allocations: 0.7837 MB / 0.681 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.8853, allocations: 3.382 MB / 0.6843 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.8873, allocations: 1.534 MB / 0.6858 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/0.8874, allocations: 28 kB / 0.6858 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.006239/0.8936, allocations: 4.023 MB / 0.6897 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.8937, allocations: 44 kB / 0.6898 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.208e-05/0.8938, allocations: 99.98 kB / 0.6899 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.8939, allocations: 132 kB / 0.69 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.8961, allocations: 0.8579 MB / 0.6908 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/0.8962, allocations: 187.3 kB / 0.691 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/0.8995, allocations: 0.5566 MB / 0.6916 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.8998, allocations: 236 kB / 0.6918 GB, free: 15.07 MB / 0.5294 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.002295/0.9021, allocations: 1.622 MB / 0.6934 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/0.9027, allocations: 379.1 kB / 0.6937 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.9033, allocations: 393.2 kB / 0.6941 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.9033, allocations: 8 kB / 0.6941 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.9034, allocations: 7.922 kB / 0.6941 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9034, allocations: 4 kB / 0.6941 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/0.9105, allocations: 4.804 MB / 0.6988 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.9105, allocations: 15.98 kB / 0.6988 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.9109, allocations: 115.8 kB / 0.6989 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-05/0.9109, allocations: 24.03 kB / 0.699 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.9109, allocations: 28 kB / 0.699 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.853e-05/0.911, allocations: 27.86 kB / 0.699 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-05/0.911, allocations: 19.94 kB / 0.699 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.9137, allocations: 3.258 MB / 0.7022 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.915, allocations: 0.5077 MB / 0.7027 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.9154, allocations: 32 kB / 0.7028 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009663/0.9164, allocations: 43.97 kB / 0.7028 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.9165, allocations: 83.61 kB / 0.7029 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.9165, allocations: 32.19 kB / 0.7029 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2745/1.191, allocations: 3.577 MB / 0.7064 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/1.191, allocations: 1.188 kB / 0.7064 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004859/1.196, allocations: 0.8609 MB / 0.7072 GB, free: 190.7 MB / 0.5294 GB 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.003643/1.2, allocations: 6.666 MB / 0.7137 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004112/1.204, allocations: 1.884 MB / 0.7156 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.204, allocations: 2.062 kB / 0.7156 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/1.204, allocations: 266.3 kB / 0.7158 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/1.208, allocations: 0.6268 MB / 0.7165 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06696/1.275, allocations: 95.8 MB / 0.81 GB, free: 98.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.277, allocations: 2.928 MB / 0.8129 GB, free: 97.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003131/1.28, allocations: 1.171 MB / 0.814 GB, free: 96.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/1.282, allocations: 1.71 MB / 0.8157 GB, free: 94.63 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.282, allocations: 0 / 0.8157 GB, free: 94.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09522/1.378, allocations: 68.67 MB / 0.8827 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/1.378, allocations: 166.4 kB / 0.8829 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.823/5.201, allocations: 3.828 kB / 0.8829 GB, free: 26.21 MB / 0.5294 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