Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001309/0.001309, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001356/0.001356, allocations: 219 kB / 21.46 MB, free: 1.586 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.534/1.534, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 44.91 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002016/0.002016, allocations: 67.91 kB / 0.4885 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1248, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01186/0.1366, allocations: 9.574 MB / 0.5618 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.1431, allocations: 2.94 MB / 0.5646 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1445, allocations: 55.81 kB / 0.5647 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.1484, allocations: 2.017 MB / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002894/0.1513, allocations: 1.129 MB / 0.5678 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.1521, allocations: 291.4 kB / 0.568 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.1556, allocations: 2.326 MB / 0.5703 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.1583, allocations: 1.918 MB / 0.5722 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.1596, allocations: 0.8878 MB / 0.5731 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.1613, allocations: 1.254 MB / 0.5743 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.1616, allocations: 196 kB / 0.5745 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1629, allocations: 0.7216 MB / 0.5752 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.1641, allocations: 1.141 MB / 0.5763 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.1654, allocations: 1.305 MB / 0.5776 GB, free: 256 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.1708, allocations: 4.334 MB / 0.5818 GB, free: 11.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1708, allocations: 4 kB / 0.5818 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1708, allocations: 0 / 0.5818 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.61e-05/0.1709, allocations: 4 kB / 0.5818 GB, free: 11.89 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.005489/0.1763, allocations: 2.938 MB / 0.5847 GB, free: 8.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1764, allocations: 11.97 kB / 0.5847 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.293e-05/0.1765, allocations: 63.94 kB / 0.5847 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006131/0.1771, allocations: 491 kB / 0.5852 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.1823, allocations: 1.574 MB / 0.5868 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.1849, allocations: 1.344 MB / 0.5881 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.1851, allocations: 147.6 kB / 0.5882 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.1854, allocations: 183.9 kB / 0.5884 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2544/0.4398, allocations: 6.248 MB / 0.5945 GB, free: 35.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.4398, allocations: 12.91 kB / 0.5945 GB, free: 35.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.4401, allocations: 85.41 kB / 0.5946 GB, free: 35.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/0.4422, allocations: 1.34 MB / 0.5959 GB, free: 35.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.4523, allocations: 5.334 MB / 0.6011 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.4746, allocations: 20.03 MB / 0.6207 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/0.4784, allocations: 2.016 MB / 0.6226 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008243/0.4793, allocations: 0.6321 MB / 0.6232 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004928/0.4842, allocations: 3.503 MB / 0.6267 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4842, allocations: 37.88 kB / 0.6267 GB, free: 17.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.196e-06/0.4842, allocations: 0 / 0.6267 GB, free: 17.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004721/0.4889, allocations: 1.986 MB / 0.6286 GB, free: 16.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.489, allocations: 55.22 kB / 0.6287 GB, free: 16.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.4909, allocations: 1.94 MB / 0.6306 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.4909, allocations: 43.69 kB / 0.6306 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006821/0.4916, allocations: 1.903 MB / 0.6325 GB, free: 14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.4918, allocations: 335.1 kB / 0.6328 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/0.4923, allocations: 0.63 MB / 0.6334 GB, free: 13.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.4924, allocations: 360.6 kB / 0.6338 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.4934, allocations: 0.8842 MB / 0.6346 GB, free: 11.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4949, allocations: 2.747 MB / 0.6373 GB, free: 8.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.4976, allocations: 3.973 MB / 0.6412 GB, free: 3.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/0.4976, allocations: 24 kB / 0.6412 GB, free: 3.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004242/0.5019, allocations: 3.521 MB / 0.6446 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.5019, allocations: 36 kB / 0.6447 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.625e-05/0.502, allocations: 64 kB / 0.6447 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.372e-05/0.5021, allocations: 92.06 kB / 0.6448 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.504, allocations: 0.6589 MB / 0.6455 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001148/0.5041, allocations: 127.5 kB / 0.6456 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.5059, allocations: 424.8 kB / 0.646 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.5061, allocations: 190.7 kB / 0.6462 GB, free: 14.18 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.00206/0.5082, allocations: 1.354 MB / 0.6475 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.5084, allocations: 162.9 kB / 0.6477 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.5088, allocations: 196.9 kB / 0.6478 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.5089, allocations: 8 kB / 0.6479 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5089, allocations: 0 / 0.6479 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5089, allocations: 0.8438 kB / 0.6479 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00736/0.5162, allocations: 4.085 MB / 0.6518 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.5163, allocations: 4 kB / 0.6518 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.5167, allocations: 95.81 kB / 0.6519 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.5167, allocations: 12 kB / 0.652 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.5168, allocations: 23.88 kB / 0.652 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.5168, allocations: 11.98 kB / 0.652 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.5168, allocations: 11.94 kB / 0.652 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5184, allocations: 1.239 MB / 0.6532 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.5189, allocations: 267.6 kB / 0.6535 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.519, allocations: 15.94 kB / 0.6535 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.5195, allocations: 36.84 kB / 0.6535 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5196, allocations: 51.77 kB / 0.6536 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.5197, allocations: 24 kB / 0.6536 GB, free: 6.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.5217, allocations: 1.271 MB / 0.6548 GB, free: 5.055 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5217, allocations: 4 kB / 0.6548 GB, free: 5.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00255/0.5243, allocations: 0.6891 MB / 0.6555 GB, free: 4.359 MB / 462.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.002094/0.5263, allocations: 1.853 MB / 0.6573 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00314/0.5295, allocations: 1.96 MB / 0.6592 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5295, allocations: 0 / 0.6592 GB, free: 468 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.5301, allocations: 433.5 kB / 0.6596 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.5313, allocations: 236.5 kB / 0.6599 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/0.5596, allocations: 20.87 MB / 0.6802 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.5621, allocations: 2.283 MB / 0.6825 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002116/0.5643, allocations: 0.942 MB / 0.6834 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.5657, allocations: 1.038 MB / 0.6844 GB, free: 4.125 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5657, allocations: 0 / 0.6844 GB, free: 4.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06104/0.6267, allocations: 32.82 MB / 0.7165 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.42, allocations: 4.062 kB / 0.7165 GB, free: 3.488 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.116401577019133]