Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 95.72 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.237e-05, allocations: 4 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1524, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5318/0.6843, allocations: 105.9 MB / 0.6052 GB, free: 15.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.6846, allocations: 71.97 kB / 0.6053 GB, free: 15.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7438/1.428, allocations: 151.4 MB / 0.7531 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.126e-06/1.428, allocations: 0 / 0.7531 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005096/1.429, allocations: 152 kB / 0.7533 GB, free: 110.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02556/1.455, allocations: 7.356 MB / 0.7605 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.455, allocations: 11.28 kB / 0.7605 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006559/1.461, allocations: 1.294 MB / 0.7617 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/1.48, allocations: 3.528 MB / 0.7652 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/1.501, allocations: 8.771 MB / 0.7737 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005545/1.502, allocations: 0.5593 MB / 0.7743 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003855/1.506, allocations: 0.7477 MB / 0.775 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04005/1.546, allocations: 17.51 MB / 0.7921 GB, free: 98.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/1.546, allocations: 85.22 kB / 0.7922 GB, free: 98.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/1.548, allocations: 355.8 kB / 0.7925 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002183/1.55, allocations: 1.622 MB / 0.7941 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/1.578, allocations: 13.39 MB / 0.8072 GB, free: 91.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09527/1.674, allocations: 74.59 MB / 0.88 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.689, allocations: 5.451 MB / 0.8854 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/1.692, allocations: 2.067 MB / 0.8874 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/1.712, allocations: 9.974 MB / 0.8971 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.712, allocations: 55.81 kB / 0.8972 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 8.225e-06/1.712, allocations: 0 / 0.8972 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.04381/1.756, allocations: 13.37 MB / 0.9102 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.756, allocations: 153.8 kB / 0.9104 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3844/2.14, allocations: 5.503 MB / 0.9158 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005101/2.141, allocations: 56.48 kB / 0.9158 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006097/2.147, allocations: 5.301 MB / 0.921 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/2.148, allocations: 0.8228 MB / 0.9218 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009556/2.149, allocations: 163.9 kB / 0.9219 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009047/2.15, allocations: 0.6441 MB / 0.9226 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/2.155, allocations: 2.084 MB / 0.9246 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008416/2.164, allocations: 7.414 MB / 0.9318 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009002/2.173, allocations: 3.873 MB / 0.9356 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003221/2.173, allocations: 55.38 kB / 0.9357 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02194/2.195, allocations: 9.156 MB / 0.9446 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/2.195, allocations: 90.22 kB / 0.9447 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004435/2.196, allocations: 196.8 kB / 0.9449 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/2.196, allocations: 279.3 kB / 0.9452 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007231/2.203, allocations: 1.988 MB / 0.9471 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003409/2.204, allocations: 372.9 kB / 0.9475 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009027/2.213, allocations: 0.5758 MB / 0.948 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/2.214, allocations: 0.4958 MB / 0.9485 GB, free: 104 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * Array equations: 3 * 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.001684/2.216, allocations: 0.7657 MB / 0.9493 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/2.217, allocations: 0.5388 MB / 0.9498 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/2.219, allocations: 0.6546 MB / 0.9504 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/2.219, allocations: 19.72 kB / 0.9504 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/2.219, allocations: 3.938 kB / 0.9504 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/2.219, allocations: 7.547 kB / 0.9504 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/2.245, allocations: 16.65 MB / 0.9667 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-05/2.245, allocations: 38.94 kB / 0.9667 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/2.246, allocations: 372.8 kB / 0.9671 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.116e-05/2.246, allocations: 55.12 kB / 0.9671 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/2.247, allocations: 83.7 kB / 0.9672 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-05/2.247, allocations: 74.77 kB / 0.9673 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-05/2.247, allocations: 65.72 kB / 0.9674 GB, free: 98.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/2.253, allocations: 10.37 MB / 0.9775 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/2.256, allocations: 0.6186 MB / 0.9781 GB, free: 87.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000893/2.257, allocations: 91.77 kB / 0.9782 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/2.259, allocations: 158.6 kB / 0.9783 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/2.259, allocations: 252.9 kB / 0.9786 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/2.26, allocations: 111.1 kB / 0.9787 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007514/2.267, allocations: 3.858 MB / 0.9824 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.012e-06/2.267, allocations: 0 / 0.9824 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01005/2.277, allocations: 1.358 MB / 0.9838 GB, free: 86.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * Array equations: 3 * 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.009039/2.286, allocations: 18.25 MB / 1.002 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008044/2.294, allocations: 5.029 MB / 1.007 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.958e-05/2.294, allocations: 6.969 kB / 1.007 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/2.296, allocations: 1.105 MB / 1.008 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/2.3, allocations: 0.8217 MB / 1.008 GB, free: 65.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04067/2.341, allocations: 14.8 MB / 1.023 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008018/2.349, allocations: 5.385 MB / 1.028 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0073/2.356, allocations: 2.563 MB / 1.031 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005016/2.361, allocations: 3.416 MB / 1.034 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/2.361, allocations: 2.516 kB / 1.034 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.518/2.879, allocations: 108.5 MB / 1.14 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/2.88, allocations: 158.3 kB / 1.14 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/9.973, allocations: 4 kB / 1.14 GB, free: 105.9 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat