Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001129/0.001129, allocations: 93.42 kB / 17.35 MB, free: 6.375 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.00121/0.00121, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.259/1.259, allocations: 223.3 MB / 242.3 MB, free: 212 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.1801/0.1801, allocations: 44.24 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09677, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2507/0.3475, allocations: 51.13 MB / 0.5112 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02242/0.37, allocations: 10.09 MB / 0.5211 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/0.3805, allocations: 213.8 kB / 0.5213 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.3816, allocations: 331.4 kB / 0.5216 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.3848, allocations: 1.16 MB / 0.5227 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008553/0.3857, allocations: 325.6 kB / 0.523 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.3901, allocations: 3.876 MB / 0.5268 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004758/0.3949, allocations: 4.214 MB / 0.5309 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009892/0.3959, allocations: 0.7386 MB / 0.5317 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.3971, allocations: 1.214 MB / 0.5328 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.3972, allocations: 102.3 kB / 0.5329 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3983, allocations: 0.6546 MB / 0.5336 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008283/0.3991, allocations: 1.209 MB / 0.5348 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009203/0.4, allocations: 1.434 MB / 0.5362 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.4033, allocations: 4.95 MB / 0.541 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4034, allocations: 0 / 0.541 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4034, allocations: 0 / 0.541 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.253e-05/0.4035, allocations: 0 / 0.541 GB, free: 15.95 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.00431/0.4078, allocations: 2.776 MB / 0.5437 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4078, allocations: 9.875 kB / 0.5437 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007078/0.4085, allocations: 0.5701 MB / 0.5443 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.4137, allocations: 1.702 MB / 0.5459 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.4159, allocations: 1.52 MB / 0.5474 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4161, allocations: 196.6 kB / 0.5476 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.4164, allocations: 237 kB / 0.5478 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.4265, allocations: 7.49 MB / 0.5552 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.4266, allocations: 11.88 kB / 0.5552 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.4269, allocations: 109.3 kB / 0.5553 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.4291, allocations: 1.573 MB / 0.5568 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.4396, allocations: 6.261 MB / 0.5629 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02843/0.4681, allocations: 23.32 MB / 0.5857 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/0.4728, allocations: 2.196 MB / 0.5878 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.4739, allocations: 0.772 MB / 0.5886 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006331/0.4803, allocations: 3.896 MB / 0.5924 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4803, allocations: 43.06 kB / 0.5924 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 2.915e-06/0.4803, allocations: 0 / 0.5924 GB, free: 12.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005944/0.4863, allocations: 2.258 MB / 0.5946 GB, free: 10.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4863, allocations: 59.97 kB / 0.5947 GB, free: 10.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.4894, allocations: 2.101 MB / 0.5968 GB, free: 8.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.4894, allocations: 33.7 kB / 0.5968 GB, free: 8.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.4907, allocations: 2.114 MB / 0.5988 GB, free: 6.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.491, allocations: 348 kB / 0.5992 GB, free: 5.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.4914, allocations: 300.6 kB / 0.5995 GB, free: 5.531 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.4915, allocations: 305.1 kB / 0.5998 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4928, allocations: 0.9431 MB / 0.6007 GB, free: 4.285 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.4953, allocations: 2.92 MB / 0.6035 GB, free: 392 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/0.4994, allocations: 4.21 MB / 0.6076 GB, free: 11.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-05/0.4995, allocations: 23.94 kB / 0.6077 GB, free: 11.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005409/0.5049, allocations: 3.748 MB / 0.6113 GB, free: 7.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.5049, allocations: 39.94 kB / 0.6114 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.847e-05/0.505, allocations: 68 kB / 0.6114 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.55e-05/0.5051, allocations: 92 kB / 0.6115 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.507, allocations: 0.6986 MB / 0.6122 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001042/0.5072, allocations: 135.5 kB / 0.6123 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.509, allocations: 443.3 kB / 0.6127 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.5092, allocations: 200 kB / 0.6129 GB, free: 5.762 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * 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.002166/0.5114, allocations: 1.565 MB / 0.6145 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5116, allocations: 173.7 kB / 0.6146 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.512, allocations: 214.7 kB / 0.6148 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.5121, allocations: 11.94 kB / 0.6148 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5121, allocations: 4 kB / 0.6149 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5121, allocations: 7.922 kB / 0.6149 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007273/0.5194, allocations: 5.079 MB / 0.6198 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5194, allocations: 8 kB / 0.6198 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.5198, allocations: 116.6 kB / 0.6199 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.5199, allocations: 12 kB / 0.62 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.5199, allocations: 23.94 kB / 0.62 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.5199, allocations: 23.92 kB / 0.62 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.5199, allocations: 11.94 kB / 0.62 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.5214, allocations: 1.406 MB / 0.6214 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.5218, allocations: 298.2 kB / 0.6217 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.522, allocations: 27.94 kB / 0.6217 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.5226, allocations: 34.53 kB / 0.6217 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5227, allocations: 59.83 kB / 0.6218 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.5227, allocations: 35.98 kB / 0.6218 GB, free: 12.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.5246, allocations: 1.477 MB / 0.6233 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5246, allocations: 0 / 0.6233 GB, free: 10.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002306/0.5269, allocations: 0.8124 MB / 0.6241 GB, free: 10.04 MB / 478.1 MB 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.001852/0.5287, allocations: 2.02 MB / 0.626 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.5315, allocations: 2.165 MB / 0.6281 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5315, allocations: 4 kB / 0.6281 GB, free: 5.746 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.5321, allocations: 0.5009 MB / 0.6286 GB, free: 5.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.5352, allocations: 283.5 kB / 0.6289 GB, free: 4.977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/0.5686, allocations: 26.84 MB / 0.6551 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/0.5718, allocations: 2.599 MB / 0.6577 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002295/0.5741, allocations: 1.036 MB / 0.6587 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/0.5756, allocations: 1.261 MB / 0.6599 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.5756, allocations: 0 / 0.6599 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/0.629, allocations: 35.99 MB / 0.695 GB, free: 14 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.6293, allocations: 209.8 kB / 0.6952 GB, free: 13.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.062, allocations: 0 / 0.6952 GB, free: 13.74 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches