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.001054/0.001054, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.417/1.417, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 90.39 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4/0.4, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3954, allocations: 61.9 MB / 0.5096 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5424, allocations: 106 MB / 0.6131 GB, free: 5.086 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5427, allocations: 83.92 kB / 0.6132 GB, free: 5.008 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7265/1.269, allocations: 151.2 MB / 0.7609 GB, free: 64.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.128e-06/1.269, allocations: 4 kB / 0.7609 GB, free: 64.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004813/1.27, allocations: 142.8 kB / 0.761 GB, free: 64.27 MB / 490.7 MB 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.02947/1.299, allocations: 7.897 MB / 0.7687 GB, free: 57.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.299, allocations: 8.031 kB / 0.7688 GB, free: 57.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007239/1.307, allocations: 1.299 MB / 0.77 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/1.325, allocations: 3.525 MB / 0.7735 GB, free: 53.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02315/1.348, allocations: 8.82 MB / 0.7821 GB, free: 46.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007156/1.349, allocations: 0.5571 MB / 0.7826 GB, free: 46.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004497/1.354, allocations: 0.7413 MB / 0.7833 GB, free: 45.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04924/1.403, allocations: 17.76 MB / 0.8007 GB, free: 28.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005234/1.403, allocations: 87.12 kB / 0.8008 GB, free: 28.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/1.408, allocations: 361.5 kB / 0.8011 GB, free: 28.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/1.41, allocations: 1.621 MB / 0.8027 GB, free: 26.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03135/1.442, allocations: 13.85 MB / 0.8162 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1186/1.56, allocations: 74.59 MB / 0.8891 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3948/1.955, allocations: 5.46 MB / 0.8944 GB, free: 122 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01801/1.973, allocations: 9.981 MB / 0.9041 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/1.973, allocations: 50.97 kB / 0.9042 GB, free: 119 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=182): time 6.082e-06/1.973, allocations: 0 / 0.9042 GB, free: 119 MB / 0.5417 GB Notification: Performance of matching and sorting (n=206): time 0.04223/2.016, allocations: 14.56 MB / 0.9184 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/2.016, allocations: 155.4 kB / 0.9186 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/2.031, allocations: 5.687 MB / 0.9241 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004862/2.031, allocations: 55.45 kB / 0.9242 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005653/2.037, allocations: 5.31 MB / 0.9293 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/2.038, allocations: 0.8167 MB / 0.9301 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007968/2.039, allocations: 158.8 kB / 0.9303 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005782/2.04, allocations: 0.6468 MB / 0.9309 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/2.045, allocations: 2.266 MB / 0.9331 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/2.057, allocations: 7.58 MB / 0.9405 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/2.065, allocations: 4.009 MB / 0.9445 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002706/2.065, allocations: 56.28 kB / 0.9445 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01979/2.085, allocations: 9.501 MB / 0.9538 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003956/2.086, allocations: 95.7 kB / 0.9539 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004442/2.086, allocations: 192.6 kB / 0.9541 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/2.086, allocations: 277.4 kB / 0.9543 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007282/2.094, allocations: 1.99 MB / 0.9563 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006033/2.094, allocations: 375.8 kB / 0.9566 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.106, allocations: 0.573 MB / 0.9572 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002252/2.108, allocations: 0.4965 MB / 0.9577 GB, free: 102.1 MB / 0.5417 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 () * Number of clocked 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.009111/2.117, allocations: 3.395 MB / 0.961 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.119, allocations: 0.5455 MB / 0.9615 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/2.121, allocations: 0.6524 MB / 0.9622 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-05/2.121, allocations: 21.47 kB / 0.9622 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/2.121, allocations: 3.375 kB / 0.9622 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/2.121, allocations: 6.469 kB / 0.9622 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03289/2.154, allocations: 16.66 MB / 0.9785 GB, free: 95.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.542e-05/2.154, allocations: 37.34 kB / 0.9785 GB, free: 95.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/2.156, allocations: 377.5 kB / 0.9789 GB, free: 95.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.893e-05/2.156, allocations: 54.48 kB / 0.9789 GB, free: 95.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/2.156, allocations: 81.81 kB / 0.979 GB, free: 95.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.106e-05/2.156, allocations: 74.5 kB / 0.9791 GB, free: 95.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-05/2.156, allocations: 58 kB / 0.9791 GB, free: 95.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/2.162, allocations: 10.4 MB / 0.9893 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00223/2.164, allocations: 0.6192 MB / 0.9899 GB, free: 84.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008395/2.165, allocations: 95.06 kB / 0.99 GB, free: 84.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/2.167, allocations: 170.3 kB / 0.9901 GB, free: 84.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/2.168, allocations: 249.5 kB / 0.9904 GB, free: 84.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/2.168, allocations: 102 kB / 0.9905 GB, free: 84.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006383/2.174, allocations: 4.043 MB / 0.9944 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/2.174, allocations: 3.906 kB / 0.9944 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009198/2.183, allocations: 1.36 MB / 0.9957 GB, free: 82.76 MB / 0.5417 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 () * Number of clocked 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.006638/2.19, allocations: 18.28 MB / 1.014 GB, free: 63.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008378/2.199, allocations: 5.209 MB / 1.019 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.544e-05/2.199, allocations: 11.61 kB / 1.019 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/2.2, allocations: 1.117 MB / 1.02 GB, free: 58.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/2.205, allocations: 0.8224 MB / 1.021 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4162/2.621, allocations: 186.9 MB / 1.203 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.632, allocations: 5.384 MB / 1.208 GB, free: 28.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007881/2.64, allocations: 2.566 MB / 1.211 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005509/2.646, allocations: 3.414 MB / 1.214 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/2.646, allocations: 4.375 kB / 1.214 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/3.072, allocations: 108.1 MB / 1.32 GB, free: 123.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/3.072, allocations: 188.3 kB / 1.32 GB, free: 123.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.782/8.854, allocations: 0 / 1.32 GB, free: 123.3 MB / 0.573 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