Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009398/0.0009399, allocations: 94 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.0009233/0.0009235, allocations: 200.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.335/1.335, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.000271, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1025, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02652/0.1291, allocations: 29.39 MB / 0.5006 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.142, allocations: 6.263 MB / 0.5067 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004157/0.1462, allocations: 127.8 kB / 0.5068 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1997/0.3459, allocations: 282.4 kB / 0.5071 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.349, allocations: 1.044 MB / 0.5081 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.3499, allocations: 265.8 kB / 0.5083 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004727/0.3546, allocations: 3.372 MB / 0.5116 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00541/0.36, allocations: 3.335 MB / 0.5149 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.3616, allocations: 0.6296 MB / 0.5155 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.3635, allocations: 1.031 MB / 0.5165 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004642/0.364, allocations: 84.72 kB / 0.5166 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3656, allocations: 0.6289 MB / 0.5172 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.3672, allocations: 0.9877 MB / 0.5182 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.3693, allocations: 1.18 MB / 0.5193 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/0.3744, allocations: 4.007 MB / 0.5232 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3744, allocations: 0 / 0.5232 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3744, allocations: 0 / 0.5232 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001593/0.3746, allocations: 0 / 0.5232 GB, free: 8.281 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.006633/0.3812, allocations: 2.346 MB / 0.5255 GB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3813, allocations: 9.531 kB / 0.5255 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001443/0.3827, allocations: 482.4 kB / 0.526 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.3883, allocations: 1.606 MB / 0.5276 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.3912, allocations: 1.319 MB / 0.5289 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3914, allocations: 143.4 kB / 0.529 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008079/0.3922, allocations: 190.3 kB / 0.5292 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.4028, allocations: 6.248 MB / 0.5353 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.4029, allocations: 14.22 kB / 0.5353 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.4031, allocations: 86.8 kB / 0.5354 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001834/0.405, allocations: 1.351 MB / 0.5367 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008804/0.4138, allocations: 5.332 MB / 0.5419 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02431/0.4381, allocations: 20.13 MB / 0.5616 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.4423, allocations: 2.082 MB / 0.5636 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009078/0.4432, allocations: 0.6897 MB / 0.5643 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00533/0.4486, allocations: 3.491 MB / 0.5677 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4486, allocations: 35 kB / 0.5677 GB, free: 3.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.977e-06/0.4486, allocations: 4 kB / 0.5677 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.004997/0.4536, allocations: 1.987 MB / 0.5696 GB, free: 1.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.4537, allocations: 55.84 kB / 0.5697 GB, free: 1.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.4562, allocations: 1.933 MB / 0.5716 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.4563, allocations: 33.7 kB / 0.5716 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.4573, allocations: 1.84 MB / 0.5734 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.4576, allocations: 321.8 kB / 0.5737 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.4579, allocations: 268.2 kB / 0.574 GB, free: 12.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.458, allocations: 365.9 kB / 0.5743 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.4592, allocations: 0.8842 MB / 0.5752 GB, free: 11.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.4618, allocations: 2.751 MB / 0.5779 GB, free: 7.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/0.4657, allocations: 3.969 MB / 0.5818 GB, free: 3.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-05/0.4657, allocations: 20 kB / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004841/0.4706, allocations: 3.521 MB / 0.5852 GB, free: 144 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.4706, allocations: 36 kB / 0.5852 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.068e-05/0.4707, allocations: 68 kB / 0.5853 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.134e-05/0.4708, allocations: 84.05 kB / 0.5854 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.4726, allocations: 0.6627 MB / 0.586 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.141e-05/0.4727, allocations: 131.9 kB / 0.5862 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.4744, allocations: 419.5 kB / 0.5866 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.4746, allocations: 184 kB / 0.5867 GB, free: 14.64 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.001893/0.4765, allocations: 1.345 MB / 0.5881 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.4767, allocations: 153.9 kB / 0.5882 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.4771, allocations: 196.8 kB / 0.5884 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4771, allocations: 12 kB / 0.5884 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4771, allocations: 0 / 0.5884 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4771, allocations: 3.984 kB / 0.5884 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.483, allocations: 4.08 MB / 0.5924 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.483, allocations: 4 kB / 0.5924 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.4834, allocations: 95.83 kB / 0.5925 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.4834, allocations: 15.98 kB / 0.5925 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.4835, allocations: 16.66 kB / 0.5925 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.4835, allocations: 15.94 kB / 0.5925 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4835, allocations: 11.94 kB / 0.5925 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4848, allocations: 1.233 MB / 0.5937 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.4851, allocations: 262.7 kB / 0.594 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.4852, allocations: 15.94 kB / 0.594 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.4857, allocations: 27.98 kB / 0.594 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.4858, allocations: 51.81 kB / 0.5941 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.4859, allocations: 28 kB / 0.5941 GB, free: 6.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4874, allocations: 1.275 MB / 0.5954 GB, free: 5.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4874, allocations: 0 / 0.5954 GB, free: 5.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00214/0.4896, allocations: 0.6799 MB / 0.596 GB, free: 4.891 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.001667/0.4913, allocations: 1.846 MB / 0.5978 GB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.4937, allocations: 2.015 MB / 0.5998 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4937, allocations: 8.062 kB / 0.5998 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.4943, allocations: 455.9 kB / 0.6002 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.4965, allocations: 235.3 kB / 0.6005 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/0.5247, allocations: 23.25 MB / 0.6232 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.5273, allocations: 2.271 MB / 0.6254 GB, free: 3.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002195/0.5295, allocations: 0.9596 MB / 0.6263 GB, free: 2.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.5308, allocations: 1.03 MB / 0.6273 GB, free: 1.773 MB / 478.1 MB Notification: Performance of SimCode: time 1.183e-06/0.5309, allocations: 0 / 0.6273 GB, free: 1.773 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.5874, allocations: 31.1 MB / 0.6577 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.5876, allocations: 204.6 kB / 0.6579 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.973, allocations: 0 / 0.6579 GB, free: 2.566 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches