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.001821/0.001821, allocations: 127 kB / 17.79 MB, free: 5.242 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.002171/0.002171, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.496/1.496, allocations: 230.4 MB / 254 MB, free: 15.03 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.2346/0.2346, allocations: 46.92 MB / 357 MB, free: 10.18 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.002574/0.002574, allocations: 83.88 kB / 0.491 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1266, allocations: 66.04 MB / 0.5555 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.012/0.1386, allocations: 9.552 MB / 0.5648 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.145, allocations: 2.948 MB / 0.5677 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1463, allocations: 55.81 kB / 0.5677 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.1503, allocations: 2.017 MB / 0.5697 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.1536, allocations: 1.136 MB / 0.5708 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.1545, allocations: 287.4 kB / 0.5711 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.1581, allocations: 2.324 MB / 0.5733 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.1607, allocations: 1.922 MB / 0.5752 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1621, allocations: 0.8878 MB / 0.5761 GB, free: 304 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.164, allocations: 1.254 MB / 0.5773 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005184/0.1645, allocations: 196 kB / 0.5775 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.166, allocations: 0.7216 MB / 0.5782 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.1673, allocations: 1.137 MB / 0.5793 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.1689, allocations: 1.312 MB / 0.5806 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.1744, allocations: 4.33 MB / 0.5848 GB, free: 7.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1744, allocations: 4 kB / 0.5848 GB, free: 7.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1744, allocations: 4 kB / 0.5848 GB, free: 7.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001226/0.1745, allocations: 0 / 0.5848 GB, free: 7.309 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.00613/0.1806, allocations: 2.938 MB / 0.5877 GB, free: 4.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1807, allocations: 12.03 kB / 0.5877 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008027/0.1815, allocations: 483.1 kB / 0.5882 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/0.187, allocations: 1.582 MB / 0.5897 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.1901, allocations: 1.336 MB / 0.591 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.1902, allocations: 147.8 kB / 0.5912 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006103/0.1909, allocations: 183.9 kB / 0.5913 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2786/0.4694, allocations: 6.249 MB / 0.5974 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/0.4695, allocations: 13.72 kB / 0.5975 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.4697, allocations: 85.88 kB / 0.5975 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.4723, allocations: 1.345 MB / 0.5989 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.4839, allocations: 5.331 MB / 0.6041 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.512, allocations: 20.03 MB / 0.6236 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.5159, allocations: 2.014 MB / 0.6256 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007703/0.5167, allocations: 0.6343 MB / 0.6262 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005476/0.5222, allocations: 3.5 MB / 0.6296 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5222, allocations: 41.95 kB / 0.6297 GB, free: 12.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.857e-06/0.5222, allocations: 0 / 0.6297 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.0049/0.5271, allocations: 1.982 MB / 0.6316 GB, free: 10.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5271, allocations: 59.78 kB / 0.6317 GB, free: 10.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.5292, allocations: 1.936 MB / 0.6335 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/0.5293, allocations: 37.7 kB / 0.6336 GB, free: 8.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/0.53, allocations: 1.912 MB / 0.6354 GB, free: 6.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.5303, allocations: 328.9 kB / 0.6358 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.5309, allocations: 0.6214 MB / 0.6364 GB, free: 5.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.5309, allocations: 361.9 kB / 0.6367 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/0.5319, allocations: 0.8803 MB / 0.6376 GB, free: 4.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.5335, allocations: 2.751 MB / 0.6403 GB, free: 0.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/0.5383, allocations: 3.977 MB / 0.6441 GB, free: 11.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.5383, allocations: 20 kB / 0.6442 GB, free: 11.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006316/0.5447, allocations: 3.524 MB / 0.6476 GB, free: 8.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.5447, allocations: 36.25 kB / 0.6476 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.992e-05/0.5448, allocations: 68 kB / 0.6477 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.5449, allocations: 95.92 kB / 0.6478 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.547, allocations: 0.655 MB / 0.6484 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/0.5471, allocations: 127.5 kB / 0.6486 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.5491, allocations: 431 kB / 0.649 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/0.5495, allocations: 192 kB / 0.6491 GB, free: 6.719 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.002244/0.5517, allocations: 1.34 MB / 0.6505 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.552, allocations: 170.8 kB / 0.6506 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.5525, allocations: 196.9 kB / 0.6508 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.5525, allocations: 8 kB / 0.6508 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.5525, allocations: 4 kB / 0.6508 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5525, allocations: 3.938 kB / 0.6508 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007483/0.56, allocations: 4.071 MB / 0.6548 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.56, allocations: 8 kB / 0.6548 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.5604, allocations: 99.81 kB / 0.6549 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.5604, allocations: 11.94 kB / 0.6549 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.5605, allocations: 20 kB / 0.6549 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.5605, allocations: 12.55 kB / 0.6549 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.5605, allocations: 7.938 kB / 0.655 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.5622, allocations: 1.244 MB / 0.6562 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.5627, allocations: 255.7 kB / 0.6564 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.5629, allocations: 23.94 kB / 0.6564 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.5634, allocations: 27.97 kB / 0.6565 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5635, allocations: 47.83 kB / 0.6565 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.5635, allocations: 35.98 kB / 0.6565 GB, free: 14.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002109/0.5656, allocations: 1.267 MB / 0.6578 GB, free: 13.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5656, allocations: 0 / 0.6578 GB, free: 13.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003318/0.569, allocations: 0.689 MB / 0.6585 GB, free: 12.94 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.00227/0.5712, allocations: 1.853 MB / 0.6603 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.5746, allocations: 1.955 MB / 0.6622 GB, free: 9.047 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5746, allocations: 4.25 kB / 0.6622 GB, free: 9.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006172/0.5752, allocations: 440.6 kB / 0.6626 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.5765, allocations: 233 kB / 0.6628 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/0.6091, allocations: 20.87 MB / 0.6832 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003143/0.6123, allocations: 2.275 MB / 0.6854 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002247/0.6145, allocations: 0.9556 MB / 0.6864 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/0.6163, allocations: 1.034 MB / 0.6874 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.6163, allocations: 0 / 0.6874 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/0.6869, allocations: 32.76 MB / 0.7194 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.52, allocations: 8.062 kB / 0.7194 GB, free: 12.05 MB / 0.5294 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.1.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.614943348919041]