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.0017/0.0017, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001531/0.001531, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.571/1.571, allocations: 230.5 MB / 254 MB, free: 15.18 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.2466/0.2466, allocations: 46.92 MB / 357 MB, free: 10.22 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.0024/0.0024, allocations: 79.88 kB / 0.491 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.126, allocations: 66.05 MB / 0.5555 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01201/0.1381, allocations: 9.563 MB / 0.5648 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006122/0.1442, allocations: 2.932 MB / 0.5677 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009581/0.1451, allocations: 55.81 kB / 0.5677 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.1491, allocations: 2.025 MB / 0.5697 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.1519, allocations: 1.125 MB / 0.5708 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008051/0.1527, allocations: 291.4 kB / 0.5711 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.1561, allocations: 2.336 MB / 0.5734 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.1588, allocations: 1.907 MB / 0.5752 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.1603, allocations: 0.8917 MB / 0.5761 GB, free: 336 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.1622, allocations: 1.25 MB / 0.5773 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005177/0.1627, allocations: 196 kB / 0.5775 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.1642, allocations: 0.7255 MB / 0.5782 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.1655, allocations: 1.145 MB / 0.5793 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.1673, allocations: 1.308 MB / 0.5806 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005426/0.1727, allocations: 4.326 MB / 0.5848 GB, free: 7.348 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1728, allocations: 0 / 0.5848 GB, free: 7.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1728, allocations: 0 / 0.5848 GB, free: 7.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001249/0.1729, allocations: 0 / 0.5848 GB, free: 7.348 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.005913/0.1788, allocations: 2.949 MB / 0.5877 GB, free: 4.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1788, allocations: 8.031 kB / 0.5877 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008631/0.1797, allocations: 483.1 kB / 0.5882 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005643/0.1853, allocations: 1.578 MB / 0.5897 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.1885, allocations: 1.344 MB / 0.591 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.1887, allocations: 147.8 kB / 0.5912 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006394/0.1893, allocations: 183.9 kB / 0.5913 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2441/0.4334, allocations: 6.244 MB / 0.5974 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.4334, allocations: 12.53 kB / 0.5975 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.4337, allocations: 95.02 kB / 0.5975 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002329/0.436, allocations: 1.341 MB / 0.5989 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.447, allocations: 5.334 MB / 0.6041 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02514/0.4722, allocations: 20.03 MB / 0.6236 GB, free: 16.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.476, allocations: 2.009 MB / 0.6256 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.4768, allocations: 0.6312 MB / 0.6262 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005133/0.4819, allocations: 3.502 MB / 0.6296 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4819, allocations: 37.95 kB / 0.6297 GB, free: 12.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.4819, allocations: 0 / 0.6297 GB, free: 12.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004787/0.4867, allocations: 1.986 MB / 0.6316 GB, free: 10.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.4867, allocations: 59.84 kB / 0.6317 GB, free: 10.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.4888, allocations: 1.936 MB / 0.6335 GB, free: 8.621 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.4888, allocations: 37.7 kB / 0.6336 GB, free: 8.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007334/0.4896, allocations: 1.907 MB / 0.6354 GB, free: 6.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.4898, allocations: 329.5 kB / 0.6358 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/0.4904, allocations: 0.6206 MB / 0.6364 GB, free: 5.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.4905, allocations: 357.9 kB / 0.6367 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009936/0.4915, allocations: 0.8881 MB / 0.6376 GB, free: 4.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.493, allocations: 2.751 MB / 0.6403 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004371/0.4974, allocations: 3.98 MB / 0.6441 GB, free: 12.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.232e-05/0.4974, allocations: 20 kB / 0.6442 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006201/0.5036, allocations: 3.527 MB / 0.6476 GB, free: 8.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.5037, allocations: 32 kB / 0.6476 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.263e-05/0.5038, allocations: 68 kB / 0.6477 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-05/0.5039, allocations: 84 kB / 0.6478 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.5059, allocations: 0.6589 MB / 0.6484 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001192/0.5061, allocations: 136.5 kB / 0.6486 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.5081, allocations: 428.8 kB / 0.649 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/0.5084, allocations: 192 kB / 0.6492 GB, free: 6.887 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.002138/0.5106, allocations: 1.334 MB / 0.6505 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.5108, allocations: 162.9 kB / 0.6506 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.5112, allocations: 204.9 kB / 0.6508 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.5113, allocations: 8 kB / 0.6508 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5113, allocations: 0 / 0.6508 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.5113, allocations: 7.938 kB / 0.6508 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/0.5181, allocations: 4.07 MB / 0.6548 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.5181, allocations: 8 kB / 0.6548 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.5185, allocations: 103.9 kB / 0.6549 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/0.5185, allocations: 11.94 kB / 0.6549 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.5186, allocations: 20 kB / 0.6549 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.5186, allocations: 11.98 kB / 0.6549 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.5186, allocations: 7.938 kB / 0.655 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.5202, allocations: 1.246 MB / 0.6562 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.5206, allocations: 255.7 kB / 0.6564 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5208, allocations: 23.75 kB / 0.6564 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.5213, allocations: 27.97 kB / 0.6565 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.5214, allocations: 51.83 kB / 0.6565 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.5214, allocations: 31.98 kB / 0.6565 GB, free: 15.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00191/0.5233, allocations: 1.267 MB / 0.6578 GB, free: 13.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5233, allocations: 0 / 0.6578 GB, free: 13.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002534/0.5259, allocations: 0.6947 MB / 0.6585 GB, free: 13.11 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.00225/0.5281, allocations: 1.857 MB / 0.6603 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.5314, allocations: 1.952 MB / 0.6622 GB, free: 9.211 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5314, allocations: 0 / 0.6622 GB, free: 9.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.532, allocations: 435 kB / 0.6626 GB, free: 8.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.5333, allocations: 241.1 kB / 0.6628 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/0.5632, allocations: 20.88 MB / 0.6832 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/0.566, allocations: 2.279 MB / 0.6854 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00219/0.5682, allocations: 0.9518 MB / 0.6864 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.5697, allocations: 1.034 MB / 0.6874 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.5697, allocations: 0 / 0.6874 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06775/0.6374, allocations: 32.76 MB / 0.7194 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.82, allocations: 12.06 kB / 0.7194 GB, free: 12.22 MB / 0.5294 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.075673975981772]