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.001687/0.001687, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002057/0.002057, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2293/0.2293, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.002137/0.002137, allocations: 75.88 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 66.03 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01206/0.3592, allocations: 8.398 MB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.3655, allocations: 2.78 MB / 0.5715 GB, free: 9.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.3668, allocations: 63.81 kB / 0.5716 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.3709, allocations: 1.935 MB / 0.5735 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.374, allocations: 1.136 MB / 0.5746 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/0.3749, allocations: 291.4 kB / 0.5748 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003565/0.3785, allocations: 2.321 MB / 0.5771 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.3814, allocations: 1.742 MB / 0.5788 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.383, allocations: 0.8879 MB / 0.5797 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002253/0.3853, allocations: 1.172 MB / 0.5808 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005998/0.3859, allocations: 196 kB / 0.581 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.3873, allocations: 0.6045 MB / 0.5816 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.3888, allocations: 1.137 MB / 0.5827 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.3905, allocations: 0.9509 MB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.3961, allocations: 4.338 MB / 0.5879 GB, free: 8.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3961, allocations: 0 / 0.5879 GB, free: 8.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3961, allocations: 0 / 0.5879 GB, free: 8.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.3963, allocations: 4 kB / 0.5879 GB, free: 8.18 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.005362/0.4016, allocations: 2.866 MB / 0.5907 GB, free: 5.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4017, allocations: 12.03 kB / 0.5907 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006758/0.4023, allocations: 483.1 kB / 0.5911 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/0.4075, allocations: 1.578 MB / 0.5927 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.4108, allocations: 1.286 MB / 0.5939 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.411, allocations: 147.8 kB / 0.5941 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.4113, allocations: 187.9 kB / 0.5943 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4218, allocations: 6.246 MB / 0.6004 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.4219, allocations: 15.88 kB / 0.6004 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.4221, allocations: 91.84 kB / 0.6005 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/0.4242, allocations: 1.344 MB / 0.6018 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.4351, allocations: 5.318 MB / 0.607 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02848/0.4636, allocations: 19.02 MB / 0.6255 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.4677, allocations: 1.547 MB / 0.6271 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.4687, allocations: 0.6353 MB / 0.6277 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005875/0.4745, allocations: 2.903 MB / 0.6305 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4746, allocations: 35 kB / 0.6305 GB, free: 11.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.95e-06/0.4746, allocations: 3.984 kB / 0.6305 GB, free: 11.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005392/0.48, allocations: 1.978 MB / 0.6325 GB, free: 9.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.48, allocations: 55.84 kB / 0.6325 GB, free: 9.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/0.4828, allocations: 2.061 MB / 0.6345 GB, free: 7.348 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.4829, allocations: 29.7 kB / 0.6346 GB, free: 7.312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.4843, allocations: 1.919 MB / 0.6364 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.4846, allocations: 321.5 kB / 0.6368 GB, free: 5.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007821/0.4854, allocations: 0.6234 MB / 0.6374 GB, free: 4.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4855, allocations: 357.9 kB / 0.6377 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.4868, allocations: 0.892 MB / 0.6386 GB, free: 3.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.4898, allocations: 2.751 MB / 0.6413 GB, free: 15.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.4945, allocations: 3.969 MB / 0.6451 GB, free: 10.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-05/0.4945, allocations: 20 kB / 0.6452 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005683/0.5002, allocations: 3.535 MB / 0.6486 GB, free: 7.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.183e-05/0.5003, allocations: 32 kB / 0.6486 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-05/0.5003, allocations: 72.81 kB / 0.6487 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.5004, allocations: 88 kB / 0.6488 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.5024, allocations: 0.655 MB / 0.6494 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.5025, allocations: 131.5 kB / 0.6496 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.5043, allocations: 428.9 kB / 0.65 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.5046, allocations: 183.9 kB / 0.6501 GB, free: 5.461 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.002186/0.5068, allocations: 1.342 MB / 0.6515 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.507, allocations: 166.9 kB / 0.6516 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.5074, allocations: 188.9 kB / 0.6518 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.5074, allocations: 15.94 kB / 0.6518 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5074, allocations: 0 / 0.6518 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5074, allocations: 3.984 kB / 0.6518 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006591/0.514, allocations: 3.963 MB / 0.6557 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.514, allocations: 4.75 kB / 0.6557 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.5144, allocations: 95.83 kB / 0.6558 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.5144, allocations: 12 kB / 0.6558 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.5144, allocations: 27.92 kB / 0.6558 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.5145, allocations: 11.94 kB / 0.6558 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.5145, allocations: 4 kB / 0.6558 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.5161, allocations: 1.239 MB / 0.657 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.5165, allocations: 182.6 kB / 0.6572 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5167, allocations: 23.92 kB / 0.6572 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.5171, allocations: 39.86 kB / 0.6573 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.5172, allocations: 55.8 kB / 0.6573 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.5173, allocations: 27.94 kB / 0.6574 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001778/0.5191, allocations: 1.275 MB / 0.6586 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5191, allocations: 0 / 0.6586 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002473/0.5215, allocations: 0.6775 MB / 0.6593 GB, free: 11.88 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.002136/0.5237, allocations: 1.856 MB / 0.6611 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.527, allocations: 1.954 MB / 0.663 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.527, allocations: 1.875 kB / 0.663 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.5276, allocations: 429.3 kB / 0.6634 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.5288, allocations: 233.6 kB / 0.6636 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/0.5588, allocations: 20.89 MB / 0.684 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/0.5612, allocations: 1.708 MB / 0.6857 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002134/0.5634, allocations: 0.948 MB / 0.6866 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/0.5649, allocations: 1.038 MB / 0.6876 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.5649, allocations: 0 / 0.6876 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07412/0.639, allocations: 32.89 MB / 0.7197 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.36, allocations: 8.719 kB / 0.7198 GB, free: 11.68 MB / 0.5606 GB " [Timeout remaining time 647] (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: 16.69872507592663]