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.001767/0.001767, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002167/0.002167, allocations: 212.1 kB / 23.73 MB, free: 4.164 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2298/0.2298, allocations: 46.94 MB / 360.8 MB, free: 3.934 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.002407/0.002407, allocations: 79.86 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3494, allocations: 66.09 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01071/0.3601, allocations: 8.406 MB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006285/0.3664, allocations: 2.784 MB / 0.5716 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3676, allocations: 55.81 kB / 0.5717 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.3715, allocations: 1.935 MB / 0.5736 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.3744, allocations: 1.137 MB / 0.5747 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.3751, allocations: 295.4 kB / 0.5749 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003181/0.3783, allocations: 2.321 MB / 0.5772 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.3805, allocations: 1.734 MB / 0.5789 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.3819, allocations: 0.884 MB / 0.5798 GB, free: 380 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.3837, allocations: 1.18 MB / 0.5809 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.3841, allocations: 192 kB / 0.5811 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.3854, allocations: 0.6085 MB / 0.5817 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.3866, allocations: 1.133 MB / 0.5828 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.3878, allocations: 0.951 MB / 0.5837 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005684/0.3935, allocations: 4.342 MB / 0.588 GB, free: 7.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3935, allocations: 4 kB / 0.588 GB, free: 7.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3935, allocations: 0 / 0.588 GB, free: 7.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.3936, allocations: 0 / 0.588 GB, free: 7.934 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.005913/0.3995, allocations: 2.862 MB / 0.5908 GB, free: 5.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3996, allocations: 12.03 kB / 0.5908 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006845/0.4003, allocations: 491 kB / 0.5913 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.4054, allocations: 1.574 MB / 0.5928 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.4091, allocations: 1.283 MB / 0.594 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.4092, allocations: 147.8 kB / 0.5942 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005062/0.4097, allocations: 187.9 kB / 0.5944 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009868/0.4196, allocations: 6.246 MB / 0.6005 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.4196, allocations: 19.88 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.4199, allocations: 87.91 kB / 0.6006 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002119/0.422, allocations: 1.344 MB / 0.6019 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4331, allocations: 5.326 MB / 0.6071 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04688/0.48, allocations: 19.02 MB / 0.6256 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.4875, allocations: 1.543 MB / 0.6272 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.4888, allocations: 0.6389 MB / 0.6278 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00642/0.4953, allocations: 2.899 MB / 0.6306 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4953, allocations: 38.98 kB / 0.6306 GB, free: 11.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.386e-06/0.4953, allocations: 0 / 0.6306 GB, free: 11.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005943/0.5012, allocations: 1.978 MB / 0.6326 GB, free: 9.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.5013, allocations: 55.84 kB / 0.6326 GB, free: 9.164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/0.5055, allocations: 2.054 MB / 0.6346 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.5056, allocations: 41.69 kB / 0.6347 GB, free: 7.059 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.5073, allocations: 1.911 MB / 0.6365 GB, free: 5.125 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.5077, allocations: 329.5 kB / 0.6369 GB, free: 4.801 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.5087, allocations: 0.6156 MB / 0.6375 GB, free: 4.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.509, allocations: 361.9 kB / 0.6378 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.5105, allocations: 0.8842 MB / 0.6387 GB, free: 2.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003334/0.5138, allocations: 2.747 MB / 0.6414 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/0.5188, allocations: 3.972 MB / 0.6452 GB, free: 10.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-05/0.5189, allocations: 20 kB / 0.6453 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006938/0.5258, allocations: 3.539 MB / 0.6487 GB, free: 6.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.5259, allocations: 36 kB / 0.6487 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/0.5261, allocations: 64.09 kB / 0.6488 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.5262, allocations: 92 kB / 0.6489 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.5285, allocations: 0.655 MB / 0.6495 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/0.5287, allocations: 131.5 kB / 0.6497 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.5311, allocations: 424.8 kB / 0.6501 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/0.5315, allocations: 191.9 kB / 0.6502 GB, free: 5.211 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.002863/0.5343, allocations: 1.35 MB / 0.6516 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.5347, allocations: 162.9 kB / 0.6517 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.5352, allocations: 196.9 kB / 0.6519 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.5352, allocations: 11.98 kB / 0.6519 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5352, allocations: 0 / 0.6519 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.5352, allocations: 3.984 kB / 0.6519 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008669/0.5439, allocations: 3.952 MB / 0.6558 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.5439, allocations: 12.16 kB / 0.6558 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5444, allocations: 99.81 kB / 0.6559 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.5444, allocations: 8 kB / 0.6559 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.5444, allocations: 23.94 kB / 0.6559 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/0.5445, allocations: 15.94 kB / 0.6559 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5445, allocations: 4 kB / 0.6559 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.5462, allocations: 1.243 MB / 0.6571 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/0.5467, allocations: 182.6 kB / 0.6573 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.5469, allocations: 27.91 kB / 0.6573 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.5475, allocations: 27.94 kB / 0.6574 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.5476, allocations: 51.8 kB / 0.6574 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.5477, allocations: 28 kB / 0.6575 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002399/0.5501, allocations: 1.271 MB / 0.6587 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5501, allocations: 0 / 0.6587 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003071/0.5532, allocations: 0.6813 MB / 0.6594 GB, free: 11.64 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.002367/0.5555, allocations: 1.856 MB / 0.6612 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.559, allocations: 1.956 MB / 0.6631 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.559, allocations: 0 / 0.6631 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006379/0.5596, allocations: 437.2 kB / 0.6635 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.561, allocations: 236.9 kB / 0.6637 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/0.5957, allocations: 20.89 MB / 0.6841 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/0.5986, allocations: 1.697 MB / 0.6858 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002409/0.6011, allocations: 0.9557 MB / 0.6867 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/0.6029, allocations: 1.03 MB / 0.6877 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/0.6029, allocations: 4 kB / 0.6877 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0772/0.6801, allocations: 32.89 MB / 0.7198 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.31, allocations: 4.062 kB / 0.7198 GB, free: 11.37 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.60920516261831]