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.001478/0.001478, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 76.2 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2823, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01094/0.2933, allocations: 9.527 MB / 0.5399 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.299, allocations: 2.921 MB / 0.5428 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.2998, allocations: 48.69 kB / 0.5428 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003664/0.3035, allocations: 1.99 MB / 0.5448 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.3059, allocations: 1.11 MB / 0.5458 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.3066, allocations: 294.6 kB / 0.5461 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002864/0.3095, allocations: 2.327 MB / 0.5484 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.312, allocations: 2.307 MB / 0.5507 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/0.313, allocations: 0.8761 MB / 0.5515 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3143, allocations: 1.152 MB / 0.5526 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.3147, allocations: 200 kB / 0.5528 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.3158, allocations: 0.6943 MB / 0.5535 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.3168, allocations: 1.103 MB / 0.5546 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.318, allocations: 1.308 MB / 0.5559 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004392/0.3224, allocations: 4.331 MB / 0.5601 GB, free: 3.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3225, allocations: 0 / 0.5601 GB, free: 3.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3225, allocations: 0 / 0.5601 GB, free: 3.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.276e-05/0.3225, allocations: 0 / 0.5601 GB, free: 3.379 MB / 414.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.004509/0.327, allocations: 2.934 MB / 0.5629 GB, free: 392 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3271, allocations: 12.03 kB / 0.563 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005721/0.3277, allocations: 483.1 kB / 0.5634 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.3329, allocations: 1.578 MB / 0.565 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.3352, allocations: 1.344 MB / 0.5663 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3353, allocations: 147.8 kB / 0.5664 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.3357, allocations: 187.9 kB / 0.5666 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/0.3452, allocations: 6.242 MB / 0.5727 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/0.3453, allocations: 15.88 kB / 0.5727 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.3455, allocations: 83.91 kB / 0.5728 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002158/0.3477, allocations: 1.34 MB / 0.5741 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009527/0.3572, allocations: 5.342 MB / 0.5793 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02474/0.382, allocations: 20.03 MB / 0.5989 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.3865, allocations: 2.091 MB / 0.6009 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.3875, allocations: 0.6875 MB / 0.6016 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005803/0.3933, allocations: 3.488 MB / 0.605 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3934, allocations: 50.86 kB / 0.605 GB, free: 4.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.445e-06/0.3934, allocations: 0 / 0.605 GB, free: 4.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005387/0.3988, allocations: 1.978 MB / 0.607 GB, free: 2.082 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3988, allocations: 59.84 kB / 0.607 GB, free: 2.012 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/0.4014, allocations: 1.934 MB / 0.6089 GB, free: 76 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.4015, allocations: 41.64 kB / 0.609 GB, free: 28 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.4029, allocations: 1.911 MB / 0.6108 GB, free: 14.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.4032, allocations: 329.5 kB / 0.6111 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007938/0.404, allocations: 0.6195 MB / 0.6117 GB, free: 13.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4042, allocations: 361.9 kB / 0.6121 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4055, allocations: 0.8842 MB / 0.613 GB, free: 11.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.4083, allocations: 2.759 MB / 0.6157 GB, free: 8.203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/0.4129, allocations: 3.961 MB / 0.6195 GB, free: 3.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-05/0.4129, allocations: 20 kB / 0.6195 GB, free: 3.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005362/0.4183, allocations: 3.523 MB / 0.623 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.4183, allocations: 37.88 kB / 0.623 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.786e-05/0.4184, allocations: 68 kB / 0.6231 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-05/0.4185, allocations: 88.78 kB / 0.6232 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4204, allocations: 0.6589 MB / 0.6238 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.4205, allocations: 135.5 kB / 0.6239 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4222, allocations: 432.6 kB / 0.6243 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.4225, allocations: 195.9 kB / 0.6245 GB, free: 14.17 MB / 494.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.001854/0.4243, allocations: 1.342 MB / 0.6258 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.4245, allocations: 166.9 kB / 0.626 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.4249, allocations: 192.9 kB / 0.6262 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.4249, allocations: 12 kB / 0.6262 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.4249, allocations: 0 / 0.6262 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4249, allocations: 3.984 kB / 0.6262 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/0.4312, allocations: 4.077 MB / 0.6302 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.4312, allocations: 4 kB / 0.6302 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4316, allocations: 91.83 kB / 0.6303 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.4317, allocations: 8 kB / 0.6303 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.4317, allocations: 31.86 kB / 0.6303 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.4317, allocations: 11.94 kB / 0.6303 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.4317, allocations: 11.94 kB / 0.6303 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4333, allocations: 1.235 MB / 0.6315 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.4336, allocations: 259.7 kB / 0.6318 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.4338, allocations: 15.94 kB / 0.6318 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.4343, allocations: 31.97 kB / 0.6318 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4344, allocations: 55.81 kB / 0.6319 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.4344, allocations: 28 kB / 0.6319 GB, free: 6.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001755/0.4362, allocations: 1.267 MB / 0.6332 GB, free: 5.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4362, allocations: 7.938 kB / 0.6332 GB, free: 5.078 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002266/0.4385, allocations: 0.689 MB / 0.6338 GB, free: 4.387 MB / 494.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.002059/0.4406, allocations: 1.853 MB / 0.6356 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.4437, allocations: 2.04 MB / 0.6376 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4437, allocations: 1.875 kB / 0.6376 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.4444, allocations: 461.2 kB / 0.6381 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.4456, allocations: 243.5 kB / 0.6383 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/0.4739, allocations: 20.88 MB / 0.6587 GB, free: 8.309 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/0.4764, allocations: 2.275 MB / 0.6609 GB, free: 6.004 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002046/0.4785, allocations: 0.9519 MB / 0.6619 GB, free: 5.047 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.4799, allocations: 1.03 MB / 0.6629 GB, free: 4.016 MB / 0.5138 GB Notification: Performance of SimCode: time 6.92e-07/0.4799, allocations: 3.938 kB / 0.6629 GB, free: 4.012 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/0.5432, allocations: 32.57 MB / 0.6947 GB, free: 3.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.8, allocations: 15.84 kB / 0.6947 GB, free: 3.555 MB / 0.545 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