Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002471/0.002471, allocations: 209.7 kB / 23.77 MB, free: 4.441 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.96 MB / 360.9 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 87.86 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3526, allocations: 66.08 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01103/0.3636, allocations: 8.404 MB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005844/0.3695, allocations: 2.78 MB / 0.5717 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/0.3704, allocations: 55.81 kB / 0.5717 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.3743, allocations: 1.943 MB / 0.5736 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.3769, allocations: 1.14 MB / 0.5747 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.3776, allocations: 283.5 kB / 0.575 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.3807, allocations: 2.322 MB / 0.5773 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.3828, allocations: 1.734 MB / 0.579 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.384, allocations: 0.8956 MB / 0.5798 GB, free: 364 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.3858, allocations: 1.172 MB / 0.581 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.3861, allocations: 192 kB / 0.5812 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3873, allocations: 0.6122 MB / 0.5818 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.3884, allocations: 1.133 MB / 0.5829 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.3895, allocations: 0.9471 MB / 0.5838 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.3941, allocations: 4.346 MB / 0.588 GB, free: 7.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3941, allocations: 0 / 0.588 GB, free: 7.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3941, allocations: 0 / 0.588 GB, free: 7.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.494e-05/0.3942, allocations: 0 / 0.588 GB, free: 7.926 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.005002/0.3992, allocations: 2.866 MB / 0.5908 GB, free: 5.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3993, allocations: 8.031 kB / 0.5908 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005891/0.3998, allocations: 487.1 kB / 0.5913 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/0.4051, allocations: 1.59 MB / 0.5929 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.4084, allocations: 1.286 MB / 0.5941 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.4086, allocations: 151.8 kB / 0.5943 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005159/0.4091, allocations: 187.9 kB / 0.5944 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.4194, allocations: 6.254 MB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.4195, allocations: 11.88 kB / 0.6006 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.4197, allocations: 87.91 kB / 0.6006 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/0.4219, allocations: 1.34 MB / 0.602 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.4319, allocations: 5.33 MB / 0.6072 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02922/0.4612, allocations: 19.12 MB / 0.6258 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/0.466, allocations: 1.641 MB / 0.6274 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.4672, allocations: 0.6406 MB / 0.6281 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.4779, allocations: 2.977 MB / 0.631 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.478, allocations: 39 kB / 0.631 GB, free: 10.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 5.45e-06/0.478, allocations: 3.938 kB / 0.631 GB, free: 10.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01051/0.4885, allocations: 2.115 MB / 0.6331 GB, free: 8.785 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.4886, allocations: 55.84 kB / 0.6331 GB, free: 8.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/0.4934, allocations: 2.054 MB / 0.6351 GB, free: 6.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.897e-05/0.4935, allocations: 37.64 kB / 0.6352 GB, free: 6.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002668/0.4962, allocations: 1.911 MB / 0.637 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/0.4967, allocations: 329.5 kB / 0.6373 GB, free: 4.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008599/0.4975, allocations: 0.6195 MB / 0.638 GB, free: 3.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.4977, allocations: 357.9 kB / 0.6383 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4992, allocations: 0.8842 MB / 0.6392 GB, free: 2.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.5024, allocations: 2.751 MB / 0.6418 GB, free: 14.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005605/0.508, allocations: 3.968 MB / 0.6457 GB, free: 9.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.473e-05/0.5081, allocations: 20 kB / 0.6457 GB, free: 9.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006666/0.5147, allocations: 3.535 MB / 0.6492 GB, free: 6.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.5148, allocations: 32 kB / 0.6492 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.483e-05/0.5149, allocations: 72 kB / 0.6493 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.396e-05/0.515, allocations: 91.94 kB / 0.6494 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.5169, allocations: 0.655 MB / 0.65 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/0.517, allocations: 131.5 kB / 0.6501 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.5188, allocations: 420.9 kB / 0.6505 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/0.5192, allocations: 192 kB / 0.6507 GB, free: 4.77 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.002181/0.5214, allocations: 1.357 MB / 0.6521 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.5216, allocations: 162.9 kB / 0.6522 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.522, allocations: 188.9 kB / 0.6524 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.522, allocations: 12 kB / 0.6524 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.522, allocations: 0 / 0.6524 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.522, allocations: 3.984 kB / 0.6524 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/0.5291, allocations: 3.983 MB / 0.6563 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.5291, allocations: 7.984 kB / 0.6563 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.5295, allocations: 99.83 kB / 0.6564 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.5295, allocations: 8 kB / 0.6564 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.5296, allocations: 27.92 kB / 0.6564 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.5296, allocations: 8 kB / 0.6564 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5296, allocations: 7.938 kB / 0.6564 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.5313, allocations: 1.243 MB / 0.6577 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.5317, allocations: 178.6 kB / 0.6578 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.5319, allocations: 19.94 kB / 0.6579 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.5324, allocations: 35.92 kB / 0.6579 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5325, allocations: 51.75 kB / 0.6579 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.5325, allocations: 28 kB / 0.658 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002021/0.5346, allocations: 1.275 MB / 0.6592 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5346, allocations: 0 / 0.6592 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002646/0.5372, allocations: 0.6775 MB / 0.6599 GB, free: 11.18 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.002294/0.5395, allocations: 1.849 MB / 0.6617 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.5429, allocations: 1.964 MB / 0.6636 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.5429, allocations: 0 / 0.6636 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.5435, allocations: 440.2 kB / 0.664 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5446, allocations: 242.7 kB / 0.6642 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/0.5779, allocations: 20.87 MB / 0.6846 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.5804, allocations: 1.708 MB / 0.6863 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002209/0.5826, allocations: 0.9519 MB / 0.6872 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.584, allocations: 1.03 MB / 0.6882 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.584, allocations: 0 / 0.6882 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0717/0.6558, allocations: 32.97 MB / 0.7204 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.19, allocations: 10.52 kB / 0.7204 GB, free: 10.82 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.527243371121585]