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.001694/0.001694, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00212/0.00212, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.216/0.216, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.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.001985/0.001985, allocations: 71.83 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01056/0.3312, allocations: 8.402 MB / 0.5688 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.3367, allocations: 2.779 MB / 0.5715 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.3374, allocations: 55.81 kB / 0.5716 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003632/0.3411, allocations: 1.951 MB / 0.5735 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.3435, allocations: 1.136 MB / 0.5746 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.3442, allocations: 283.5 kB / 0.5748 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.347, allocations: 2.329 MB / 0.5771 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.349, allocations: 1.742 MB / 0.5788 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.3501, allocations: 0.8917 MB / 0.5797 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.3516, allocations: 1.254 MB / 0.5809 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.352, allocations: 196 kB / 0.5811 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3531, allocations: 0.6124 MB / 0.5817 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3542, allocations: 1.141 MB / 0.5828 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.3553, allocations: 0.9432 MB / 0.5837 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005616/0.361, allocations: 4.342 MB / 0.588 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.361, allocations: 0 / 0.588 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.361, allocations: 0 / 0.588 GB, free: 8.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.3611, allocations: 0 / 0.588 GB, free: 8.031 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.004791/0.3659, allocations: 2.87 MB / 0.5908 GB, free: 5.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3659, allocations: 8.031 kB / 0.5908 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005978/0.3665, allocations: 483.1 kB / 0.5912 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.3715, allocations: 1.578 MB / 0.5928 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.3747, allocations: 1.279 MB / 0.594 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.3749, allocations: 159.7 kB / 0.5942 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004783/0.3753, allocations: 187.8 kB / 0.5944 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.3856, allocations: 6.246 MB / 0.6005 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.3857, allocations: 11.88 kB / 0.6005 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.3859, allocations: 87.91 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002092/0.388, allocations: 1.34 MB / 0.6019 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009923/0.3979, allocations: 5.322 MB / 0.6071 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.4264, allocations: 19.02 MB / 0.6256 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/0.4316, allocations: 1.561 MB / 0.6272 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.4329, allocations: 0.6357 MB / 0.6278 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007063/0.44, allocations: 2.891 MB / 0.6306 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.44, allocations: 39 kB / 0.6306 GB, free: 11.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.657e-06/0.44, allocations: 0 / 0.6306 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005433/0.4455, allocations: 1.982 MB / 0.6326 GB, free: 9.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.4455, allocations: 59.84 kB / 0.6326 GB, free: 9.254 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.4484, allocations: 2.05 MB / 0.6346 GB, free: 7.199 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.4484, allocations: 33.7 kB / 0.6347 GB, free: 7.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.4499, allocations: 1.915 MB / 0.6365 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.4502, allocations: 325.5 kB / 0.6369 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000821/0.451, allocations: 0.6311 MB / 0.6375 GB, free: 4.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4512, allocations: 357.9 kB / 0.6378 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.4524, allocations: 0.8842 MB / 0.6387 GB, free: 3.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.4552, allocations: 2.747 MB / 0.6414 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/0.4599, allocations: 3.974 MB / 0.6452 GB, free: 10.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.962e-05/0.4599, allocations: 16 kB / 0.6453 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005977/0.4659, allocations: 3.539 MB / 0.6487 GB, free: 6.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.466, allocations: 32 kB / 0.6487 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.175e-05/0.466, allocations: 64 kB / 0.6488 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-05/0.4661, allocations: 88 kB / 0.6489 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.468, allocations: 0.6589 MB / 0.6495 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001072/0.4681, allocations: 131.4 kB / 0.6497 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.47, allocations: 425 kB / 0.6501 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.4702, allocations: 187.9 kB / 0.6502 GB, free: 5.309 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.002005/0.4722, allocations: 1.35 MB / 0.6516 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.4725, allocations: 162.9 kB / 0.6517 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4728, allocations: 196.9 kB / 0.6519 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.4728, allocations: 8 kB / 0.6519 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.4729, allocations: 0 / 0.6519 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4729, allocations: 3.984 kB / 0.6519 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006903/0.4798, allocations: 3.959 MB / 0.6558 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4798, allocations: 11.98 kB / 0.6558 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.4802, allocations: 91.89 kB / 0.6559 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.4802, allocations: 8 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.4802, allocations: 27.86 kB / 0.6559 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.4802, allocations: 8 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/0.4803, allocations: 11.94 kB / 0.6559 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.4818, allocations: 1.243 MB / 0.6571 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.4822, allocations: 182.6 kB / 0.6573 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.4823, allocations: 19.94 kB / 0.6573 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.4828, allocations: 27.92 kB / 0.6574 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.4829, allocations: 59.75 kB / 0.6574 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/0.483, allocations: 28 kB / 0.6574 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001827/0.4848, allocations: 1.267 MB / 0.6587 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4848, allocations: 0 / 0.6587 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003075/0.4879, allocations: 0.693 MB / 0.6594 GB, free: 11.73 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.002341/0.4902, allocations: 1.841 MB / 0.6612 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.4937, allocations: 1.964 MB / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.4937, allocations: 128 / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.4943, allocations: 431.9 kB / 0.6635 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.4956, allocations: 238.5 kB / 0.6637 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/0.5255, allocations: 20.88 MB / 0.6841 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/0.5279, allocations: 1.704 MB / 0.6858 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00212/0.53, allocations: 0.9519 MB / 0.6867 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.5316, allocations: 1.034 MB / 0.6877 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/0.5316, allocations: 0 / 0.6877 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.6122, allocations: 34.22 MB / 0.7211 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.76, allocations: 14.19 kB / 0.7211 GB, free: 10.2 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: 15.931145436014049]