Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001719, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3636, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01369/0.3774, allocations: 10.1 MB / 0.5404 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007604/0.385, allocations: 3.083 MB / 0.5434 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.3872, allocations: 52.66 kB / 0.5434 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005586/0.3929, allocations: 2.614 MB / 0.546 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.3966, allocations: 1.171 MB / 0.5471 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3978, allocations: 349.3 kB / 0.5475 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.402, allocations: 2.55 MB / 0.5499 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00418/0.4062, allocations: 2.992 MB / 0.5529 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.4084, allocations: 1.055 MB / 0.5539 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/0.4106, allocations: 1.371 MB / 0.5552 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008525/0.4115, allocations: 252 kB / 0.5555 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.4133, allocations: 0.7568 MB / 0.5562 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.4151, allocations: 1.336 MB / 0.5575 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.4175, allocations: 1.557 MB / 0.559 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006874/0.4244, allocations: 5.108 MB / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4245, allocations: 0 / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4245, allocations: 0 / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001887/0.4247, allocations: 0 / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.007994/0.4327, allocations: 3.269 MB / 0.5672 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4327, allocations: 8.031 kB / 0.5672 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/0.434, allocations: 0.5459 MB / 0.5678 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/0.4397, allocations: 1.603 MB / 0.5693 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/0.444, allocations: 1.5 MB / 0.5708 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4442, allocations: 184.7 kB / 0.571 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008124/0.445, allocations: 227.9 kB / 0.5712 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.4585, allocations: 7.121 MB / 0.5781 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-05/0.4586, allocations: 11.88 kB / 0.5782 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006519/0.4593, allocations: 107.9 kB / 0.5783 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/0.4617, allocations: 1.447 MB / 0.5797 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.4737, allocations: 5.952 MB / 0.5855 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03552/0.5093, allocations: 22.28 MB / 0.6072 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/0.5142, allocations: 2.196 MB / 0.6094 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.5153, allocations: 0.7681 MB / 0.6101 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00786/0.5232, allocations: 3.86 MB / 0.6139 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.5233, allocations: 39.12 kB / 0.6139 GB, free: 10.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 1.39e-05/0.5233, allocations: 0 / 0.6139 GB, free: 10.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.009574/0.5329, allocations: 2.248 MB / 0.6161 GB, free: 8.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.533, allocations: 59.97 kB / 0.6162 GB, free: 8.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005609/0.5386, allocations: 2.052 MB / 0.6182 GB, free: 6.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5388, allocations: 37.7 kB / 0.6182 GB, free: 6.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/0.5411, allocations: 2.038 MB / 0.6202 GB, free: 4.363 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005643/0.5417, allocations: 339.7 kB / 0.6205 GB, free: 4.027 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.5433, allocations: 0.6506 MB / 0.6212 GB, free: 3.367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002534/0.5435, allocations: 361.9 kB / 0.6215 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.5458, allocations: 0.9391 MB / 0.6224 GB, free: 2.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.5501, allocations: 2.868 MB / 0.6252 GB, free: 14.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006766/0.5569, allocations: 4.154 MB / 0.6293 GB, free: 9.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.16e-05/0.557, allocations: 20 kB / 0.6293 GB, free: 9.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.009248/0.5662, allocations: 3.705 MB / 0.6329 GB, free: 5.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.737e-05/0.5663, allocations: 36 kB / 0.633 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.5665, allocations: 68 kB / 0.633 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.5666, allocations: 88 kB / 0.6331 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.5698, allocations: 0.6862 MB / 0.6338 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001578/0.57, allocations: 135.4 kB / 0.6339 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.5732, allocations: 435.7 kB / 0.6343 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/0.5736, allocations: 200 kB / 0.6345 GB, free: 3.762 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.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 (382): * Single equations (assignments): 377 * 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.003348/0.577, allocations: 1.503 MB / 0.636 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.5774, allocations: 165.8 kB / 0.6362 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.5779, allocations: 218.2 kB / 0.6364 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.5779, allocations: 15.97 kB / 0.6364 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.5779, allocations: 4 kB / 0.6364 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.578, allocations: 3.984 kB / 0.6364 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5887, allocations: 4.935 MB / 0.6412 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/0.5888, allocations: 8 kB / 0.6412 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.5892, allocations: 119.7 kB / 0.6413 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.5893, allocations: 12.75 kB / 0.6413 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.5893, allocations: 20 kB / 0.6414 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.5893, allocations: 23.92 kB / 0.6414 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.5894, allocations: 11.94 kB / 0.6414 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.591, allocations: 1.406 MB / 0.6428 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.5916, allocations: 286.3 kB / 0.643 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5917, allocations: 20 kB / 0.6431 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.5923, allocations: 43.88 kB / 0.6431 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5924, allocations: 71.69 kB / 0.6432 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.5925, allocations: 32 kB / 0.6432 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002013/0.5945, allocations: 1.444 MB / 0.6446 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5945, allocations: 0 / 0.6446 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00271/0.5972, allocations: 0.7736 MB / 0.6454 GB, free: 8.32 MB / 0.4981 GB 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 (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.002253/0.5995, allocations: 2.023 MB / 0.6473 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003394/0.6029, allocations: 2.164 MB / 0.6495 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6029, allocations: 4 kB / 0.6495 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.6035, allocations: 0.4989 MB / 0.6499 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6049, allocations: 269.7 kB / 0.6502 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/0.6377, allocations: 23.1 MB / 0.6728 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.6408, allocations: 2.522 MB / 0.6752 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00234/0.6431, allocations: 1.02 MB / 0.6762 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.6447, allocations: 1.206 MB / 0.6774 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.6447, allocations: 0 / 0.6774 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/0.7117, allocations: 37.1 MB / 0.7136 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.09, allocations: 4.062 kB / 0.7136 GB, free: 15.74 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches