Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001435/0.001435, 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.001559/0.001559, allocations: 209.7 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2568/0.2568, allocations: 46.97 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3301, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01108/0.3411, allocations: 8.402 MB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.3476, allocations: 2.78 MB / 0.5715 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.3492, allocations: 55.81 kB / 0.5716 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004466/0.3537, allocations: 1.935 MB / 0.5735 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.3575, allocations: 1.137 MB / 0.5746 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3586, allocations: 299.4 kB / 0.5748 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.3626, allocations: 2.321 MB / 0.5771 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.365, allocations: 1.73 MB / 0.5788 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.3665, allocations: 0.8879 MB / 0.5797 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.3683, allocations: 1.176 MB / 0.5808 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.3687, allocations: 192 kB / 0.581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.3701, allocations: 0.6124 MB / 0.5816 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.3714, allocations: 1.137 MB / 0.5827 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.3728, allocations: 0.9432 MB / 0.5836 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.3784, allocations: 4.338 MB / 0.5879 GB, free: 8.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3784, allocations: 4 kB / 0.5879 GB, free: 8.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3784, allocations: 0 / 0.5879 GB, free: 8.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.3785, allocations: 0 / 0.5879 GB, free: 8.152 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005472/0.384, allocations: 2.866 MB / 0.5907 GB, free: 5.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.384, allocations: 11.97 kB / 0.5907 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000652/0.3847, allocations: 483.1 kB / 0.5911 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.3896, allocations: 1.586 MB / 0.5927 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.3928, allocations: 1.275 MB / 0.5939 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.3929, allocations: 151.7 kB / 0.5941 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.3933, allocations: 187.9 kB / 0.5943 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009731/0.403, allocations: 6.242 MB / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.4031, allocations: 15.81 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.4033, allocations: 95.88 kB / 0.6005 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.4053, allocations: 1.344 MB / 0.6018 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009948/0.4153, allocations: 5.322 MB / 0.607 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02719/0.4425, allocations: 19.02 MB / 0.6255 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.4467, allocations: 1.549 MB / 0.6271 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009852/0.4476, allocations: 0.6432 MB / 0.6277 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006603/0.4542, allocations: 2.895 MB / 0.6305 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.4543, allocations: 39 kB / 0.6306 GB, free: 11.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.479e-06/0.4543, allocations: 0 / 0.6306 GB, free: 11.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005498/0.4598, allocations: 1.978 MB / 0.6325 GB, free: 9.449 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.4599, allocations: 59.84 kB / 0.6325 GB, free: 9.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.4631, allocations: 2.046 MB / 0.6345 GB, free: 7.328 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/0.4632, allocations: 37.7 kB / 0.6346 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.4648, allocations: 1.919 MB / 0.6364 GB, free: 5.344 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.4652, allocations: 325.5 kB / 0.6368 GB, free: 5.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008314/0.4661, allocations: 0.6234 MB / 0.6374 GB, free: 4.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.4663, allocations: 357.9 kB / 0.6377 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.4676, allocations: 0.8881 MB / 0.6386 GB, free: 3.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.4706, allocations: 2.751 MB / 0.6413 GB, free: 15.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/0.4753, allocations: 3.965 MB / 0.6451 GB, free: 10.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-05/0.4754, allocations: 19.94 kB / 0.6452 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006998/0.4824, allocations: 3.535 MB / 0.6486 GB, free: 7.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.4825, allocations: 32 kB / 0.6486 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.871e-05/0.4826, allocations: 64 kB / 0.6487 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.561e-05/0.4827, allocations: 88.81 kB / 0.6488 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.4845, allocations: 0.6667 MB / 0.6494 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001068/0.4846, allocations: 127.5 kB / 0.6496 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4865, allocations: 428.8 kB / 0.65 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.4868, allocations: 199.9 kB / 0.6502 GB, free: 5.422 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * 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.001976/0.4887, allocations: 1.334 MB / 0.6515 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.489, allocations: 166.9 kB / 0.6516 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.4893, allocations: 200.9 kB / 0.6518 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.4894, allocations: 8 kB / 0.6518 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.4894, allocations: 0 / 0.6518 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4894, allocations: 3.984 kB / 0.6518 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/0.4963, allocations: 3.955 MB / 0.6557 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4963, allocations: 8.75 kB / 0.6557 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.4967, allocations: 99.81 kB / 0.6558 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.4967, allocations: 12 kB / 0.6558 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.4968, allocations: 19.94 kB / 0.6558 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/0.4968, allocations: 19.91 kB / 0.6558 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.4968, allocations: 8 kB / 0.6558 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.4984, allocations: 1.239 MB / 0.6571 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.4988, allocations: 174.6 kB / 0.6572 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.4989, allocations: 27.92 kB / 0.6572 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.4994, allocations: 27.94 kB / 0.6573 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.4995, allocations: 59.8 kB / 0.6573 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.4995, allocations: 24 kB / 0.6574 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001898/0.5014, allocations: 1.267 MB / 0.6586 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5014, allocations: 0 / 0.6586 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00287/0.5043, allocations: 0.693 MB / 0.6593 GB, free: 11.85 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002285/0.5066, allocations: 1.852 MB / 0.6611 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.5101, allocations: 1.962 MB / 0.663 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.5101, allocations: 0 / 0.663 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.5107, allocations: 423 kB / 0.6634 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5121, allocations: 233.1 kB / 0.6636 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/0.5466, allocations: 20.89 MB / 0.684 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/0.5496, allocations: 1.7 MB / 0.6857 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002259/0.5518, allocations: 0.9518 MB / 0.6866 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/0.5535, allocations: 1.038 MB / 0.6876 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.5535, allocations: 0 / 0.6876 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07497/0.6284, allocations: 32.9 MB / 0.7198 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.19, allocations: 4.188 kB / 0.7198 GB, free: 11.65 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForce.force[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.616540572140366]