Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000913/0.0009133, allocations: 96.5 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 45.14 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.751e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.6018, allocations: 106.2 MB / 0.6081 GB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.6021, allocations: 74.59 kB / 0.6082 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7478/1.35, allocations: 154.1 MB / 0.7587 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/1.35, allocations: 0 / 0.7587 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005543/1.351, allocations: 143.7 kB / 0.7588 GB, free: 104.5 MB / 0.5261 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.03259/1.383, allocations: 7.367 MB / 0.766 GB, free: 102 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/1.383, allocations: 9.594 kB / 0.766 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02754/1.411, allocations: 3.523 MB / 0.7694 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02593/1.437, allocations: 7.871 MB / 0.7771 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006691/1.437, allocations: 245.9 kB / 0.7774 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004018/1.441, allocations: 448 kB / 0.7778 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02557/1.467, allocations: 10.28 MB / 0.7878 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03378/1.501, allocations: 15.23 MB / 0.8027 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003662/1.501, allocations: 87.72 kB / 0.8028 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001916/1.503, allocations: 47.12 kB / 0.8028 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/1.505, allocations: 1.618 MB / 0.8044 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07839/1.584, allocations: 76.22 MB / 0.8788 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/1.587, allocations: 2.35 MB / 0.8811 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/1.588, allocations: 1.14 MB / 0.8822 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.684e-05/1.588, allocations: 23.31 kB / 0.8823 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.588, allocations: 54.66 kB / 0.8823 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 3.596e-06/1.588, allocations: 0 / 0.8823 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188): time 0.01984/1.608, allocations: 10.17 MB / 0.8922 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.608, allocations: 150.7 kB / 0.8924 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/1.615, allocations: 4.829 MB / 0.8971 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/1.615, allocations: 25.7 kB / 0.8971 GB, free: 35.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.618, allocations: 5.363 MB / 0.9024 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/1.618, allocations: 0.7496 MB / 0.9031 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/1.619, allocations: 0 / 0.9031 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003195/1.619, allocations: 0.6444 MB / 0.9037 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.621, allocations: 1.967 MB / 0.9056 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/1.625, allocations: 7.375 MB / 0.9128 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/1.63, allocations: 3.75 MB / 0.9165 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/1.63, allocations: 56 kB / 0.9166 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.01541/1.645, allocations: 8.087 MB / 0.9245 GB, free: 8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.645, allocations: 95.22 kB / 0.9245 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002661/1.646, allocations: 196 kB / 0.9247 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/1.646, allocations: 288 kB / 0.925 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006637/1.653, allocations: 2.02 MB / 0.927 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002748/1.653, allocations: 385.6 kB / 0.9274 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007764/1.661, allocations: 431.7 kB / 0.9278 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.663, allocations: 0.5072 MB / 0.9283 GB, free: 4.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * 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 (1049): * Single equations (assignments): 1046 * 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.002237/1.665, allocations: 0.5858 MB / 0.9288 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003564/1.669, allocations: 2.161 MB / 0.9309 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009647/1.669, allocations: 0.4989 MB / 0.9314 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/1.671, allocations: 0.5856 MB / 0.932 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.671, allocations: 27.91 kB / 0.932 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.671, allocations: 4 kB / 0.932 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.671, allocations: 6.938 kB / 0.932 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/1.696, allocations: 13.75 MB / 0.9455 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/1.696, allocations: 32.22 kB / 0.9455 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.697, allocations: 344.6 kB / 0.9458 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.712e-05/1.697, allocations: 44 kB / 0.9459 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.697, allocations: 47.84 kB / 0.9459 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.396e-05/1.698, allocations: 66.17 kB / 0.946 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.535e-05/1.698, allocations: 47.81 kB / 0.946 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/1.705, allocations: 8.691 MB / 0.9545 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.706, allocations: 0.5629 MB / 0.9551 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005256/1.707, allocations: 47.03 kB / 0.9551 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.709, allocations: 130 kB / 0.9552 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.709, allocations: 226.6 kB / 0.9554 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.709, allocations: 95.84 kB / 0.9555 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005975/1.715, allocations: 3.248 MB / 0.9587 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.715, allocations: 0 / 0.9587 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007962/1.723, allocations: 1.16 MB / 0.9598 GB, free: 5.426 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 177 * 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.3167/2.04, allocations: 15.88 MB / 0.9753 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007313/2.047, allocations: 4.582 MB / 0.9798 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/2.047, allocations: 7.5 kB / 0.9798 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/2.049, allocations: 0.9775 MB / 0.9808 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/2.053, allocations: 0.698 MB / 0.9815 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03019/2.083, allocations: 14.24 MB / 0.9954 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006404/2.089, allocations: 5.348 MB / 1.001 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006292/2.096, allocations: 2.593 MB / 1.003 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003908/2.099, allocations: 3.363 MB / 1.006 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/2.099, allocations: 1.75 kB / 1.006 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/2.24, allocations: 99.32 MB / 1.103 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/2.241, allocations: 129 kB / 1.104 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.195/7.436, allocations: 0 / 1.104 GB, free: 62.84 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat