Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001747/0.001747, allocations: 112.3 kB / 20.48 MB, free: 1.121 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.002082/0.002082, allocations: 215.6 kB / 23.78 MB, free: 4.324 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.448/1.448, allocations: 230.5 MB / 257.5 MB, free: 7.699 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.2335/0.2335, allocations: 46.95 MB / 360.9 MB, free: 3.875 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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 83.86 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3468, allocations: 66.09 MB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01249/0.3593, allocations: 8.395 MB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.3664, allocations: 2.784 MB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.3681, allocations: 59.81 kB / 0.5718 GB, free: 8.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.3724, allocations: 1.935 MB / 0.5736 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.3759, allocations: 1.136 MB / 0.5748 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009874/0.3769, allocations: 295.4 kB / 0.575 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004153/0.3811, allocations: 2.319 MB / 0.5773 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.3839, allocations: 1.738 MB / 0.579 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.3856, allocations: 0.884 MB / 0.5799 GB, free: 324 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.3878, allocations: 1.18 MB / 0.581 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005615/0.3883, allocations: 192 kB / 0.5812 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3898, allocations: 0.6084 MB / 0.5818 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.3913, allocations: 1.13 MB / 0.5829 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.3932, allocations: 0.9509 MB / 0.5838 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.3992, allocations: 4.35 MB / 0.5881 GB, free: 7.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3992, allocations: 0 / 0.5881 GB, free: 7.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3992, allocations: 0 / 0.5881 GB, free: 7.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.3994, allocations: 0 / 0.5881 GB, free: 7.879 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.007483/0.4069, allocations: 2.866 MB / 0.5909 GB, free: 4.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4069, allocations: 8.031 kB / 0.5909 GB, free: 4.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/0.4081, allocations: 487.1 kB / 0.5913 GB, free: 4.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.4135, allocations: 1.59 MB / 0.5929 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.4165, allocations: 1.283 MB / 0.5941 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4166, allocations: 155.7 kB / 0.5943 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006127/0.4172, allocations: 187.9 kB / 0.5945 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.4282, allocations: 6.254 MB / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.223e-05/0.4283, allocations: 15.88 kB / 0.6006 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004062/0.4287, allocations: 87.91 kB / 0.6007 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.4309, allocations: 1.348 MB / 0.602 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.4415, allocations: 5.334 MB / 0.6072 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03128/0.4728, allocations: 19.12 MB / 0.6259 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004529/0.4773, allocations: 1.629 MB / 0.6275 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.4783, allocations: 0.6367 MB / 0.6281 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006192/0.4845, allocations: 2.989 MB / 0.631 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.4846, allocations: 39.06 kB / 0.631 GB, free: 10.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.945e-06/0.4846, allocations: 0 / 0.631 GB, free: 10.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00551/0.4901, allocations: 2.108 MB / 0.6331 GB, free: 8.742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4901, allocations: 59.91 kB / 0.6332 GB, free: 8.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/0.4936, allocations: 2.054 MB / 0.6352 GB, free: 6.613 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.4937, allocations: 33.7 kB / 0.6352 GB, free: 6.574 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.4953, allocations: 1.919 MB / 0.6371 GB, free: 4.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.4956, allocations: 325.5 kB / 0.6374 GB, free: 4.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009503/0.4966, allocations: 0.6195 MB / 0.638 GB, free: 3.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4968, allocations: 357.9 kB / 0.6383 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4982, allocations: 0.8842 MB / 0.6392 GB, free: 2.441 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.5013, allocations: 2.751 MB / 0.6419 GB, free: 14.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/0.5063, allocations: 3.965 MB / 0.6458 GB, free: 9.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-05/0.5064, allocations: 20 kB / 0.6458 GB, free: 9.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006182/0.5126, allocations: 3.547 MB / 0.6492 GB, free: 6.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.5127, allocations: 32 kB / 0.6493 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.45e-05/0.5128, allocations: 68.88 kB / 0.6493 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.5129, allocations: 84 kB / 0.6494 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.5149, allocations: 0.6589 MB / 0.6501 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.515, allocations: 135.4 kB / 0.6502 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.517, allocations: 420.9 kB / 0.6506 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.5174, allocations: 191.9 kB / 0.6508 GB, free: 4.719 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.5195, allocations: 1.346 MB / 0.6521 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.5199, allocations: 174.9 kB / 0.6523 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.5203, allocations: 188.9 kB / 0.6524 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.5203, allocations: 8 kB / 0.6524 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.5203, allocations: 7.938 kB / 0.6524 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.5203, allocations: 3.984 kB / 0.6524 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008031/0.5284, allocations: 3.972 MB / 0.6563 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.5284, allocations: 4.75 kB / 0.6563 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.5288, allocations: 103.8 kB / 0.6564 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.5288, allocations: 12 kB / 0.6564 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.5289, allocations: 19.94 kB / 0.6565 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/0.5289, allocations: 15.92 kB / 0.6565 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.5289, allocations: 8 kB / 0.6565 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.5306, allocations: 1.244 MB / 0.6577 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.531, allocations: 182.6 kB / 0.6579 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.5313, allocations: 19.94 kB / 0.6579 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.532, allocations: 35.92 kB / 0.6579 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5321, allocations: 47.81 kB / 0.658 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.5321, allocations: 28 kB / 0.658 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002369/0.5345, allocations: 1.271 MB / 0.6592 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5345, allocations: 3.938 kB / 0.6592 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002958/0.5375, allocations: 0.6814 MB / 0.6599 GB, free: 11.12 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.002515/0.54, allocations: 1.853 MB / 0.6617 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003702/0.5437, allocations: 1.959 MB / 0.6636 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.5437, allocations: 1.875 kB / 0.6636 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/0.5444, allocations: 437.3 kB / 0.6641 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.5462, allocations: 237.4 kB / 0.6643 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03735/0.5835, allocations: 20.88 MB / 0.6847 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/0.5869, allocations: 1.708 MB / 0.6863 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002416/0.5893, allocations: 0.9441 MB / 0.6873 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/0.5911, allocations: 1.035 MB / 0.6883 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/0.5911, allocations: 0 / 0.6883 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/0.6686, allocations: 33 MB / 0.7205 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.67, allocations: 3.438 kB / 0.7205 GB, free: 10.76 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.988066159014124]