Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_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.001186/0.001186, allocations: 108.9 kB / 15.98 MB, free: 6.352 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.001324/0.001324, allocations: 192.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.323/0.323, allocations: 43.5 MB / 313.6 MB, free: 8.504 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.89 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2663/0.3852, allocations: 54.55 MB / 494.6 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02555/0.4108, allocations: 10.35 MB / 0.4932 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01305/0.4239, allocations: 219 kB / 0.4934 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.4286, allocations: 2.552 MB / 0.4959 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.4323, allocations: 1.278 MB / 0.4971 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/0.4333, allocations: 324.2 kB / 0.4974 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004573/0.4379, allocations: 2.902 MB / 0.5003 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.4421, allocations: 3.327 MB / 0.5035 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.4444, allocations: 1.211 MB / 0.5047 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.4469, allocations: 1.774 MB / 0.5064 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006401/0.4476, allocations: 295.4 kB / 0.5067 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.4494, allocations: 0.7861 MB / 0.5075 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.4511, allocations: 1.565 MB / 0.509 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.4529, allocations: 1.851 MB / 0.5108 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.4613, allocations: 5.812 MB / 0.5165 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4614, allocations: 1.406 kB / 0.5165 GB, free: 15.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4614, allocations: 0 / 0.5165 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.4615, allocations: 0 / 0.5165 GB, free: 15.86 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.008598/0.4702, allocations: 3.751 MB / 0.5201 GB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4702, allocations: 13.17 kB / 0.5202 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009054/0.4711, allocations: 0.6323 MB / 0.5208 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.4766, allocations: 1.715 MB / 0.5224 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.4798, allocations: 1.64 MB / 0.524 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.48, allocations: 208.3 kB / 0.5242 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.4805, allocations: 262.7 kB / 0.5245 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.4946, allocations: 8.371 MB / 0.5327 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.4947, allocations: 19.81 kB / 0.5327 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.4951, allocations: 115.9 kB / 0.5328 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002582/0.4976, allocations: 1.76 MB / 0.5345 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.5114, allocations: 7.042 MB / 0.5414 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/0.5503, allocations: 25.91 MB / 0.5667 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005191/0.5555, allocations: 2.549 MB / 0.5692 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.5569, allocations: 0.9669 MB / 0.5701 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007798/0.5647, allocations: 4.461 MB / 0.5745 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5647, allocations: 39.56 kB / 0.5745 GB, free: 6.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 3.527e-06/0.5648, allocations: 0 / 0.5745 GB, free: 6.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.006945/0.5717, allocations: 2.731 MB / 0.5772 GB, free: 3.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.5718, allocations: 60.41 kB / 0.5773 GB, free: 3.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.5751, allocations: 2.257 MB / 0.5795 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.273e-05/0.5752, allocations: 45.69 kB / 0.5795 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.5768, allocations: 2.318 MB / 0.5818 GB, free: 14.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.5772, allocations: 462 kB / 0.5822 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009819/0.5782, allocations: 0.7499 MB / 0.5829 GB, free: 13.42 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5783, allocations: 309.1 kB / 0.5832 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.58, allocations: 1.124 MB / 0.5843 GB, free: 11.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.5831, allocations: 3.283 MB / 0.5875 GB, free: 7.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00548/0.5886, allocations: 4.815 MB / 0.5922 GB, free: 1.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.182e-05/0.5887, allocations: 24 kB / 0.5923 GB, free: 1.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006541/0.5952, allocations: 4.321 MB / 0.5965 GB, free: 13.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.5953, allocations: 36 kB / 0.5965 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.622e-05/0.5954, allocations: 76 kB / 0.5966 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.815e-05/0.5955, allocations: 104 kB / 0.5967 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.5978, allocations: 0.8149 MB / 0.5975 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.5979, allocations: 147.4 kB / 0.5976 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.6003, allocations: 0.4911 MB / 0.5981 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.6006, allocations: 235.8 kB / 0.5983 GB, free: 11.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002961/0.6036, allocations: 1.698 MB / 0.6 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.6039, allocations: 197.4 kB / 0.6002 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.6063, allocations: 1.518 MB / 0.6017 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.6063, allocations: 16 kB / 0.6017 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6063, allocations: 0 / 0.6017 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.6064, allocations: 3.984 kB / 0.6017 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.6175, allocations: 7.378 MB / 0.6089 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.6175, allocations: 12 kB / 0.6089 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.6183, allocations: 191.6 kB / 0.6091 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/0.6183, allocations: 20 kB / 0.6091 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/0.6184, allocations: 39.98 kB / 0.6091 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.219e-05/0.6184, allocations: 35.8 kB / 0.6092 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.6184, allocations: 24.28 kB / 0.6092 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.6209, allocations: 1.992 MB / 0.6111 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.6214, allocations: 326 kB / 0.6114 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.6217, allocations: 43.92 kB / 0.6115 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/0.6225, allocations: 51.81 kB / 0.6115 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.6227, allocations: 119.4 kB / 0.6117 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.6227, allocations: 55.98 kB / 0.6117 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002206/0.625, allocations: 1.57 MB / 0.6132 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.625, allocations: 0 / 0.6132 GB, free: 11.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003308/0.6283, allocations: 0.9253 MB / 0.6141 GB, free: 10.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.002901/0.6312, allocations: 2.635 MB / 0.6167 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.6357, allocations: 2.898 MB / 0.6195 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.6357, allocations: 4 kB / 0.6196 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009908/0.6367, allocations: 0.7021 MB / 0.6202 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.6387, allocations: 311.7 kB / 0.6205 GB, free: 4.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2451/0.8838, allocations: 31.01 MB / 0.6508 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/0.8863, allocations: 2.83 MB / 0.6536 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002507/0.8888, allocations: 1.169 MB / 0.6547 GB, free: 155 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.8903, allocations: 1.439 MB / 0.6561 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.8903, allocations: 0 / 0.6561 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07519/0.9655, allocations: 41.5 MB / 0.6967 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.9657, allocations: 206.3 kB / 0.6969 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/3.844, allocations: 0 / 0.6969 GB, free: 137.5 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches