Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001755/0.001755, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002258/0.002258, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2335/0.2335, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1263, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01181/0.1381, allocations: 9.558 MB / 0.5647 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005853/0.1439, allocations: 2.948 MB / 0.5676 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008903/0.1448, allocations: 55.81 kB / 0.5676 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003732/0.1486, allocations: 2.017 MB / 0.5696 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.1509, allocations: 1.129 MB / 0.5707 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.1516, allocations: 287.4 kB / 0.571 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.1547, allocations: 2.329 MB / 0.5733 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.157, allocations: 1.922 MB / 0.5751 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.158, allocations: 0.8917 MB / 0.576 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.1596, allocations: 1.254 MB / 0.5772 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.1599, allocations: 192 kB / 0.5774 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.1611, allocations: 0.7216 MB / 0.5781 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.1622, allocations: 1.141 MB / 0.5792 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.1635, allocations: 1.305 MB / 0.5805 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004816/0.1683, allocations: 4.334 MB / 0.5847 GB, free: 7.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1683, allocations: 4 kB / 0.5847 GB, free: 7.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1683, allocations: 0 / 0.5847 GB, free: 7.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.925e-05/0.1684, allocations: 0 / 0.5847 GB, free: 7.609 MB / 446.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.004943/0.1733, allocations: 2.942 MB / 0.5876 GB, free: 4.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1734, allocations: 12.03 kB / 0.5876 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006735/0.174, allocations: 483.1 kB / 0.5881 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/0.1793, allocations: 1.578 MB / 0.5896 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.1816, allocations: 1.336 MB / 0.5909 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.1817, allocations: 155.7 kB / 0.5911 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.1821, allocations: 183.9 kB / 0.5913 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2289/0.4109, allocations: 6.245 MB / 0.5974 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/0.411, allocations: 17.56 kB / 0.5974 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.4113, allocations: 85.55 kB / 0.5975 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/0.4137, allocations: 1.342 MB / 0.5988 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.4259, allocations: 5.33 MB / 0.604 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.4516, allocations: 20.03 MB / 0.6235 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.4555, allocations: 2.013 MB / 0.6255 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.4563, allocations: 0.6373 MB / 0.6261 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005127/0.4614, allocations: 3.5 MB / 0.6295 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4614, allocations: 37.16 kB / 0.6296 GB, free: 12.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.726e-06/0.4614, allocations: 2.25 kB / 0.6296 GB, free: 12.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004907/0.4663, allocations: 1.978 MB / 0.6315 GB, free: 10.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4664, allocations: 59.83 kB / 0.6316 GB, free: 10.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.4685, allocations: 1.94 MB / 0.6335 GB, free: 8.992 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.146e-05/0.4686, allocations: 41.22 kB / 0.6335 GB, free: 8.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000773/0.4694, allocations: 1.909 MB / 0.6354 GB, free: 7.164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.4696, allocations: 323.5 kB / 0.6357 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006077/0.4703, allocations: 0.6218 MB / 0.6363 GB, free: 6.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.4703, allocations: 357.9 kB / 0.6366 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009986/0.4713, allocations: 0.8881 MB / 0.6375 GB, free: 4.977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.4729, allocations: 2.752 MB / 0.6402 GB, free: 1.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.4772, allocations: 3.973 MB / 0.6441 GB, free: 12.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-05/0.4772, allocations: 16 kB / 0.6441 GB, free: 12.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00618/0.4834, allocations: 3.538 MB / 0.6475 GB, free: 8.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.4834, allocations: 32 kB / 0.6476 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.45e-05/0.4835, allocations: 68 kB / 0.6476 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.236e-05/0.4836, allocations: 84 kB / 0.6477 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.4857, allocations: 0.6589 MB / 0.6483 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.4858, allocations: 123.5 kB / 0.6485 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.4879, allocations: 437.1 kB / 0.6489 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003872/0.4882, allocations: 190.5 kB / 0.6491 GB, free: 7.266 MB / 462.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.002394/0.4906, allocations: 1.342 MB / 0.6504 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.491, allocations: 162.9 kB / 0.6505 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.4914, allocations: 192.9 kB / 0.6507 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.4914, allocations: 12 kB / 0.6507 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4915, allocations: 11.59 kB / 0.6507 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4915, allocations: 3.938 kB / 0.6507 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/0.4989, allocations: 4.075 MB / 0.6547 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4989, allocations: 4.75 kB / 0.6547 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.4993, allocations: 106.5 kB / 0.6548 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.4993, allocations: 15.94 kB / 0.6548 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.4994, allocations: 19.98 kB / 0.6549 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.4994, allocations: 11.94 kB / 0.6549 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.4994, allocations: 7.984 kB / 0.6549 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5011, allocations: 1.243 MB / 0.6561 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.5015, allocations: 251.7 kB / 0.6563 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.5017, allocations: 27.92 kB / 0.6564 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.5022, allocations: 19.98 kB / 0.6564 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.5023, allocations: 51.83 kB / 0.6564 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.5023, allocations: 31.98 kB / 0.6565 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001959/0.5043, allocations: 1.267 MB / 0.6577 GB, free: 14.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5043, allocations: 0 / 0.6577 GB, free: 14.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002671/0.5069, allocations: 0.6929 MB / 0.6584 GB, free: 13.48 MB / 478.1 MB 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.002366/0.5093, allocations: 1.861 MB / 0.6602 GB, free: 11.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.5128, allocations: 1.952 MB / 0.6621 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.5128, allocations: 0 / 0.6621 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.5135, allocations: 430 kB / 0.6625 GB, free: 9.156 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.515, allocations: 236.8 kB / 0.6627 GB, free: 8.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/0.5479, allocations: 20.88 MB / 0.6831 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.5506, allocations: 2.267 MB / 0.6853 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002204/0.5528, allocations: 0.9568 MB / 0.6863 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.5544, allocations: 1.038 MB / 0.6873 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.5544, allocations: 0 / 0.6873 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/0.6261, allocations: 32.77 MB / 0.7193 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.83, allocations: 7.031 kB / 0.7193 GB, free: 12.62 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.948019187999307]