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.001323/0.001323, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.001421/0.001421, allocations: 205 kB / 24.38 MB, free: 4.188 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.435/1.435, allocations: 230.2 MB / 257.7 MB, free: 8.262 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.232/0.232, allocations: 46.88 MB / 361 MB, free: 4.473 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.002301/0.002301, allocations: 79.86 kB / 0.4962 GB, free: 8.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3212, allocations: 66.03 MB / 0.5606 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01239/0.3336, allocations: 9.526 MB / 0.57 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007889/0.3415, allocations: 2.948 MB / 0.5728 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.3433, allocations: 55.81 kB / 0.5729 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00437/0.3476, allocations: 2.029 MB / 0.5749 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.351, allocations: 1.129 MB / 0.576 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.3518, allocations: 295.4 kB / 0.5762 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.3557, allocations: 2.332 MB / 0.5785 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.3583, allocations: 1.622 MB / 0.5801 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.3599, allocations: 0.8879 MB / 0.581 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.3619, allocations: 1.258 MB / 0.5822 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.3624, allocations: 192 kB / 0.5824 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3637, allocations: 0.6163 MB / 0.583 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.3649, allocations: 1.137 MB / 0.5841 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.3665, allocations: 1.305 MB / 0.5854 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.3719, allocations: 4.299 MB / 0.5896 GB, free: 6.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3719, allocations: 4 kB / 0.5896 GB, free: 6.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3719, allocations: 4 kB / 0.5896 GB, free: 6.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.372, allocations: 0 / 0.5896 GB, free: 6.922 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.005681/0.3777, allocations: 2.938 MB / 0.5925 GB, free: 3.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3777, allocations: 12.03 kB / 0.5925 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007038/0.3784, allocations: 487.1 kB / 0.5929 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.3836, allocations: 1.578 MB / 0.5945 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.3865, allocations: 1.336 MB / 0.5958 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.3866, allocations: 147.8 kB / 0.5959 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/0.3871, allocations: 183.9 kB / 0.5961 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3986, allocations: 6.254 MB / 0.6022 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.3986, allocations: 15.88 kB / 0.6022 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.3989, allocations: 83.91 kB / 0.6023 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/0.4011, allocations: 1.348 MB / 0.6036 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.4125, allocations: 5.338 MB / 0.6088 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/0.4447, allocations: 20.02 MB / 0.6284 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/0.4494, allocations: 2.007 MB / 0.6303 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.4506, allocations: 0.6392 MB / 0.631 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006949/0.4575, allocations: 3.488 MB / 0.6344 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.4576, allocations: 43 kB / 0.6344 GB, free: 7.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.298e-06/0.4576, allocations: 0 / 0.6344 GB, free: 7.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005796/0.4634, allocations: 1.982 MB / 0.6363 GB, free: 5.762 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4634, allocations: 55.84 kB / 0.6364 GB, free: 5.695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/0.4671, allocations: 1.946 MB / 0.6383 GB, free: 3.746 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.4672, allocations: 33.7 kB / 0.6383 GB, free: 3.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.4689, allocations: 1.915 MB / 0.6402 GB, free: 1.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.4694, allocations: 325.5 kB / 0.6405 GB, free: 1.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.4704, allocations: 0.6195 MB / 0.6411 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.4707, allocations: 365.9 kB / 0.6415 GB, free: 468 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.4723, allocations: 0.8842 MB / 0.6423 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.4755, allocations: 2.747 MB / 0.645 GB, free: 11.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.4808, allocations: 3.968 MB / 0.6489 GB, free: 6.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.87e-05/0.4809, allocations: 20 kB / 0.6489 GB, free: 6.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007042/0.4879, allocations: 3.539 MB / 0.6524 GB, free: 3.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.67e-05/0.488, allocations: 36 kB / 0.6524 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.4881, allocations: 64 kB / 0.6525 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.4882, allocations: 88 kB / 0.6525 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.4904, allocations: 0.6511 MB / 0.6532 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001396/0.4906, allocations: 135.4 kB / 0.6533 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.4926, allocations: 432.9 kB / 0.6537 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.493, allocations: 183.9 kB / 0.6539 GB, free: 1.859 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.002234/0.4952, allocations: 1.35 MB / 0.6552 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.4955, allocations: 162.9 kB / 0.6554 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.496, allocations: 192.9 kB / 0.6555 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.496, allocations: 12 kB / 0.6556 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.496, allocations: 0 / 0.6556 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.496, allocations: 7.984 kB / 0.6556 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.5038, allocations: 4.069 MB / 0.6595 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.5038, allocations: 8 kB / 0.6595 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.5042, allocations: 99.81 kB / 0.6596 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.5042, allocations: 8 kB / 0.6596 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.5043, allocations: 20.66 kB / 0.6597 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.5043, allocations: 15.94 kB / 0.6597 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.5043, allocations: 4 kB / 0.6597 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.506, allocations: 1.251 MB / 0.6609 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.5064, allocations: 255.7 kB / 0.6612 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.5067, allocations: 27.92 kB / 0.6612 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.5072, allocations: 23.98 kB / 0.6612 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5073, allocations: 55.8 kB / 0.6613 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.5074, allocations: 28 kB / 0.6613 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002158/0.5095, allocations: 1.263 MB / 0.6625 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5095, allocations: 0 / 0.6625 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002624/0.5122, allocations: 0.6891 MB / 0.6632 GB, free: 8.07 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.002162/0.5143, allocations: 1.856 MB / 0.665 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003223/0.5175, allocations: 1.96 MB / 0.6669 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5176, allocations: 4.062 kB / 0.6669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006153/0.5182, allocations: 427.9 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.52, allocations: 243.7 kB / 0.6676 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04679/0.5668, allocations: 20.88 MB / 0.6879 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004254/0.571, allocations: 2.271 MB / 0.6902 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003479/0.5745, allocations: 0.948 MB / 0.6911 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/0.5766, allocations: 1.034 MB / 0.6921 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.5766, allocations: 0 / 0.6921 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0947/0.6713, allocations: 35.14 MB / 0.7264 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.78, allocations: 0 / 0.7264 GB, free: 4.793 MB / 0.5606 GB " [Timeout remaining time 647] (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.0.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: 15.990596051095054]