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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001192/0.001196, allocations: 95.42 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001437, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 45.9 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 63.47 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3903/0.5275, allocations: 85.25 MB / 0.5535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05166/0.5792, allocations: 19.02 MB / 0.5721 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.022/0.6012, allocations: 438.9 kB / 0.5725 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0172/0.6185, allocations: 4.363 MB / 0.5767 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04208/0.6606, allocations: 12.26 MB / 0.5887 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006924/0.6675, allocations: 1.237 MB / 0.5899 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009249/0.6768, allocations: 4.457 MB / 0.5943 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.6895, allocations: 8.959 MB / 0.603 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.6934, allocations: 1.959 MB / 0.6049 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.6972, allocations: 2.411 MB / 0.6073 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.6983, allocations: 259.9 kB / 0.6075 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.7006, allocations: 0.9129 MB / 0.6084 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002615/0.7033, allocations: 2.919 MB / 0.6113 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.7048, allocations: 1.438 MB / 0.6127 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008959/0.7138, allocations: 9.282 MB / 0.6217 GB, free: 7.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7138, allocations: 0 / 0.6217 GB, free: 7.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7138, allocations: 0 / 0.6217 GB, free: 7.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004349/0.7142, allocations: 4 kB / 0.6217 GB, free: 7.516 MB / 462.1 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.01702/0.7313, allocations: 7.503 MB / 0.6291 GB, free: 15.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.7313, allocations: 8.031 kB / 0.6291 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003965/0.7353, allocations: 1.219 MB / 0.6303 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.7474, allocations: 3 MB / 0.6332 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7583, allocations: 4.905 MB / 0.638 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004394/0.7588, allocations: 434.9 kB / 0.6384 GB, free: 6.266 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.7612, allocations: 0.5505 MB / 0.6389 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/0.7956, allocations: 17.59 MB / 0.6561 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/0.7958, allocations: 75.3 kB / 0.6562 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/0.797, allocations: 271.7 kB / 0.6564 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004733/0.8018, allocations: 3.178 MB / 0.6596 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03082/0.8326, allocations: 13.56 MB / 0.6728 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6277/1.46, allocations: 66.21 MB / 0.7375 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/1.477, allocations: 5.517 MB / 0.7428 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02041/1.497, allocations: 10.13 MB / 0.7527 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.497, allocations: 54.98 kB / 0.7528 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.31e-06/1.497, allocations: 3.969 kB / 0.7528 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.04197/1.539, allocations: 14.66 MB / 0.7671 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/1.539, allocations: 152.2 kB / 0.7672 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.552, allocations: 6.822 MB / 0.7739 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/1.553, allocations: 60.41 kB / 0.774 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.556, allocations: 5.235 MB / 0.7791 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008243/1.557, allocations: 0.8263 MB / 0.7799 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/1.558, allocations: 161.3 kB / 0.78 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003336/1.558, allocations: 0.6628 MB / 0.7807 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.561, allocations: 2.28 MB / 0.7829 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/1.566, allocations: 7.667 MB / 0.7904 GB, free: 97.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/1.571, allocations: 4.029 MB / 0.7943 GB, free: 93.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.571, allocations: 56 kB / 0.7944 GB, free: 93.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01786/1.589, allocations: 9.599 MB / 0.8038 GB, free: 83.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002558/1.589, allocations: 91.95 kB / 0.8038 GB, free: 83.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003347/1.59, allocations: 192 kB / 0.804 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/1.59, allocations: 280 kB / 0.8043 GB, free: 83.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/1.596, allocations: 1.922 MB / 0.8062 GB, free: 81.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000333/1.596, allocations: 378.5 kB / 0.8065 GB, free: 80.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/1.604, allocations: 423.6 kB / 0.8069 GB, free: 80.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.605, allocations: 0.5137 MB / 0.8074 GB, free: 79.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1039): * Single equations (assignments): 1028 * Array equations: 11 * 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.007165/1.612, allocations: 3.396 MB / 0.8108 GB, free: 76.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.614, allocations: 0.536 MB / 0.8113 GB, free: 75.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/1.616, allocations: 0.6368 MB / 0.8119 GB, free: 75.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.616, allocations: 21.02 kB / 0.8119 GB, free: 75.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/1.616, allocations: 3.984 kB / 0.8119 GB, free: 75.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.616, allocations: 15.91 kB / 0.8119 GB, free: 75.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/1.646, allocations: 16.73 MB / 0.8283 GB, free: 58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001173/1.647, allocations: 36 kB / 0.8283 GB, free: 57.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.648, allocations: 388.1 kB / 0.8287 GB, free: 57.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.812e-05/1.648, allocations: 56 kB / 0.8287 GB, free: 57.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/1.648, allocations: 88 kB / 0.8288 GB, free: 57.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.074e-05/1.648, allocations: 75.7 kB / 0.8289 GB, free: 57.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.423e-05/1.648, allocations: 63.69 kB / 0.829 GB, free: 57.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/1.654, allocations: 10.55 MB / 0.8393 GB, free: 45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.655, allocations: 0.6422 MB / 0.8399 GB, free: 44.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006844/1.656, allocations: 93.03 kB / 0.84 GB, free: 44.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.658, allocations: 115.9 kB / 0.8401 GB, free: 44.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.658, allocations: 255 kB / 0.8403 GB, free: 43.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.658, allocations: 109.2 kB / 0.8404 GB, free: 43.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006598/1.665, allocations: 4.313 MB / 0.8446 GB, free: 39.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.21e-07/1.665, allocations: 4 kB / 0.8447 GB, free: 39.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008392/1.673, allocations: 1.378 MB / 0.846 GB, free: 38.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.006572/1.68, allocations: 18.58 MB / 0.8641 GB, free: 18.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00809/1.688, allocations: 5.283 MB / 0.8693 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.047e-05/1.688, allocations: 4 kB / 0.8693 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.69, allocations: 1.131 MB / 0.8704 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/1.695, allocations: 0.8147 MB / 0.8712 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3163/2.011, allocations: 164.2 MB / 1.032 GB, free: 100.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.022, allocations: 5.384 MB / 1.037 GB, free: 99.63 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00833/2.03, allocations: 2.558 MB / 1.039 GB, free: 99.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005703/2.036, allocations: 3.408 MB / 1.043 GB, free: 97.31 MB / 0.5763 GB Notification: Performance of SimCode: time 1.914e-06/2.036, allocations: 1 kB / 1.043 GB, free: 97.31 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/2.181, allocations: 107.1 MB / 1.147 GB, free: 7.668 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003288/2.181, allocations: 191.6 kB / 1.147 GB, free: 7.414 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.51/7.692, allocations: 0 / 1.147 GB, free: 7.414 MB / 0.5763 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