Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00154/0.00154, 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.002017/0.002017, allocations: 210.5 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 65.48 MB / 0.557 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01223/0.3198, allocations: 9.59 MB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00665/0.3264, allocations: 2.967 MB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.3277, allocations: 55.81 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.3318, allocations: 2.017 MB / 0.5713 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.3345, allocations: 1.144 MB / 0.5724 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007358/0.3352, allocations: 291.4 kB / 0.5727 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.3386, allocations: 2.333 MB / 0.575 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.3408, allocations: 1.73 MB / 0.5767 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.342, allocations: 0.8956 MB / 0.5776 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.3436, allocations: 1.246 MB / 0.5788 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.344, allocations: 192 kB / 0.579 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3452, allocations: 0.7333 MB / 0.5797 GB, free: 456 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.3463, allocations: 1.141 MB / 0.5808 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.3476, allocations: 1.305 MB / 0.5821 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004958/0.3526, allocations: 4.334 MB / 0.5863 GB, free: 9.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3526, allocations: 0 / 0.5863 GB, free: 9.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3526, allocations: 0 / 0.5863 GB, free: 9.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.615e-05/0.3527, allocations: 0 / 0.5863 GB, free: 9.637 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.005626/0.3583, allocations: 2.87 MB / 0.5891 GB, free: 6.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3584, allocations: 8.031 kB / 0.5891 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007141/0.3591, allocations: 483.1 kB / 0.5896 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.3644, allocations: 1.582 MB / 0.5911 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.3674, allocations: 1.267 MB / 0.5923 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.3675, allocations: 155.8 kB / 0.5925 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.3679, allocations: 187.9 kB / 0.5927 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009986/0.3779, allocations: 6.25 MB / 0.5988 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.3779, allocations: 11.88 kB / 0.5988 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.3782, allocations: 87.91 kB / 0.5989 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.3804, allocations: 1.34 MB / 0.6002 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009684/0.39, allocations: 5.333 MB / 0.6054 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.4194, allocations: 19.96 MB / 0.6249 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.4237, allocations: 1.551 MB / 0.6264 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.4247, allocations: 0.6367 MB / 0.627 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006312/0.4311, allocations: 3.035 MB / 0.63 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4311, allocations: 39 kB / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.4311, allocations: 3.938 kB / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005783/0.4369, allocations: 1.978 MB / 0.6319 GB, free: 9.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4369, allocations: 63.84 kB / 0.632 GB, free: 9.773 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.4402, allocations: 1.942 MB / 0.6339 GB, free: 7.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/0.4403, allocations: 33.7 kB / 0.6339 GB, free: 7.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.442, allocations: 1.915 MB / 0.6358 GB, free: 5.852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.4424, allocations: 321.5 kB / 0.6361 GB, free: 5.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009351/0.4433, allocations: 0.6273 MB / 0.6367 GB, free: 4.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.4436, allocations: 357.9 kB / 0.6371 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.445, allocations: 0.8881 MB / 0.6379 GB, free: 3.652 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.4479, allocations: 2.747 MB / 0.6406 GB, free: 15.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/0.4528, allocations: 3.966 MB / 0.6445 GB, free: 11.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-05/0.4528, allocations: 20 kB / 0.6445 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005893/0.4587, allocations: 3.53 MB / 0.648 GB, free: 7.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.4588, allocations: 36 kB / 0.648 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-05/0.4589, allocations: 67.98 kB / 0.6481 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.536e-05/0.459, allocations: 88 kB / 0.6481 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.4609, allocations: 0.6511 MB / 0.6488 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001193/0.4611, allocations: 135.4 kB / 0.6489 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.4629, allocations: 437.2 kB / 0.6493 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/0.4632, allocations: 184 kB / 0.6495 GB, free: 5.945 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.00207/0.4652, allocations: 1.342 MB / 0.6508 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.4655, allocations: 162.9 kB / 0.651 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.4659, allocations: 192.9 kB / 0.6511 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.4659, allocations: 16 kB / 0.6512 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4659, allocations: 4 kB / 0.6512 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.4659, allocations: 7.922 kB / 0.6512 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/0.4729, allocations: 4.037 MB / 0.6551 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.4729, allocations: 8 kB / 0.6551 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.4733, allocations: 103.8 kB / 0.6552 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.4733, allocations: 15.88 kB / 0.6552 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.4734, allocations: 16 kB / 0.6553 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/0.4734, allocations: 11.94 kB / 0.6553 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.4734, allocations: 7.984 kB / 0.6553 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.4751, allocations: 1.243 MB / 0.6565 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.4754, allocations: 182.6 kB / 0.6567 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.4756, allocations: 23.92 kB / 0.6567 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.4761, allocations: 27.98 kB / 0.6567 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4762, allocations: 51.8 kB / 0.6568 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.4762, allocations: 31.98 kB / 0.6568 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001944/0.4782, allocations: 1.267 MB / 0.658 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4782, allocations: 0 / 0.658 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002686/0.4809, allocations: 0.6929 MB / 0.6587 GB, free: 12.28 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.002197/0.4831, allocations: 1.853 MB / 0.6605 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003391/0.4865, allocations: 1.963 MB / 0.6624 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.4865, allocations: 0 / 0.6624 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.4871, allocations: 430.3 kB / 0.6628 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4884, allocations: 236.1 kB / 0.6631 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/0.5198, allocations: 20.88 MB / 0.6835 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/0.5226, allocations: 2.275 MB / 0.6857 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002212/0.5249, allocations: 0.948 MB / 0.6866 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/0.5264, allocations: 1.034 MB / 0.6876 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/0.5264, allocations: 0 / 0.6876 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07923/0.6056, allocations: 35.24 MB / 0.722 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.68, allocations: 14.47 kB / 0.722 GB, free: 8.98 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.89905496499705]