Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.0007916/0.0007915, allocations: 95.84 kB / 17 MB, free: 6.078 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.0008226/0.0008227, allocations: 183.2 kB / 17.89 MB, free: 5.66 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.334/1.334, allocations: 223.2 MB / 241.9 MB, free: 316 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.2092/0.2092, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004867, allocations: 12.2 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1273, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2999/0.4273, allocations: 47.56 MB / 0.507 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.4499, allocations: 9.682 MB / 0.5165 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01016/0.4601, allocations: 215.1 kB / 0.5167 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007207/0.4674, allocations: 2.065 MB / 0.5187 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01782/0.4852, allocations: 5.925 MB / 0.5245 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.4878, allocations: 309.9 kB / 0.5248 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004954/0.4927, allocations: 3 MB / 0.5277 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005259/0.498, allocations: 3.795 MB / 0.5314 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.4994, allocations: 0.7862 MB / 0.5322 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.5009, allocations: 1.182 MB / 0.5334 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002894/0.5012, allocations: 103.9 kB / 0.5335 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.5023, allocations: 0.5417 MB / 0.534 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009881/0.5033, allocations: 1.18 MB / 0.5351 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.5039, allocations: 0.607 MB / 0.5357 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.5072, allocations: 4.154 MB / 0.5398 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.5072, allocations: 1.422 kB / 0.5398 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5072, allocations: 0 / 0.5398 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.5073, allocations: 0 / 0.5398 GB, free: 1.965 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.004229/0.5116, allocations: 2.817 MB / 0.5425 GB, free: 152 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5116, allocations: 9.625 kB / 0.5426 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007263/0.5124, allocations: 0.5796 MB / 0.5431 GB, free: 0 / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.5172, allocations: 1.703 MB / 0.5448 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.5203, allocations: 1.504 MB / 0.5463 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.5204, allocations: 186.1 kB / 0.5464 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/0.5208, allocations: 242.5 kB / 0.5467 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.5327, allocations: 7.473 MB / 0.554 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.245e-05/0.5328, allocations: 11.88 kB / 0.554 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.5331, allocations: 107.9 kB / 0.5541 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00233/0.5354, allocations: 1.57 MB / 0.5556 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.5475, allocations: 6.227 MB / 0.5617 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/0.5825, allocations: 23.31 MB / 0.5844 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/0.5872, allocations: 2.199 MB / 0.5866 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.5883, allocations: 0.7684 MB / 0.5873 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006525/0.5948, allocations: 3.9 MB / 0.5912 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5949, allocations: 35.12 kB / 0.5912 GB, free: 4.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 2.645e-06/0.5949, allocations: 4 kB / 0.5912 GB, free: 4.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.005935/0.6008, allocations: 2.236 MB / 0.5934 GB, free: 2.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.6009, allocations: 63.91 kB / 0.5934 GB, free: 1.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.6038, allocations: 2.092 MB / 0.5955 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.6039, allocations: 37.64 kB / 0.5955 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.6053, allocations: 2.113 MB / 0.5976 GB, free: 13.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.6056, allocations: 351.4 kB / 0.5979 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.6057, allocations: 64 kB / 0.598 GB, free: 13.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.606, allocations: 450.3 kB / 0.5984 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.6073, allocations: 0.9275 MB / 0.5993 GB, free: 11.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.61, allocations: 2.905 MB / 0.6021 GB, free: 8.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.6122, allocations: 1.642 MB / 0.6037 GB, free: 6.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/0.6122, allocations: 24 kB / 0.6038 GB, free: 6.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00556/0.6178, allocations: 3.726 MB / 0.6074 GB, free: 2.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.6178, allocations: 35.98 kB / 0.6074 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/0.6179, allocations: 72 kB / 0.6075 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.618, allocations: 100 kB / 0.6076 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.62, allocations: 0.694 MB / 0.6083 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001013/0.6201, allocations: 136 kB / 0.6084 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.622, allocations: 446.2 kB / 0.6088 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.6223, allocations: 202.6 kB / 0.609 GB, free: 0.9766 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 383 * Array equations: 5 * 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.00259/0.6249, allocations: 1.554 MB / 0.6106 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.6252, allocations: 177.7 kB / 0.6107 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.6256, allocations: 214.7 kB / 0.6109 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.6256, allocations: 13.2 kB / 0.6109 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6257, allocations: 0 / 0.6109 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6257, allocations: 7.984 kB / 0.6109 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/0.6336, allocations: 5.072 MB / 0.6159 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6336, allocations: 8 kB / 0.6159 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.6341, allocations: 123.7 kB / 0.616 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.6341, allocations: 8 kB / 0.616 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.6342, allocations: 20.72 kB / 0.6161 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/0.6342, allocations: 15.98 kB / 0.6161 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.6342, allocations: 15.94 kB / 0.6161 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.636, allocations: 1.405 MB / 0.6175 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.6365, allocations: 299.9 kB / 0.6177 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.6367, allocations: 19.98 kB / 0.6178 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.6372, allocations: 31.89 kB / 0.6178 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.6373, allocations: 71.72 kB / 0.6179 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.6373, allocations: 35.98 kB / 0.6179 GB, free: 7.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002136/0.6395, allocations: 1.461 MB / 0.6193 GB, free: 6.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6395, allocations: 0 / 0.6193 GB, free: 6.113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002865/0.6424, allocations: 0.8105 MB / 0.6201 GB, free: 5.305 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002261/0.6446, allocations: 2.018 MB / 0.6221 GB, free: 3.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.6481, allocations: 2.148 MB / 0.6242 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6481, allocations: 7.234 kB / 0.6242 GB, free: 1.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.6488, allocations: 0.4998 MB / 0.6247 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.6504, allocations: 285.6 kB / 0.6249 GB, free: 248 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/0.6788, allocations: 17.77 MB / 0.6423 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/0.6817, allocations: 2.607 MB / 0.6448 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002504/0.6843, allocations: 1.032 MB / 0.6459 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.686, allocations: 1.253 MB / 0.6471 GB, free: 7.691 MB / 494.1 MB Notification: Performance of SimCode: time 1.694e-06/0.686, allocations: 0 / 0.6471 GB, free: 7.691 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.7886, allocations: 41.8 MB / 0.6879 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.7888, allocations: 187.6 kB / 0.6881 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.562, allocations: 3.938 kB / 0.6881 GB, free: 13.9 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat