Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001924/0.001924, allocations: 115.5 kB / 17.13 MB, free: 5.891 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.00225/0.00225, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3328/0.3328, allocations: 44.23 MB / 326.6 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002234/0.002234, allocations: 71.89 kB / 462.2 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2776, allocations: 61 MB / 0.5109 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008237/0.2858, allocations: 10.59 MB / 0.5213 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.2909, allocations: 3.014 MB / 0.5242 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.2921, allocations: 59.81 kB / 0.5243 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.2953, allocations: 2.04 MB / 0.5263 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.2981, allocations: 1.21 MB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.2988, allocations: 291.4 kB / 0.5277 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003322/0.3022, allocations: 2.444 MB / 0.5301 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.3045, allocations: 1.98 MB / 0.5321 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.3059, allocations: 0.9578 MB / 0.533 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.3076, allocations: 1.374 MB / 0.5343 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003906/0.308, allocations: 212 kB / 0.5345 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.3093, allocations: 0.7333 MB / 0.5353 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.3105, allocations: 1.239 MB / 0.5365 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.312, allocations: 1.429 MB / 0.5379 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005769/0.3178, allocations: 4.731 MB / 0.5425 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3178, allocations: 0 / 0.5425 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3178, allocations: 0 / 0.5425 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.786e-05/0.3179, allocations: 0 / 0.5425 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.006333/0.3242, allocations: 3.161 MB / 0.5456 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3243, allocations: 11.89 kB / 0.5456 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007839/0.325, allocations: 0.5091 MB / 0.5461 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.3307, allocations: 1.629 MB / 0.5477 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.3338, allocations: 1.407 MB / 0.549 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.334, allocations: 164 kB / 0.5492 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.3344, allocations: 199.9 kB / 0.5494 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.3462, allocations: 6.784 MB / 0.556 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.3463, allocations: 15.88 kB / 0.556 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.3466, allocations: 95.88 kB / 0.5561 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.349, allocations: 1.474 MB / 0.5576 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.3603, allocations: 5.806 MB / 0.5632 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02978/0.3901, allocations: 21.48 MB / 0.5842 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.3948, allocations: 2.163 MB / 0.5863 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3959, allocations: 0.723 MB / 0.587 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006566/0.4025, allocations: 3.755 MB / 0.5907 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.4025, allocations: 47.06 kB / 0.5907 GB, free: 11.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.236e-06/0.4025, allocations: 0 / 0.5907 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.005997/0.4085, allocations: 2.202 MB / 0.5929 GB, free: 9.535 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.4086, allocations: 63.95 kB / 0.593 GB, free: 9.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.4114, allocations: 2.024 MB / 0.5949 GB, free: 7.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.156e-05/0.4115, allocations: 41.7 kB / 0.595 GB, free: 7.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.4131, allocations: 2.036 MB / 0.597 GB, free: 5.328 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.4135, allocations: 385.1 kB / 0.5973 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008433/0.4143, allocations: 0.6593 MB / 0.598 GB, free: 4.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4145, allocations: 361.9 kB / 0.5983 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.416, allocations: 0.9666 MB / 0.5993 GB, free: 2.953 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.4189, allocations: 2.918 MB / 0.6021 GB, free: 15.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/0.4239, allocations: 4.248 MB / 0.6063 GB, free: 9.852 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.633e-05/0.4239, allocations: 24 kB / 0.6063 GB, free: 9.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006285/0.4302, allocations: 3.793 MB / 0.61 GB, free: 6.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.4303, allocations: 32 kB / 0.61 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/0.4304, allocations: 75.88 kB / 0.6101 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.4305, allocations: 92 kB / 0.6102 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.4326, allocations: 0.7057 MB / 0.6109 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.4327, allocations: 139.4 kB / 0.611 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.4347, allocations: 461.1 kB / 0.6114 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/0.4349, allocations: 200 kB / 0.6116 GB, free: 4.344 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.00211/0.4371, allocations: 1.427 MB / 0.613 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.4373, allocations: 178.8 kB / 0.6132 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.4393, allocations: 1.193 MB / 0.6144 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.4394, allocations: 15.98 kB / 0.6144 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4394, allocations: 0 / 0.6144 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4394, allocations: 7.922 kB / 0.6144 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007955/0.4473, allocations: 4.978 MB / 0.6192 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4473, allocations: 8.906 kB / 0.6192 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.4479, allocations: 135.7 kB / 0.6194 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/0.4479, allocations: 19.94 kB / 0.6194 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/0.4479, allocations: 24 kB / 0.6194 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-05/0.448, allocations: 19.92 kB / 0.6194 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.448, allocations: 15.94 kB / 0.6195 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.45, allocations: 1.506 MB / 0.6209 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.4504, allocations: 283.5 kB / 0.6212 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4506, allocations: 24 kB / 0.6212 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.4511, allocations: 39.88 kB / 0.6213 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4513, allocations: 71.69 kB / 0.6213 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.4513, allocations: 43.92 kB / 0.6214 GB, free: 9.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.4533, allocations: 1.32 MB / 0.6227 GB, free: 8.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4533, allocations: 0 / 0.6227 GB, free: 8.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002627/0.4559, allocations: 0.7631 MB / 0.6234 GB, free: 7.887 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.00248/0.4584, allocations: 2.142 MB / 0.6255 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.4619, allocations: 2.156 MB / 0.6276 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.4619, allocations: 0 / 0.6276 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.4627, allocations: 0.5105 MB / 0.6281 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.464, allocations: 266.2 kB / 0.6283 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2316/0.6955, allocations: 22.62 MB / 0.6504 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002574/0.6981, allocations: 2.409 MB / 0.6528 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00223/0.7003, allocations: 1.008 MB / 0.6538 GB, free: 117.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.7015, allocations: 1.143 MB / 0.6549 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.7015, allocations: 0 / 0.6549 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/0.7562, allocations: 35.27 MB / 0.6893 GB, free: 87.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.51, allocations: 4 kB / 0.6893 GB, free: 87.32 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.469237227996928]