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.001689/0.001689, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001686/0.001686, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2335/0.2335, allocations: 43.53 MB / 314.1 MB, free: 460 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.002295/0.002295, allocations: 65.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0137/0.1448, allocations: 10.55 MB / 0.4977 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00781/0.1526, allocations: 3.003 MB / 0.5006 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.1545, allocations: 55.94 kB / 0.5007 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.1588, allocations: 2.005 MB / 0.5026 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.1624, allocations: 1.183 MB / 0.5038 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.1633, allocations: 295.4 kB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004519/0.1679, allocations: 2.45 MB / 0.5065 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.1717, allocations: 2.371 MB / 0.5088 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1738, allocations: 0.9462 MB / 0.5097 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.1763, allocations: 1.262 MB / 0.5109 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006589/0.1769, allocations: 212 kB / 0.5111 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1787, allocations: 0.7138 MB / 0.5118 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.1803, allocations: 1.2 MB / 0.513 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.1826, allocations: 1.433 MB / 0.5144 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006603/0.1893, allocations: 4.727 MB / 0.519 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1893, allocations: 0 / 0.519 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1893, allocations: 0 / 0.519 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002055/0.1895, allocations: 4 kB / 0.519 GB, free: 11.75 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.008541/0.1981, allocations: 3.149 MB / 0.5221 GB, free: 8.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.1982, allocations: 19.88 kB / 0.5221 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/0.1997, allocations: 0.5091 MB / 0.5226 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006064/0.2058, allocations: 1.633 MB / 0.5242 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.2091, allocations: 1.399 MB / 0.5256 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.2093, allocations: 164 kB / 0.5257 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007253/0.2101, allocations: 195.9 kB / 0.5259 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2425/0.4525, allocations: 6.787 MB / 0.5326 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.427e-05/0.4527, allocations: 14.69 kB / 0.5326 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004285/0.4531, allocations: 93.59 kB / 0.5327 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002702/0.4558, allocations: 1.473 MB / 0.5341 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.4698, allocations: 5.806 MB / 0.5398 GB, free: 35.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03478/0.5046, allocations: 21.49 MB / 0.5608 GB, free: 21.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/0.5093, allocations: 2.262 MB / 0.563 GB, free: 19.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.5105, allocations: 0.7813 MB / 0.5637 GB, free: 19.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007075/0.5176, allocations: 3.756 MB / 0.5674 GB, free: 17.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.5177, allocations: 35.12 kB / 0.5674 GB, free: 17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 5.401e-06/0.5177, allocations: 0 / 0.5674 GB, free: 17 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005936/0.5237, allocations: 2.201 MB / 0.5696 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.5238, allocations: 63.91 kB / 0.5696 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.5265, allocations: 2.03 MB / 0.5716 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.5266, allocations: 37.61 kB / 0.5717 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/0.5276, allocations: 2.034 MB / 0.5736 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.5279, allocations: 388.1 kB / 0.574 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006945/0.5286, allocations: 0.6586 MB / 0.5747 GB, free: 10.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5288, allocations: 361.9 kB / 0.575 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.5299, allocations: 0.9666 MB / 0.5759 GB, free: 9.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.5318, allocations: 2.918 MB / 0.5788 GB, free: 5.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.5352, allocations: 4.238 MB / 0.5829 GB, free: 488 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.5353, allocations: 20 kB / 0.583 GB, free: 468 kB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007141/0.5425, allocations: 3.788 MB / 0.5867 GB, free: 12.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.5426, allocations: 39.94 kB / 0.5867 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.5427, allocations: 76.77 kB / 0.5868 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.5428, allocations: 93.97 kB / 0.5869 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.5453, allocations: 0.7096 MB / 0.5875 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001527/0.5454, allocations: 139.4 kB / 0.5877 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.5482, allocations: 460.6 kB / 0.5881 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005944/0.5488, allocations: 198.5 kB / 0.5883 GB, free: 10.97 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.002864/0.5517, allocations: 1.431 MB / 0.5897 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.5521, allocations: 182.7 kB / 0.5899 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.5543, allocations: 1.191 MB / 0.591 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.5544, allocations: 12 kB / 0.5911 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5544, allocations: 4 kB / 0.5911 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5544, allocations: 0 / 0.5911 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.5647, allocations: 4.986 MB / 0.5959 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/0.5648, allocations: 8 kB / 0.5959 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.5654, allocations: 143.7 kB / 0.5961 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/0.5654, allocations: 15.94 kB / 0.5961 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.5655, allocations: 25.94 kB / 0.5961 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.5655, allocations: 19.92 kB / 0.5961 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.5655, allocations: 11.94 kB / 0.5961 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.5678, allocations: 1.511 MB / 0.5976 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006368/0.5685, allocations: 275.6 kB / 0.5979 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.5688, allocations: 27.98 kB / 0.5979 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.5696, allocations: 39.77 kB / 0.5979 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.5697, allocations: 75.69 kB / 0.598 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/0.5698, allocations: 39.98 kB / 0.5981 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0026/0.5724, allocations: 1.328 MB / 0.5994 GB, free: 15.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5725, allocations: 0 / 0.5994 GB, free: 15.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003749/0.5762, allocations: 0.7592 MB / 0.6001 GB, free: 14.52 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.003166/0.5794, allocations: 2.145 MB / 0.6022 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.5837, allocations: 2.251 MB / 0.6044 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.5837, allocations: 448 / 0.6044 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.5846, allocations: 0.5367 MB / 0.6049 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.5865, allocations: 259.7 kB / 0.6052 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04398/0.6305, allocations: 22.62 MB / 0.6272 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00502/0.6356, allocations: 2.409 MB / 0.6296 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003288/0.639, allocations: 1.016 MB / 0.6306 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003059/0.6421, allocations: 1.136 MB / 0.6317 GB, free: 11.26 MB / 478.1 MB Notification: Performance of SimCode: time 2.334e-06/0.6421, allocations: 0 / 0.6317 GB, free: 11.26 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0816/0.7237, allocations: 35.03 MB / 0.6659 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.02, allocations: 0 / 0.6659 GB, free: 8.195 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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