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.00142/0.00142, 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.00153/0.00153, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2191/0.2191, allocations: 44.94 MB / 358.8 MB, free: 6.09 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.002063/0.002063, allocations: 59.91 kB / 0.493 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3234, allocations: 65.47 MB / 0.557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01168/0.335, allocations: 8.394 MB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006358/0.3414, allocations: 2.788 MB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3426, allocations: 55.81 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.3466, allocations: 1.935 MB / 0.5698 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.35, allocations: 1.14 MB / 0.5709 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.3508, allocations: 287.5 kB / 0.5712 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.3541, allocations: 2.325 MB / 0.5735 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.3563, allocations: 1.734 MB / 0.5752 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.3575, allocations: 0.8916 MB / 0.576 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.3591, allocations: 1.172 MB / 0.5772 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.3595, allocations: 192 kB / 0.5774 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3607, allocations: 0.6123 MB / 0.578 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3618, allocations: 1.133 MB / 0.5791 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.363, allocations: 0.951 MB / 0.58 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.3677, allocations: 4.342 MB / 0.5843 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3678, allocations: 0 / 0.5843 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3678, allocations: 4 kB / 0.5843 GB, free: 11.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.775e-05/0.3678, allocations: 0 / 0.5843 GB, free: 11.49 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.004845/0.3727, allocations: 2.862 MB / 0.587 GB, free: 8.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3727, allocations: 8.031 kB / 0.5871 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005861/0.3733, allocations: 487 kB / 0.5875 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/0.3783, allocations: 1.571 MB / 0.5891 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.3814, allocations: 1.29 MB / 0.5903 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.3816, allocations: 151.7 kB / 0.5905 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.3819, allocations: 183.9 kB / 0.5906 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.392, allocations: 6.254 MB / 0.5967 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/0.392, allocations: 15.88 kB / 0.5968 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.3923, allocations: 91.89 kB / 0.5968 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.3943, allocations: 1.34 MB / 0.5982 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.4046, allocations: 5.325 MB / 0.6034 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.4331, allocations: 19.01 MB / 0.6219 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004256/0.4373, allocations: 1.557 MB / 0.6234 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.4384, allocations: 0.6289 MB / 0.6241 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006007/0.4444, allocations: 2.903 MB / 0.6269 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4444, allocations: 35 kB / 0.6269 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.4444, allocations: 0 / 0.6269 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00536/0.4498, allocations: 1.978 MB / 0.6289 GB, free: 12.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.4499, allocations: 59.84 kB / 0.6289 GB, free: 12.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.4527, allocations: 2.061 MB / 0.6309 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.4528, allocations: 37.69 kB / 0.631 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.4542, allocations: 1.907 MB / 0.6328 GB, free: 8.688 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.4545, allocations: 325.5 kB / 0.6331 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008344/0.4554, allocations: 0.6195 MB / 0.6337 GB, free: 7.738 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4556, allocations: 361.9 kB / 0.6341 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.4569, allocations: 0.8881 MB / 0.635 GB, free: 6.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.4602, allocations: 2.747 MB / 0.6376 GB, free: 2.809 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/0.4654, allocations: 3.972 MB / 0.6415 GB, free: 13.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.053e-05/0.4654, allocations: 20 kB / 0.6415 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00686/0.4723, allocations: 3.539 MB / 0.645 GB, free: 10.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.4724, allocations: 36.19 kB / 0.645 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.161e-05/0.4724, allocations: 68 kB / 0.6451 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.4726, allocations: 88 kB / 0.6452 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.4745, allocations: 0.655 MB / 0.6458 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001633/0.4746, allocations: 127.5 kB / 0.6459 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.4767, allocations: 420.9 kB / 0.6463 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/0.477, allocations: 191.9 kB / 0.6465 GB, free: 8.777 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.002305/0.4793, allocations: 1.346 MB / 0.6478 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.4796, allocations: 162.9 kB / 0.648 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.48, allocations: 196.9 kB / 0.6482 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.48, allocations: 8 kB / 0.6482 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.48, allocations: 0 / 0.6482 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.48, allocations: 0 / 0.6482 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007233/0.4873, allocations: 3.967 MB / 0.6521 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.4873, allocations: 8 kB / 0.6521 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.4877, allocations: 95.83 kB / 0.6522 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.4877, allocations: 8 kB / 0.6522 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.4878, allocations: 27.92 kB / 0.6522 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.4878, allocations: 8 kB / 0.6522 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.4878, allocations: 7.938 kB / 0.6522 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4896, allocations: 1.243 MB / 0.6534 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.4901, allocations: 182.6 kB / 0.6536 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.4902, allocations: 23.92 kB / 0.6536 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.4907, allocations: 39.86 kB / 0.6537 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4908, allocations: 51.81 kB / 0.6537 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.4909, allocations: 27.98 kB / 0.6537 GB, free: 1.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.4928, allocations: 1.271 MB / 0.655 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4928, allocations: 0 / 0.655 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002665/0.4954, allocations: 0.6775 MB / 0.6556 GB, free: 15.2 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.002158/0.4976, allocations: 1.86 MB / 0.6575 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003296/0.5009, allocations: 1.952 MB / 0.6594 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5009, allocations: 0 / 0.6594 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.5015, allocations: 433.1 kB / 0.6598 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.5026, allocations: 246.5 kB / 0.66 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/0.5318, allocations: 20.88 MB / 0.6804 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/0.5341, allocations: 1.7 MB / 0.6821 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002122/0.5363, allocations: 0.9518 MB / 0.683 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.5377, allocations: 1.034 MB / 0.684 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/0.5377, allocations: 0 / 0.684 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07448/0.6122, allocations: 32.9 MB / 0.7161 GB, free: 15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.25, allocations: 6.719 kB / 0.7161 GB, free: 14.99 MB / 0.5606 GB " [Timeout remaining time 647] (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: 16.276517666876316]