Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",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.00176/0.00176, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001584/0.001584, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1996/0.1996, allocations: 43.52 MB / 314.1 MB, free: 440 kB / 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.00151/0.00151, allocations: 73.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09638, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01164/0.1081, allocations: 10.54 MB / 0.4977 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006205/0.1143, allocations: 3.007 MB / 0.5006 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.1159, allocations: 55.88 kB / 0.5007 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003826/0.1197, allocations: 2.009 MB / 0.5026 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.1229, allocations: 1.183 MB / 0.5038 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.1237, allocations: 287.4 kB / 0.5041 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.1268, allocations: 2.446 MB / 0.5065 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.1294, allocations: 2.383 MB / 0.5088 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1307, allocations: 0.9422 MB / 0.5097 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.1322, allocations: 1.265 MB / 0.5109 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.1326, allocations: 216 kB / 0.5111 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1339, allocations: 0.706 MB / 0.5118 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1349, allocations: 1.208 MB / 0.513 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1362, allocations: 1.437 MB / 0.5144 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004157/0.1404, allocations: 4.702 MB / 0.519 GB, free: 11.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1404, allocations: 0 / 0.519 GB, free: 11.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1404, allocations: 0 / 0.519 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.231e-05/0.1405, allocations: 0 / 0.519 GB, free: 11.74 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005233/0.1457, allocations: 3.076 MB / 0.522 GB, free: 8.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1458, allocations: 11.89 kB / 0.522 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006875/0.1465, allocations: 0.513 MB / 0.5225 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.152, allocations: 1.611 MB / 0.5241 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.1552, allocations: 1.398 MB / 0.5255 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.1554, allocations: 164 kB / 0.5256 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/0.1558, allocations: 199.9 kB / 0.5258 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.19/0.3459, allocations: 6.778 MB / 0.5324 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.3459, allocations: 13.09 kB / 0.5324 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.3462, allocations: 95.02 kB / 0.5325 GB, free: 36.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.3485, allocations: 1.476 MB / 0.534 GB, free: 36.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.3594, allocations: 5.806 MB / 0.5396 GB, free: 35.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.3867, allocations: 21.44 MB / 0.5606 GB, free: 21.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/0.3909, allocations: 2.258 MB / 0.5628 GB, free: 19.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.3918, allocations: 0.7782 MB / 0.5636 GB, free: 19.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006264/0.3981, allocations: 3.744 MB / 0.5672 GB, free: 17.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3982, allocations: 41.19 kB / 0.5672 GB, free: 16.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.517e-06/0.3982, allocations: 0 / 0.5672 GB, free: 16.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005181/0.4034, allocations: 2.192 MB / 0.5694 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.4034, allocations: 59.97 kB / 0.5694 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.4055, allocations: 2.028 MB / 0.5714 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.4056, allocations: 41.53 kB / 0.5715 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/0.4063, allocations: 1.953 MB / 0.5734 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.4065, allocations: 359.5 kB / 0.5737 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006238/0.4072, allocations: 0.6622 MB / 0.5744 GB, free: 10.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.4072, allocations: 361.9 kB / 0.5747 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.4084, allocations: 0.9666 MB / 0.5756 GB, free: 9.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.41, allocations: 2.926 MB / 0.5785 GB, free: 5.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.4132, allocations: 4.239 MB / 0.5826 GB, free: 452 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/0.4133, allocations: 20 kB / 0.5827 GB, free: 432 kB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005997/0.4193, allocations: 3.784 MB / 0.5864 GB, free: 12.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.4194, allocations: 39.94 kB / 0.5864 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-05/0.4194, allocations: 72.12 kB / 0.5865 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.811e-05/0.4195, allocations: 92 kB / 0.5866 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.4217, allocations: 0.7096 MB / 0.5872 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001082/0.4219, allocations: 139.4 kB / 0.5874 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.424, allocations: 443.1 kB / 0.5878 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.4243, allocations: 198.2 kB / 0.588 GB, free: 10.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002174/0.4265, allocations: 1.435 MB / 0.5894 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.4268, allocations: 169.7 kB / 0.5896 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.4288, allocations: 1.191 MB / 0.5907 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.4289, allocations: 12 kB / 0.5907 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4289, allocations: 3.984 kB / 0.5907 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4289, allocations: 4 kB / 0.5907 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009062/0.438, allocations: 4.972 MB / 0.5956 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.438, allocations: 11.98 kB / 0.5956 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.4386, allocations: 134.6 kB / 0.5957 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.4386, allocations: 19.98 kB / 0.5958 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.4387, allocations: 22.03 kB / 0.5958 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.4387, allocations: 19.94 kB / 0.5958 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.4387, allocations: 11.94 kB / 0.5958 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.4405, allocations: 1.514 MB / 0.5973 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.441, allocations: 262.5 kB / 0.5975 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.4412, allocations: 23.98 kB / 0.5976 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.4418, allocations: 39.95 kB / 0.5976 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.442, allocations: 75.69 kB / 0.5977 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.442, allocations: 36 kB / 0.5977 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001911/0.4439, allocations: 1.328 MB / 0.599 GB, free: 15.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.444, allocations: 0 / 0.599 GB, free: 15.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002663/0.4466, allocations: 0.7536 MB / 0.5997 GB, free: 14.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002257/0.4489, allocations: 2.145 MB / 0.6018 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.4523, allocations: 2.257 MB / 0.604 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.4523, allocations: 4.062 kB / 0.604 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.453, allocations: 0.5288 MB / 0.6046 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4544, allocations: 256.5 kB / 0.6048 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/0.4823, allocations: 22.51 MB / 0.6268 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/0.485, allocations: 2.413 MB / 0.6291 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002236/0.4872, allocations: 1.014 MB / 0.6301 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/0.4886, allocations: 1.132 MB / 0.6312 GB, free: 11.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4886, allocations: 4 kB / 0.6312 GB, free: 11.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.5495, allocations: 35.42 MB / 0.6658 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.17, allocations: 4 kB / 0.6658 GB, free: 7.965 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches