Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",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.001607/0.001608, allocations: 183.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009547/0.0009543, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2415/0.2415, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.87 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5967, allocations: 105 MB / 0.5814 GB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.5971, allocations: 83.66 kB / 0.5814 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7345/1.332, allocations: 159.1 MB / 0.7368 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/1.332, allocations: 3.344 kB / 0.7368 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005981/1.332, allocations: 153.9 kB / 0.7369 GB, free: 95.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02727/1.36, allocations: 8.305 MB / 0.745 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.36, allocations: 14.62 kB / 0.7451 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006926/1.367, allocations: 1.398 MB / 0.7464 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/1.386, allocations: 3.624 MB / 0.75 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/1.413, allocations: 9.612 MB / 0.7593 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008612/1.413, allocations: 0.5978 MB / 0.7599 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005456/1.419, allocations: 0.7926 MB / 0.7607 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05616/1.475, allocations: 18.96 MB / 0.7792 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008451/1.476, allocations: 99.19 kB / 0.7793 GB, free: 86.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0053/1.481, allocations: 387.4 kB / 0.7797 GB, free: 86.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003721/1.485, allocations: 1.781 MB / 0.7814 GB, free: 86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0372/1.522, allocations: 14.97 MB / 0.796 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09686/1.619, allocations: 79.1 MB / 0.8733 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.635, allocations: 6.098 MB / 0.8792 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02117/1.656, allocations: 11.01 MB / 0.89 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/1.656, allocations: 64.56 kB / 0.8901 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 5.931e-06/1.656, allocations: 0 / 0.8901 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.3291/1.985, allocations: 16.28 MB / 0.906 GB, free: 101 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.985, allocations: 155.1 kB / 0.9061 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01617/2.002, allocations: 5.931 MB / 0.9119 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005853/2.002, allocations: 61.83 kB / 0.912 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004986/2.007, allocations: 5.596 MB / 0.9174 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/2.009, allocations: 1.016 MB / 0.9184 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007261/2.009, allocations: 182 kB / 0.9186 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005295/2.01, allocations: 0.6775 MB / 0.9193 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0049/2.015, allocations: 2.573 MB / 0.9218 GB, free: 97.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007738/2.023, allocations: 8.178 MB / 0.9298 GB, free: 90 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/2.031, allocations: 4.442 MB / 0.9341 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004172/2.032, allocations: 59.97 kB / 0.9341 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.03696/2.069, allocations: 10.47 MB / 0.9444 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/2.069, allocations: 90.66 kB / 0.9445 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004913/2.07, allocations: 205.4 kB / 0.9447 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/2.07, allocations: 290.8 kB / 0.9449 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/2.082, allocations: 2.188 MB / 0.9471 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00052/2.082, allocations: 387.1 kB / 0.9474 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01313/2.095, allocations: 0.6175 MB / 0.948 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/2.098, allocations: 0.535 MB / 0.9486 GB, free: 88.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 (1131): * Single equations (assignments): 1128 * 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.01208/2.11, allocations: 3.615 MB / 0.9521 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/2.112, allocations: 0.5748 MB / 0.9527 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007167/2.119, allocations: 2.815 MB / 0.9554 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.236e-05/2.119, allocations: 29.03 kB / 0.9554 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/2.119, allocations: 0 / 0.9554 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/2.119, allocations: 20.08 kB / 0.9554 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04465/2.164, allocations: 26.45 MB / 0.9813 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-05/2.164, allocations: 54.69 kB / 0.9813 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/2.166, allocations: 0.5134 MB / 0.9818 GB, free: 78.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.532e-05/2.166, allocations: 76.12 kB / 0.9819 GB, free: 78.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/2.166, allocations: 120.3 kB / 0.982 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-05/2.166, allocations: 100 kB / 0.9821 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.499e-05/2.166, allocations: 92.78 kB / 0.9822 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00752/2.174, allocations: 14.63 MB / 0.9965 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/2.176, allocations: 0.6863 MB / 0.9972 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.177, allocations: 123.3 kB / 0.9973 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/2.18, allocations: 199.4 kB / 0.9975 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/2.181, allocations: 350.8 kB / 0.9978 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/2.181, allocations: 145.5 kB / 0.9979 GB, free: 63.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008541/2.19, allocations: 4.217 MB / 1.002 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/2.19, allocations: 0 / 1.002 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01044/2.2, allocations: 1.495 MB / 1.004 GB, free: 61.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.01092/2.211, allocations: 25.15 MB / 1.028 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01039/2.222, allocations: 5.977 MB / 1.034 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.88e-05/2.222, allocations: 9 kB / 1.034 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/2.224, allocations: 1.48 MB / 1.035 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005536/2.23, allocations: 0.8557 MB / 1.036 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4433/2.673, allocations: 199.4 MB / 1.231 GB, free: 18.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/2.687, allocations: 5.745 MB / 1.237 GB, free: 17.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01041/2.698, allocations: 2.793 MB / 1.239 GB, free: 17.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007709/2.705, allocations: 3.67 MB / 1.243 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of SimCode: time 2.054e-06/2.705, allocations: 0 / 1.243 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.498/3.203, allocations: 117.2 MB / 1.357 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/3.204, allocations: 170.3 kB / 1.357 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/10.17, allocations: 1.094 kB / 1.357 GB, free: 122.3 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat