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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007392/0.0007392, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 176.9 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.4 MB / 222.7 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3592/0.3592, allocations: 43.56 MB / 314.6 MB, free: 8.664 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005206, allocations: 18.97 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.2578/0.3799, allocations: 64.11 MB / 0.4951 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03141/0.4114, allocations: 13.31 MB / 0.5081 GB, free: 396 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01674/0.4282, allocations: 310.2 kB / 0.5084 GB, free: 344 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.4406, allocations: 3.167 MB / 0.5115 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03232/0.473, allocations: 9.588 MB / 0.5208 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.4784, allocations: 0.9287 MB / 0.5218 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04825/0.5266, allocations: 35.14 MB / 0.5561 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008368/0.5351, allocations: 4.239 MB / 0.5602 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.539, allocations: 1.533 MB / 0.5617 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004765/0.5438, allocations: 2.559 MB / 0.5642 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.545, allocations: 140 kB / 0.5643 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.5474, allocations: 0.6359 MB / 0.565 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.5497, allocations: 2.065 MB / 0.567 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.5508, allocations: 0.8038 MB / 0.5678 GB, free: 156 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.5563, allocations: 5.467 MB / 0.5731 GB, free: 10.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5563, allocations: 0 / 0.5731 GB, free: 10.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5563, allocations: 0 / 0.5731 GB, free: 10.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.5565, allocations: 4 kB / 0.5731 GB, free: 10.67 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.009004/0.5655, allocations: 4.685 MB / 0.5777 GB, free: 5.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5655, allocations: 8.031 kB / 0.5777 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007669/0.5663, allocations: 0.5079 MB / 0.5782 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07644/0.6428, allocations: 8.402 MB / 0.5864 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.6538, allocations: 6.298 MB / 0.5925 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.654, allocations: 206.8 kB / 0.5927 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005049/0.6545, allocations: 291.7 kB / 0.593 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.6656, allocations: 6.925 MB / 0.5998 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.6658, allocations: 59.45 kB / 0.5998 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.6661, allocations: 131.9 kB / 0.6 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001395/0.6675, allocations: 1.005 MB / 0.6009 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009415/0.6769, allocations: 4.947 MB / 0.6058 GB, free: 8.488 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2743/0.9512, allocations: 27.34 MB / 0.6325 GB, free: 127.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.9536, allocations: 0.7347 MB / 0.6332 GB, free: 127.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.9539, allocations: 216.7 kB / 0.6334 GB, free: 127.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.954, allocations: 15.05 kB / 0.6334 GB, free: 127.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.954, allocations: 36.69 kB / 0.6334 GB, free: 127.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.954, allocations: 3.312 kB / 0.6335 GB, free: 127.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.007076/0.9611, allocations: 2.191 MB / 0.6356 GB, free: 127.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.9612, allocations: 240.8 kB / 0.6358 GB, free: 126.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006584/0.9678, allocations: 4.804 MB / 0.6405 GB, free: 126.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.9679, allocations: 33.23 kB / 0.6405 GB, free: 126.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.9696, allocations: 2.773 MB / 0.6433 GB, free: 125.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.9698, allocations: 196.7 kB / 0.6434 GB, free: 125.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.9699, allocations: 68.94 kB / 0.6435 GB, free: 125.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.9701, allocations: 456.6 kB / 0.6439 GB, free: 124.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.9711, allocations: 0.7787 MB / 0.6447 GB, free: 124.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.9732, allocations: 3.404 MB / 0.648 GB, free: 121.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.975, allocations: 1.536 MB / 0.6495 GB, free: 121.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.879e-05/0.975, allocations: 26.22 kB / 0.6496 GB, free: 121.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.005972/0.981, allocations: 4.03 MB / 0.6535 GB, free: 119.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.9811, allocations: 45.56 kB / 0.6535 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.811e-05/0.9812, allocations: 99.22 kB / 0.6536 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.9814, allocations: 138.1 kB / 0.6538 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.9834, allocations: 0.8542 MB / 0.6546 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/0.9835, allocations: 184.4 kB / 0.6548 GB, free: 119.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.9867, allocations: 0.541 MB / 0.6553 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.9869, allocations: 232.3 kB / 0.6555 GB, free: 119.2 MB / 494.1 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.002517/0.9895, allocations: 1.635 MB / 0.6571 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007687/0.9902, allocations: 387.3 kB / 0.6575 GB, free: 118.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.9909, allocations: 399.2 kB / 0.6579 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.9909, allocations: 5 kB / 0.6579 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.9909, allocations: 8.75 kB / 0.6579 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.9909, allocations: 5.125 kB / 0.6579 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.9971, allocations: 4.772 MB / 0.6625 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.9972, allocations: 13.44 kB / 0.6626 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.9975, allocations: 114.2 kB / 0.6627 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.708e-05/0.9975, allocations: 24.61 kB / 0.6627 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.9976, allocations: 27.34 kB / 0.6627 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.119e-05/0.9976, allocations: 20.75 kB / 0.6627 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-05/0.9976, allocations: 27.28 kB / 0.6628 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.9989, allocations: 1.236 MB / 0.664 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008762/0.9998, allocations: 0.4912 MB / 0.6644 GB, free: 114.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1, allocations: 32.12 kB / 0.6645 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/1.001, allocations: 37.91 kB / 0.6645 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.001, allocations: 83.66 kB / 0.6646 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/1.001, allocations: 31.59 kB / 0.6646 GB, free: 114.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005117/1.006, allocations: 3.16 MB / 0.6677 GB, free: 113.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.006, allocations: 2.75 kB / 0.6677 GB, free: 113.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004119/1.011, allocations: 0.8355 MB / 0.6685 GB, free: 113 MB / 494.1 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.001725/1.012, allocations: 1.822 MB / 0.6703 GB, free: 111.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00359/1.016, allocations: 1.893 MB / 0.6722 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.016, allocations: 2.062 kB / 0.6722 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/1.016, allocations: 261.3 kB / 0.6724 GB, free: 110.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.02, allocations: 0.6393 MB / 0.673 GB, free: 110.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05567/1.075, allocations: 30.56 MB / 0.7029 GB, free: 88.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/1.078, allocations: 2.875 MB / 0.7057 GB, free: 85.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003153/1.081, allocations: 1.158 MB / 0.7068 GB, free: 85.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.083, allocations: 1.719 MB / 0.7085 GB, free: 83.45 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/1.083, allocations: 4 kB / 0.7085 GB, free: 83.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09399/1.177, allocations: 67.93 MB / 0.7748 GB, free: 15.59 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.177, allocations: 178.8 kB / 0.775 GB, free: 15.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/4.822, allocations: 7.938 kB / 0.775 GB, free: 15.34 MB / 494.1 MB (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) Environment - environmentSimulation: 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