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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 94.95 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.23 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1443, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.367/0.5114, allocations: 85.22 MB / 0.5437 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04926/0.5607, allocations: 19 MB / 0.5623 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02876/0.5895, allocations: 440.8 kB / 0.5627 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01654/0.6061, allocations: 4.36 MB / 0.5669 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04708/0.6532, allocations: 12.26 MB / 0.5789 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00753/0.6608, allocations: 1.241 MB / 0.5801 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.6713, allocations: 4.294 MB / 0.5843 GB, free: 76 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/0.686, allocations: 8.975 MB / 0.5931 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005307/0.6914, allocations: 1.955 MB / 0.595 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005014/0.6964, allocations: 2.414 MB / 0.5974 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001917/0.6984, allocations: 256 kB / 0.5976 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.7016, allocations: 0.9402 MB / 0.5985 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004089/0.7057, allocations: 2.922 MB / 0.6014 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.7081, allocations: 1.43 MB / 0.6028 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.7207, allocations: 9.305 MB / 0.6119 GB, free: 3.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7208, allocations: 0 / 0.6119 GB, free: 3.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7208, allocations: 0 / 0.6119 GB, free: 3.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005363/0.7213, allocations: 0 / 0.6119 GB, free: 3.75 MB / 446.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.02026/0.7416, allocations: 7.503 MB / 0.6192 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.7417, allocations: 12.03 kB / 0.6192 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004447/0.7461, allocations: 1.219 MB / 0.6204 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.7583, allocations: 3.004 MB / 0.6233 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.7704, allocations: 4.897 MB / 0.6281 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.7708, allocations: 438.8 kB / 0.6285 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/0.7727, allocations: 0.5543 MB / 0.6291 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/0.8083, allocations: 17.57 MB / 0.6462 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/0.8087, allocations: 83.23 kB / 0.6463 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.81, allocations: 267.8 kB / 0.6465 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00491/0.8149, allocations: 3.17 MB / 0.6496 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03115/0.8461, allocations: 13.57 MB / 0.6629 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6051/1.451, allocations: 66.21 MB / 0.7276 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01611/1.467, allocations: 5.515 MB / 0.7329 GB, free: 143 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/1.485, allocations: 10.14 MB / 0.7428 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.485, allocations: 54.47 kB / 0.7429 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.999e-06/1.485, allocations: 0 / 0.7429 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03558/1.521, allocations: 14.65 MB / 0.7572 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/1.521, allocations: 153.8 kB / 0.7574 GB, free: 132 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008743/1.53, allocations: 6.817 MB / 0.764 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.53, allocations: 60.28 kB / 0.7641 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.533, allocations: 5.24 MB / 0.7692 GB, free: 124 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009429/1.534, allocations: 0.8257 MB / 0.77 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/1.534, allocations: 162.3 kB / 0.7702 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003531/1.535, allocations: 0.6656 MB / 0.7708 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.538, allocations: 2.282 MB / 0.773 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/1.543, allocations: 7.666 MB / 0.7805 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/1.549, allocations: 4.03 MB / 0.7845 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.549, allocations: 56 kB / 0.7845 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01504/1.564, allocations: 9.594 MB / 0.7939 GB, free: 98.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.564, allocations: 88 kB / 0.794 GB, free: 98.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/1.564, allocations: 192 kB / 0.7941 GB, free: 97.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/1.564, allocations: 280 kB / 0.7944 GB, free: 97.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005294/1.57, allocations: 1.934 MB / 0.7963 GB, free: 95.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001783/1.57, allocations: 376.6 kB / 0.7967 GB, free: 95.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/1.575, allocations: 412.9 kB / 0.797 GB, free: 94.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007634/1.576, allocations: 0.5228 MB / 0.7976 GB, free: 94.34 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.004906/1.581, allocations: 3.404 MB / 0.8009 GB, free: 90.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008436/1.582, allocations: 0.5282 MB / 0.8014 GB, free: 90.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/1.583, allocations: 0.6329 MB / 0.802 GB, free: 89.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/1.583, allocations: 29.31 kB / 0.802 GB, free: 89.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.583, allocations: 0 / 0.802 GB, free: 89.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.583, allocations: 15.91 kB / 0.8021 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/1.605, allocations: 16.73 MB / 0.8184 GB, free: 72.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/1.605, allocations: 48.02 kB / 0.8184 GB, free: 72.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.606, allocations: 379.8 kB / 0.8188 GB, free: 72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/1.606, allocations: 56 kB / 0.8189 GB, free: 71.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.606, allocations: 87.66 kB / 0.8189 GB, free: 71.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.89e-05/1.606, allocations: 75.72 kB / 0.819 GB, free: 71.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-05/1.606, allocations: 60.62 kB / 0.8191 GB, free: 71.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005928/1.612, allocations: 10.54 MB / 0.8294 GB, free: 59.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.614, allocations: 0.6383 MB / 0.83 GB, free: 58.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005592/1.615, allocations: 95.95 kB / 0.8301 GB, free: 58.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.616, allocations: 103.9 kB / 0.8302 GB, free: 58.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/1.617, allocations: 262.9 kB / 0.8304 GB, free: 58.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.617, allocations: 104 kB / 0.8305 GB, free: 58.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005745/1.623, allocations: 4.317 MB / 0.8348 GB, free: 53.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.01e-07/1.623, allocations: 0 / 0.8348 GB, free: 53.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006724/1.629, allocations: 1.389 MB / 0.8361 GB, free: 52.53 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.00605/1.635, allocations: 18.59 MB / 0.8543 GB, free: 32.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006997/1.642, allocations: 5.28 MB / 0.8594 GB, free: 27.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.568e-05/1.642, allocations: 4.062 kB / 0.8594 GB, free: 27.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.644, allocations: 1.125 MB / 0.8605 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/1.648, allocations: 0.8214 MB / 0.8613 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3431/1.992, allocations: 164.3 MB / 1.022 GB, free: 91.75 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/2.002, allocations: 5.388 MB / 1.027 GB, free: 90.85 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00853/2.01, allocations: 2.553 MB / 1.029 GB, free: 90.59 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005953/2.016, allocations: 3.404 MB / 1.033 GB, free: 88.47 MB / 0.5607 GB Notification: Performance of SimCode: time 2.355e-06/2.016, allocations: 4 kB / 1.033 GB, free: 88.47 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4244/2.441, allocations: 107.2 MB / 1.138 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/2.441, allocations: 178.1 kB / 1.138 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.505/7.946, allocations: 0 / 1.138 GB, free: 162.6 MB / 0.5607 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