Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009211/0.0009211, allocations: 91.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009609/0.000961, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1955/0.1955, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003033, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02747/0.1461, allocations: 29.39 MB / 0.5005 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.1579, allocations: 6.271 MB / 0.5067 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.1615, allocations: 123.8 kB / 0.5068 GB, free: 124 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2174/0.3789, allocations: 284.4 kB / 0.5071 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.3816, allocations: 1.043 MB / 0.5081 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.3822, allocations: 271.3 kB / 0.5083 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.3863, allocations: 3.367 MB / 0.5116 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004375/0.3906, allocations: 3.342 MB / 0.5149 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.3917, allocations: 0.6246 MB / 0.5155 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.393, allocations: 1.031 MB / 0.5165 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3933, allocations: 83.81 kB / 0.5166 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3944, allocations: 0.6357 MB / 0.5172 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009766/0.3954, allocations: 0.9873 MB / 0.5182 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.3963, allocations: 1.175 MB / 0.5193 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.3998, allocations: 4.002 MB / 0.5232 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3998, allocations: 1.312 kB / 0.5232 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3998, allocations: 0 / 0.5232 GB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.156e-05/0.3999, allocations: 0 / 0.5232 GB, free: 8.25 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003638/0.4035, allocations: 2.349 MB / 0.5255 GB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4036, allocations: 9.719 kB / 0.5255 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005674/0.4041, allocations: 484.6 kB / 0.526 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.4089, allocations: 1.6 MB / 0.5276 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4107, allocations: 1.317 MB / 0.5288 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4108, allocations: 147.1 kB / 0.529 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.4112, allocations: 190.5 kB / 0.5292 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007691/0.4189, allocations: 6.248 MB / 0.5353 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.4189, allocations: 13.75 kB / 0.5353 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.4192, allocations: 90.8 kB / 0.5354 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001743/0.4209, allocations: 1.341 MB / 0.5367 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.4294, allocations: 5.331 MB / 0.5419 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.4555, allocations: 20.14 MB / 0.5616 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.4597, allocations: 2.079 MB / 0.5636 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.4606, allocations: 0.69 MB / 0.5643 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005764/0.4664, allocations: 3.493 MB / 0.5677 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.4665, allocations: 42.94 kB / 0.5677 GB, free: 3.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.4665, allocations: 0 / 0.5677 GB, free: 3.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005292/0.4718, allocations: 1.972 MB / 0.5696 GB, free: 1.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.4718, allocations: 59.84 kB / 0.5697 GB, free: 1.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.4749, allocations: 1.937 MB / 0.5716 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.475, allocations: 37.3 kB / 0.5716 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.4763, allocations: 1.837 MB / 0.5734 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.4767, allocations: 312.9 kB / 0.5737 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.477, allocations: 278.2 kB / 0.574 GB, free: 12.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4772, allocations: 361.9 kB / 0.5743 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4786, allocations: 0.8842 MB / 0.5752 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.4812, allocations: 2.754 MB / 0.5779 GB, free: 7.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/0.4856, allocations: 3.964 MB / 0.5817 GB, free: 3.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.496e-05/0.4856, allocations: 20 kB / 0.5818 GB, free: 3.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005425/0.4911, allocations: 3.525 MB / 0.5852 GB, free: 116 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.4911, allocations: 34.03 kB / 0.5852 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.039e-05/0.4912, allocations: 68 kB / 0.5853 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.4913, allocations: 88.05 kB / 0.5854 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.4932, allocations: 0.657 MB / 0.586 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.4933, allocations: 128.3 kB / 0.5862 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.4951, allocations: 426.2 kB / 0.5866 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.4954, allocations: 184 kB / 0.5867 GB, free: 14.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002104/0.4975, allocations: 1.344 MB / 0.588 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4978, allocations: 153.9 kB / 0.5882 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.4982, allocations: 200.9 kB / 0.5884 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4982, allocations: 12 kB / 0.5884 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4982, allocations: 0 / 0.5884 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4982, allocations: 0 / 0.5884 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006796/0.505, allocations: 4.076 MB / 0.5924 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.505, allocations: 4 kB / 0.5924 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.5054, allocations: 111.9 kB / 0.5925 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.5055, allocations: 11.98 kB / 0.5925 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.5055, allocations: 18.44 kB / 0.5925 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.5055, allocations: 11.98 kB / 0.5925 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.5055, allocations: 11.94 kB / 0.5925 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.507, allocations: 1.226 MB / 0.5937 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.5074, allocations: 262.7 kB / 0.594 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.5077, allocations: 15.94 kB / 0.594 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.5082, allocations: 35.91 kB / 0.594 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.5083, allocations: 47.83 kB / 0.5941 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.5084, allocations: 31.12 kB / 0.5941 GB, free: 6.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002032/0.5104, allocations: 1.275 MB / 0.5954 GB, free: 5.551 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5104, allocations: 0 / 0.5954 GB, free: 5.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002711/0.5131, allocations: 0.6765 MB / 0.596 GB, free: 4.871 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/0.5151, allocations: 1.847 MB / 0.5978 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.5182, allocations: 2.025 MB / 0.5998 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.5183, allocations: 0 / 0.5998 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.5188, allocations: 454.3 kB / 0.6002 GB, free: 480 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.5214, allocations: 223.5 kB / 0.6004 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/0.5539, allocations: 23.25 MB / 0.6232 GB, free: 6.059 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.5569, allocations: 2.278 MB / 0.6254 GB, free: 3.754 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002313/0.5593, allocations: 0.9557 MB / 0.6263 GB, free: 2.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/0.5608, allocations: 1.034 MB / 0.6273 GB, free: 1.758 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5608, allocations: 0 / 0.6273 GB, free: 1.758 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/0.6121, allocations: 31.09 MB / 0.6577 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.6123, allocations: 201.9 kB / 0.6579 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.05, allocations: 3.938 kB / 0.6579 GB, free: 2.555 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches