Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001748, allocations: 110.5 kB / 21.1 MB, free: 0.7695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 205.7 kB / 24.38 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.2 MB / 257.7 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2639/0.2639, allocations: 46.89 MB / 361 MB, free: 4.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 83.86 kB / 0.4962 GB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 66.02 MB / 0.5606 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01217/0.3316, allocations: 10.13 MB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.3378, allocations: 3.088 MB / 0.5736 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.339, allocations: 59.81 kB / 0.5736 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004983/0.3439, allocations: 2.652 MB / 0.5762 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.347, allocations: 1.21 MB / 0.5774 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000954/0.3479, allocations: 343.4 kB / 0.5777 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003726/0.3517, allocations: 2.554 MB / 0.5802 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.3543, allocations: 2.122 MB / 0.5823 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.3558, allocations: 1.075 MB / 0.5833 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.3578, allocations: 1.476 MB / 0.5848 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.3583, allocations: 252 kB / 0.585 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.3595, allocations: 0.6787 MB / 0.5857 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.3609, allocations: 1.363 MB / 0.587 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.3628, allocations: 1.561 MB / 0.5885 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005919/0.3687, allocations: 5.105 MB / 0.5935 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3687, allocations: 0 / 0.5935 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3687, allocations: 0 / 0.5935 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.3688, allocations: 0 / 0.5935 GB, free: 2.871 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.005923/0.3747, allocations: 3.353 MB / 0.5968 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3748, allocations: 8.031 kB / 0.5968 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008229/0.3756, allocations: 0.5497 MB / 0.5973 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.3806, allocations: 1.629 MB / 0.5989 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.3835, allocations: 1.497 MB / 0.6004 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.3836, allocations: 184.7 kB / 0.6006 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.3841, allocations: 231.9 kB / 0.6008 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.3961, allocations: 7.11 MB / 0.6077 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/0.3961, allocations: 15.88 kB / 0.6077 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.3965, allocations: 103.9 kB / 0.6078 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002386/0.3988, allocations: 1.439 MB / 0.6092 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.4103, allocations: 5.956 MB / 0.6151 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.4449, allocations: 22.33 MB / 0.6369 GB, free: 5.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.45, allocations: 2.125 MB / 0.6389 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.4512, allocations: 0.702 MB / 0.6396 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007725/0.4589, allocations: 3.861 MB / 0.6434 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.459, allocations: 39.22 kB / 0.6434 GB, free: 14.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 4.147e-06/0.459, allocations: 0 / 0.6434 GB, free: 14.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006815/0.4658, allocations: 2.261 MB / 0.6456 GB, free: 12.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.4658, allocations: 64 kB / 0.6457 GB, free: 12.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.4698, allocations: 2.056 MB / 0.6477 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/0.4699, allocations: 37.7 kB / 0.6477 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/0.4719, allocations: 2.11 MB / 0.6498 GB, free: 7.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.4724, allocations: 365.2 kB / 0.6502 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.4735, allocations: 0.6551 MB / 0.6508 GB, free: 6.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.4738, allocations: 361.9 kB / 0.6511 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.4754, allocations: 0.9391 MB / 0.6521 GB, free: 5.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/0.4787, allocations: 2.872 MB / 0.6549 GB, free: 1.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005896/0.4846, allocations: 4.151 MB / 0.6589 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.683e-05/0.4847, allocations: 20 kB / 0.6589 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007739/0.4925, allocations: 3.707 MB / 0.6626 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.4925, allocations: 36 kB / 0.6626 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.4927, allocations: 68.09 kB / 0.6626 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.4928, allocations: 92 kB / 0.6627 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.495, allocations: 0.6862 MB / 0.6634 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.4951, allocations: 135.4 kB / 0.6635 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.4973, allocations: 448.7 kB / 0.664 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/0.4977, allocations: 200 kB / 0.6642 GB, free: 7.195 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.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 (382): * Single equations (assignments): 377 * 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.00271/0.5004, allocations: 1.503 MB / 0.6656 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.5007, allocations: 182.8 kB / 0.6658 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005199/0.5013, allocations: 214.2 kB / 0.666 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.5013, allocations: 15.98 kB / 0.666 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.5013, allocations: 0 / 0.666 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5013, allocations: 3.984 kB / 0.666 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009267/0.5106, allocations: 4.936 MB / 0.6708 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.5106, allocations: 12.03 kB / 0.6709 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.5111, allocations: 115.8 kB / 0.671 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.5111, allocations: 15.94 kB / 0.671 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.5111, allocations: 20 kB / 0.671 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.981e-05/0.5112, allocations: 16.03 kB / 0.671 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/0.5112, allocations: 11.94 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.513, allocations: 1.419 MB / 0.6724 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.5135, allocations: 295.5 kB / 0.6727 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.5138, allocations: 20 kB / 0.6727 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.5145, allocations: 39.92 kB / 0.6727 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5146, allocations: 71.67 kB / 0.6728 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.5147, allocations: 35.98 kB / 0.6729 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002556/0.5172, allocations: 1.448 MB / 0.6743 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5172, allocations: 4 kB / 0.6743 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002955/0.5202, allocations: 0.7824 MB / 0.675 GB, free: 11.71 MB / 0.5137 GB 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.002602/0.5228, allocations: 2.02 MB / 0.677 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.5263, allocations: 2.071 MB / 0.679 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.5263, allocations: 8.312 kB / 0.679 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.527, allocations: 481.6 kB / 0.6795 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.5288, allocations: 279.7 kB / 0.6798 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/0.5671, allocations: 23.22 MB / 0.7024 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003767/0.5708, allocations: 2.51 MB / 0.7049 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00239/0.5732, allocations: 1.024 MB / 0.7059 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/0.5751, allocations: 1.198 MB / 0.7071 GB, free: 8.094 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/0.5751, allocations: 11.94 kB / 0.7071 GB, free: 8.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3351/0.9102, allocations: 39.44 MB / 0.7456 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.94, allocations: 2.406 kB / 0.7456 GB, free: 152.7 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForceAndTorque.torque[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.064717263914645]