Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.001384/0.001384, allocations: 97.25 kB / 16.99 MB, free: 5.941 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.001589/0.001589, allocations: 180 kB / 17.87 MB, free: 5.609 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.374/1.374, allocations: 223.2 MB / 241.8 MB, free: 404 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.1937/0.1937, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02999/0.1578, allocations: 32.31 MB / 0.492 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.1775, allocations: 7.51 MB / 0.4994 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007814/0.1853, allocations: 151.7 kB / 0.4995 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005503/0.1909, allocations: 1.649 MB / 0.5011 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3031/0.494, allocations: 4.715 MB / 0.5057 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.496, allocations: 218.9 kB / 0.5059 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.499, allocations: 1.275 MB / 0.5072 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004785/0.5038, allocations: 2.949 MB / 0.5101 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.5051, allocations: 0.5586 MB / 0.5106 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.5062, allocations: 0.6959 MB / 0.5113 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.5065, allocations: 86.72 kB / 0.5114 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5078, allocations: 0.5195 MB / 0.5119 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.5089, allocations: 0.915 MB / 0.5128 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.5096, allocations: 0.5232 MB / 0.5133 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.5143, allocations: 3.42 MB / 0.5166 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5144, allocations: 0 / 0.5166 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5144, allocations: 0 / 0.5166 GB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.5145, allocations: 0 / 0.5166 GB, free: 10.59 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.008172/0.5227, allocations: 2.504 MB / 0.5191 GB, free: 9.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.5228, allocations: 9.219 kB / 0.5191 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/0.5242, allocations: 495.7 kB / 0.5195 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006399/0.5306, allocations: 1.916 MB / 0.5214 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.535, allocations: 1.322 MB / 0.5227 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.5352, allocations: 150.9 kB / 0.5229 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008712/0.5361, allocations: 188.6 kB / 0.523 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.5488, allocations: 6.457 MB / 0.5293 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.5489, allocations: 12.97 kB / 0.5294 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/0.5492, allocations: 89.14 kB / 0.5294 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002096/0.5513, allocations: 1.406 MB / 0.5308 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.5619, allocations: 5.518 MB / 0.5362 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.5906, allocations: 20.6 MB / 0.5563 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.5948, allocations: 2.085 MB / 0.5583 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006173/0.601, allocations: 3.543 MB / 0.5618 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.6011, allocations: 40.06 kB / 0.5618 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 4.088e-06/0.6011, allocations: 6.078 kB / 0.5619 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005014/0.6061, allocations: 2.224 MB / 0.564 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6062, allocations: 59.84 kB / 0.5641 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.6092, allocations: 1.952 MB / 0.566 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.522e-05/0.6093, allocations: 37.64 kB / 0.566 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.6105, allocations: 1.887 MB / 0.5679 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.6108, allocations: 313.2 kB / 0.5682 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.6109, allocations: 55.69 kB / 0.5682 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.6112, allocations: 0.49 MB / 0.5687 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.6126, allocations: 0.8755 MB / 0.5696 GB, free: 10.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.6151, allocations: 2.748 MB / 0.5722 GB, free: 7.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.6171, allocations: 1.559 MB / 0.5738 GB, free: 5.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-05/0.6172, allocations: 20 kB / 0.5738 GB, free: 5.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004989/0.6222, allocations: 3.528 MB / 0.5772 GB, free: 2.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.6222, allocations: 38.34 kB / 0.5773 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-05/0.6223, allocations: 64 kB / 0.5773 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-05/0.6224, allocations: 100 kB / 0.5774 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.6242, allocations: 0.6652 MB / 0.5781 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.341e-05/0.6243, allocations: 133.6 kB / 0.5782 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.6263, allocations: 425 kB / 0.5786 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.6265, allocations: 188 kB / 0.5788 GB, free: 1.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (365): * Single equations (assignments): 360 * 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.002329/0.6289, allocations: 1.37 MB / 0.5801 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.6291, allocations: 157.8 kB / 0.5803 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.6295, allocations: 197.2 kB / 0.5805 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.6295, allocations: 8 kB / 0.5805 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.6295, allocations: 0 / 0.5805 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6295, allocations: 11.98 kB / 0.5805 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007078/0.6366, allocations: 4.136 MB / 0.5845 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6367, allocations: 8 kB / 0.5845 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.637, allocations: 98.97 kB / 0.5846 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.6371, allocations: 8.75 kB / 0.5846 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.6371, allocations: 16 kB / 0.5846 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.6371, allocations: 15.98 kB / 0.5847 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.6371, allocations: 11.28 kB / 0.5847 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.6387, allocations: 1.659 MB / 0.5863 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/0.6392, allocations: 258.6 kB / 0.5865 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.6393, allocations: 16 kB / 0.5865 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.6398, allocations: 27.97 kB / 0.5866 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.6399, allocations: 61.3 kB / 0.5866 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.64, allocations: 20 kB / 0.5866 GB, free: 8.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001899/0.6419, allocations: 1.275 MB / 0.5879 GB, free: 7.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.6419, allocations: 0 / 0.5879 GB, free: 7.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002888/0.6448, allocations: 0.7071 MB / 0.5886 GB, free: 6.918 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002761/0.6476, allocations: 3.763 MB / 0.5923 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.6509, allocations: 2.025 MB / 0.5942 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.651, allocations: 4 kB / 0.5942 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.6515, allocations: 459 kB / 0.5947 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6527, allocations: 234.4 kB / 0.5949 GB, free: 436 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/0.6844, allocations: 55.35 MB / 0.649 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.6868, allocations: 2.379 MB / 0.6513 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002252/0.6891, allocations: 0.9638 MB / 0.6522 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/0.6905, allocations: 1.075 MB / 0.6533 GB, free: 2.941 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6905, allocations: 0 / 0.6533 GB, free: 2.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/0.762, allocations: 36.17 MB / 0.6886 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.7622, allocations: 178.8 kB / 0.6888 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.352, allocations: 0 / 0.6888 GB, free: 14.79 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat does not exist to compare? outputFormat=mat