Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 46.97 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3187, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01203/0.3307, allocations: 8.908 MB / 0.5693 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00662/0.3374, allocations: 2.928 MB / 0.5721 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.3385, allocations: 59.81 kB / 0.5722 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.3434, allocations: 2.528 MB / 0.5747 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.3465, allocations: 1.214 MB / 0.5759 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.3473, allocations: 351.3 kB / 0.5762 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.3516, allocations: 2.55 MB / 0.5787 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/0.3551, allocations: 2.245 MB / 0.5809 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.3568, allocations: 1.063 MB / 0.5819 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.3591, allocations: 1.386 MB / 0.5833 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005554/0.3597, allocations: 252 kB / 0.5835 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.3611, allocations: 0.6632 MB / 0.5842 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.3624, allocations: 1.367 MB / 0.5855 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3638, allocations: 1.134 MB / 0.5866 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.3695, allocations: 5.144 MB / 0.5916 GB, free: 4.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3695, allocations: 0 / 0.5916 GB, free: 4.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3695, allocations: 0 / 0.5916 GB, free: 4.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.3696, allocations: 0 / 0.5916 GB, free: 4.281 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.006423/0.376, allocations: 3.274 MB / 0.5948 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3761, allocations: 12.03 kB / 0.5948 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007608/0.3769, allocations: 0.542 MB / 0.5954 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/0.3819, allocations: 1.633 MB / 0.5969 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.3859, allocations: 1.451 MB / 0.5984 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.386, allocations: 184.7 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00065/0.3867, allocations: 227.9 kB / 0.5988 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.3993, allocations: 7.11 MB / 0.6057 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-05/0.3993, allocations: 15.88 kB / 0.6057 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.3996, allocations: 107.9 kB / 0.6058 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.4019, allocations: 1.443 MB / 0.6072 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.4143, allocations: 5.937 MB / 0.613 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03339/0.4477, allocations: 21.15 MB / 0.6337 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/0.4523, allocations: 1.669 MB / 0.6353 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.4534, allocations: 0.7034 MB / 0.636 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007509/0.4609, allocations: 3.233 MB / 0.6392 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.461, allocations: 39.22 kB / 0.6392 GB, free: 2.477 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.319e-06/0.461, allocations: 0 / 0.6392 GB, free: 2.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006542/0.4675, allocations: 2.261 MB / 0.6414 GB, free: 216 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.4676, allocations: 60.06 kB / 0.6415 GB, free: 144 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/0.4709, allocations: 2.172 MB / 0.6436 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/0.471, allocations: 37.7 kB / 0.6436 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.4725, allocations: 2.11 MB / 0.6457 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.4729, allocations: 361.3 kB / 0.646 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008312/0.4737, allocations: 0.6628 MB / 0.6467 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4739, allocations: 365.9 kB / 0.647 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4753, allocations: 0.9313 MB / 0.6479 GB, free: 9.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.4783, allocations: 2.868 MB / 0.6507 GB, free: 5.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.4834, allocations: 4.156 MB / 0.6548 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-05/0.4835, allocations: 24 kB / 0.6548 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005871/0.4893, allocations: 3.706 MB / 0.6584 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.4894, allocations: 47.86 kB / 0.6585 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-05/0.4895, allocations: 71.98 kB / 0.6585 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.27e-05/0.4896, allocations: 88 kB / 0.6586 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.4915, allocations: 0.6901 MB / 0.6593 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.4917, allocations: 135.4 kB / 0.6594 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.4935, allocations: 448.7 kB / 0.6599 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.4938, allocations: 192 kB / 0.66 GB, free: 11.14 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.002193/0.496, allocations: 1.499 MB / 0.6615 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.4962, allocations: 178.8 kB / 0.6617 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.4966, allocations: 210.2 kB / 0.6619 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.4966, allocations: 19.98 kB / 0.6619 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4966, allocations: 0 / 0.6619 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4966, allocations: 7.922 kB / 0.6619 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008138/0.5048, allocations: 4.81 MB / 0.6666 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.5048, allocations: 8 kB / 0.6666 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.5052, allocations: 119.7 kB / 0.6667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.5053, allocations: 12 kB / 0.6667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.5053, allocations: 24 kB / 0.6668 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.5053, allocations: 15.92 kB / 0.6668 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.5053, allocations: 8 kB / 0.6668 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.5071, allocations: 1.43 MB / 0.6682 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.5075, allocations: 226.3 kB / 0.6684 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.5077, allocations: 20 kB / 0.6684 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.5083, allocations: 35.92 kB / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.5084, allocations: 71.67 kB / 0.6685 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.5084, allocations: 39.97 kB / 0.6686 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00204/0.5105, allocations: 1.444 MB / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5105, allocations: 0 / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002527/0.513, allocations: 0.7826 MB / 0.6707 GB, free: 15.87 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.002425/0.5154, allocations: 2.032 MB / 0.6727 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003666/0.5191, allocations: 2.067 MB / 0.6747 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.5191, allocations: 4 kB / 0.6747 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006614/0.5198, allocations: 482.9 kB / 0.6752 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5213, allocations: 270.2 kB / 0.6755 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/0.5603, allocations: 23.21 MB / 0.6981 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004626/0.5649, allocations: 1.943 MB / 0.7 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003858/0.5688, allocations: 1.028 MB / 0.701 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/0.5715, allocations: 1.21 MB / 0.7022 GB, free: 12.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.5715, allocations: 0 / 0.7022 GB, free: 12.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.365/0.9365, allocations: 37.19 MB / 0.7385 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.84, allocations: 7.109 kB / 0.7385 GB, free: 161.4 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.035164339933544]