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.001327/0.001327, allocations: 112.4 kB / 16.41 MB, free: 6.488 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.001408/0.001408, allocations: 187.5 kB / 17.34 MB, free: 5.762 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1998/0.1998, allocations: 43.51 MB / 314.1 MB, free: 476 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.001771/0.001771, allocations: 67.91 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1028, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01177/0.1146, allocations: 10.55 MB / 0.4977 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.1211, allocations: 3.006 MB / 0.5006 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.1226, allocations: 55.88 kB / 0.5007 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003964/0.1267, allocations: 2.005 MB / 0.5026 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.1297, allocations: 1.21 MB / 0.5038 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.1305, allocations: 291.4 kB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.1338, allocations: 2.45 MB / 0.5065 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.1366, allocations: 2.375 MB / 0.5088 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.138, allocations: 0.9501 MB / 0.5097 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.1397, allocations: 1.265 MB / 0.511 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005379/0.1403, allocations: 212 kB / 0.5112 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.1418, allocations: 0.7021 MB / 0.5119 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.1432, allocations: 1.212 MB / 0.513 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.1448, allocations: 1.437 MB / 0.5144 GB, free: 492 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.1494, allocations: 4.719 MB / 0.5191 GB, free: 11.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1495, allocations: 0 / 0.5191 GB, free: 11.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1495, allocations: 0 / 0.5191 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.1496, allocations: 4 kB / 0.5191 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.005858/0.1554, allocations: 3.157 MB / 0.5221 GB, free: 8.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1555, allocations: 15.89 kB / 0.5222 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008333/0.1563, allocations: 0.509 MB / 0.5227 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.1619, allocations: 1.637 MB / 0.5243 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.1651, allocations: 1.403 MB / 0.5256 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.1653, allocations: 164 kB / 0.5258 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/0.1659, allocations: 199.9 kB / 0.526 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1922/0.3581, allocations: 6.777 MB / 0.5326 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.3582, allocations: 15.09 kB / 0.5326 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.3585, allocations: 92.92 kB / 0.5327 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/0.3609, allocations: 1.476 MB / 0.5341 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.3722, allocations: 5.808 MB / 0.5398 GB, free: 35.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.4011, allocations: 21.49 MB / 0.5608 GB, free: 21.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.4052, allocations: 2.266 MB / 0.563 GB, free: 19.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.4061, allocations: 0.7736 MB / 0.5638 GB, free: 19.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006074/0.4122, allocations: 3.753 MB / 0.5674 GB, free: 17.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4123, allocations: 43.09 kB / 0.5675 GB, free: 16.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.387e-06/0.4123, allocations: 0 / 0.5675 GB, free: 16.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005162/0.4175, allocations: 2.201 MB / 0.5696 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4175, allocations: 55.97 kB / 0.5697 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.4196, allocations: 2.037 MB / 0.5717 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/0.4197, allocations: 37.7 kB / 0.5717 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007507/0.4205, allocations: 2.028 MB / 0.5737 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.4207, allocations: 385.1 kB / 0.574 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/0.4213, allocations: 0.6671 MB / 0.5747 GB, free: 10.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.4214, allocations: 357.9 kB / 0.575 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.4225, allocations: 0.967 MB / 0.576 GB, free: 9.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.4241, allocations: 2.922 MB / 0.5788 GB, free: 5.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.4273, allocations: 4.245 MB / 0.583 GB, free: 448 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/0.4273, allocations: 20 kB / 0.583 GB, free: 428 kB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006158/0.4335, allocations: 3.793 MB / 0.5867 GB, free: 12.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.4336, allocations: 39.97 kB / 0.5867 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.104e-05/0.4337, allocations: 72 kB / 0.5868 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.83e-05/0.4338, allocations: 88 kB / 0.5869 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.436, allocations: 0.7174 MB / 0.5876 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/0.4362, allocations: 131.5 kB / 0.5877 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.4384, allocations: 466.6 kB / 0.5882 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.4388, allocations: 196 kB / 0.5883 GB, free: 10.93 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.002192/0.441, allocations: 1.429 MB / 0.5897 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.4413, allocations: 182.7 kB / 0.5899 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.4432, allocations: 1.189 MB / 0.5911 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.4432, allocations: 14.03 kB / 0.5911 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4432, allocations: 0 / 0.5911 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4432, allocations: 3.984 kB / 0.5911 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007634/0.4509, allocations: 4.98 MB / 0.596 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.4509, allocations: 8 kB / 0.596 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.4515, allocations: 139.7 kB / 0.5961 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.4515, allocations: 12 kB / 0.5961 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.4515, allocations: 27.98 kB / 0.5961 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.4516, allocations: 15.94 kB / 0.5962 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.4516, allocations: 20.34 kB / 0.5962 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.4532, allocations: 1.514 MB / 0.5976 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.4536, allocations: 275.5 kB / 0.5979 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.4538, allocations: 27.98 kB / 0.5979 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.4544, allocations: 39.92 kB / 0.598 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.4545, allocations: 79.62 kB / 0.5981 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.4546, allocations: 40 kB / 0.5981 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.4562, allocations: 1.322 MB / 0.5994 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4562, allocations: 0 / 0.5994 GB, free: 15.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0024/0.4586, allocations: 0.7553 MB / 0.6001 GB, free: 14.5 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.002047/0.4607, allocations: 2.149 MB / 0.6022 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.4638, allocations: 2.252 MB / 0.6044 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4638, allocations: 4 kB / 0.6044 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006727/0.4645, allocations: 0.5411 MB / 0.6049 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.4658, allocations: 262.6 kB / 0.6052 GB, free: 9.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/0.493, allocations: 22.61 MB / 0.6273 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/0.4953, allocations: 2.409 MB / 0.6296 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.4974, allocations: 1.018 MB / 0.6306 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.4987, allocations: 1.136 MB / 0.6317 GB, free: 11.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4988, allocations: 0 / 0.6317 GB, free: 11.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.5592, allocations: 35.04 MB / 0.666 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.62, allocations: 0 / 0.666 GB, free: 8.156 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