Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.00189/0.00189, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002341/0.002341, allocations: 213.2 kB / 23.74 MB, free: 4.672 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.22/0.22, allocations: 46.94 MB / 360.9 MB, free: 4.262 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2819, allocations: 66.04 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01218/0.294, allocations: 9.589 MB / 0.57 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.3009, allocations: 2.963 MB / 0.5729 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/0.3028, allocations: 55.81 kB / 0.573 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.3069, allocations: 2.033 MB / 0.5749 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.3099, allocations: 1.14 MB / 0.5761 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.3107, allocations: 287.4 kB / 0.5763 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.314, allocations: 2.326 MB / 0.5786 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.3162, allocations: 1.738 MB / 0.5803 GB, free: 248 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.3175, allocations: 0.8956 MB / 0.5812 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.3193, allocations: 1.246 MB / 0.5824 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.3197, allocations: 196 kB / 0.5826 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.321, allocations: 0.7216 MB / 0.5833 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.3222, allocations: 1.145 MB / 0.5844 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.3236, allocations: 1.312 MB / 0.5857 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004819/0.3285, allocations: 4.326 MB / 0.5899 GB, free: 6.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3285, allocations: 0 / 0.5899 GB, free: 6.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3285, allocations: 0 / 0.5899 GB, free: 6.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.637e-05/0.3285, allocations: 0 / 0.5899 GB, free: 6.367 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.00497/0.3335, allocations: 2.866 MB / 0.5927 GB, free: 3.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3335, allocations: 8.031 kB / 0.5927 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006171/0.3342, allocations: 491 kB / 0.5932 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/0.3391, allocations: 1.578 MB / 0.5947 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.3421, allocations: 1.279 MB / 0.596 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.3422, allocations: 143.9 kB / 0.5961 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.3426, allocations: 191.9 kB / 0.5963 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00997/0.3526, allocations: 6.238 MB / 0.6024 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.3526, allocations: 19.81 kB / 0.6024 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.3528, allocations: 87.91 kB / 0.6025 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.3549, allocations: 1.348 MB / 0.6038 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.3654, allocations: 5.329 MB / 0.609 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.393, allocations: 19.96 MB / 0.6285 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.3969, allocations: 1.554 MB / 0.63 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009479/0.3979, allocations: 0.6367 MB / 0.6306 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005907/0.4038, allocations: 3.035 MB / 0.6336 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.4038, allocations: 38.98 kB / 0.6336 GB, free: 8.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.4038, allocations: 0 / 0.6336 GB, free: 8.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005287/0.4091, allocations: 1.978 MB / 0.6356 GB, free: 6.578 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4092, allocations: 63.78 kB / 0.6356 GB, free: 6.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.412, allocations: 1.942 MB / 0.6375 GB, free: 4.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.4121, allocations: 37.7 kB / 0.6376 GB, free: 4.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.4135, allocations: 1.907 MB / 0.6394 GB, free: 2.586 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.4138, allocations: 333.5 kB / 0.6397 GB, free: 2.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/0.4146, allocations: 0.6195 MB / 0.6403 GB, free: 1.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4147, allocations: 361.9 kB / 0.6407 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.416, allocations: 0.8803 MB / 0.6415 GB, free: 396 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.4194, allocations: 2.759 MB / 0.6442 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.4243, allocations: 3.965 MB / 0.6481 GB, free: 7.801 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/0.4244, allocations: 20 kB / 0.6481 GB, free: 7.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005753/0.4301, allocations: 3.523 MB / 0.6516 GB, free: 4.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.4302, allocations: 35.94 kB / 0.6516 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.652e-05/0.4302, allocations: 68 kB / 0.6517 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.402e-05/0.4303, allocations: 91.94 kB / 0.6518 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.4322, allocations: 0.655 MB / 0.6524 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001131/0.4323, allocations: 131.5 kB / 0.6525 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.4341, allocations: 429.3 kB / 0.6529 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.4344, allocations: 195.9 kB / 0.6531 GB, free: 2.66 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.002052/0.4365, allocations: 1.342 MB / 0.6544 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.4367, allocations: 166.9 kB / 0.6546 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.4371, allocations: 192.9 kB / 0.6548 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.4371, allocations: 12 kB / 0.6548 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4371, allocations: 4 kB / 0.6548 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4371, allocations: 3.984 kB / 0.6548 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/0.444, allocations: 4.045 MB / 0.6587 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.444, allocations: 4.75 kB / 0.6588 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.4445, allocations: 99.81 kB / 0.6588 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.4445, allocations: 12 kB / 0.6589 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.4445, allocations: 23.94 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.4445, allocations: 8 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.4445, allocations: 7.938 kB / 0.6589 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4461, allocations: 1.247 MB / 0.6601 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.4465, allocations: 182.6 kB / 0.6603 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.4467, allocations: 19.92 kB / 0.6603 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.4472, allocations: 23.98 kB / 0.6603 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4473, allocations: 55.81 kB / 0.6604 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.4473, allocations: 35.89 kB / 0.6604 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001869/0.4492, allocations: 1.263 MB / 0.6616 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4492, allocations: 0 / 0.6616 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002531/0.4517, allocations: 0.6929 MB / 0.6623 GB, free: 8.996 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.001978/0.4537, allocations: 1.853 MB / 0.6641 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.4567, allocations: 1.955 MB / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4567, allocations: 4 kB / 0.666 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.4572, allocations: 433.4 kB / 0.6665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4584, allocations: 230.2 kB / 0.6667 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/0.4862, allocations: 20.88 MB / 0.6871 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.4886, allocations: 2.271 MB / 0.6893 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002028/0.4907, allocations: 0.9557 MB / 0.6902 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.492, allocations: 1.038 MB / 0.6912 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.492, allocations: 0 / 0.6912 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07598/0.568, allocations: 35.23 MB / 0.7256 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.27, allocations: 3.984 kB / 0.7257 GB, free: 5.703 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.518344267999055]