Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001316/0.001316, allocations: 121 kB / 18.49 MB, free: 4.586 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.001395/0.001395, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2299/0.2299, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.002118/0.002118, allocations: 79.88 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1264, allocations: 65.41 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01213/0.1385, allocations: 9.57 MB / 0.5618 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006585/0.1451, allocations: 2.94 MB / 0.5646 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.1468, allocations: 55.81 kB / 0.5647 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004386/0.1512, allocations: 2.017 MB / 0.5667 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.1543, allocations: 1.125 MB / 0.5678 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.1552, allocations: 295.4 kB / 0.568 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.1589, allocations: 2.333 MB / 0.5703 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.1619, allocations: 1.918 MB / 0.5722 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.1638, allocations: 0.8878 MB / 0.5731 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.1659, allocations: 1.254 MB / 0.5743 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005449/0.1665, allocations: 196 kB / 0.5745 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.1681, allocations: 0.7255 MB / 0.5752 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.1695, allocations: 1.137 MB / 0.5763 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.1712, allocations: 1.308 MB / 0.5776 GB, free: 272 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005751/0.1769, allocations: 4.33 MB / 0.5818 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.1769, allocations: 7.984 kB / 0.5818 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1769, allocations: 0 / 0.5818 GB, free: 11.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001263/0.177, allocations: 0 / 0.5818 GB, free: 11.91 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.005932/0.183, allocations: 2.938 MB / 0.5847 GB, free: 8.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.183, allocations: 15.97 kB / 0.5847 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001011/0.1831, allocations: 67.94 kB / 0.5848 GB, free: 8.828 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007038/0.1838, allocations: 479.1 kB / 0.5852 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005508/0.1893, allocations: 1.578 MB / 0.5868 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.1924, allocations: 1.34 MB / 0.5881 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.1925, allocations: 147.6 kB / 0.5882 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000698/0.1932, allocations: 183.9 kB / 0.5884 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2406/0.4338, allocations: 6.251 MB / 0.5945 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/0.4339, allocations: 13.19 kB / 0.5945 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004618/0.4344, allocations: 88.72 kB / 0.5946 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/0.4367, allocations: 1.342 MB / 0.5959 GB, free: 35.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.4488, allocations: 5.335 MB / 0.6011 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.4773, allocations: 20.03 MB / 0.6207 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.4815, allocations: 2.011 MB / 0.6226 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009745/0.4825, allocations: 0.6351 MB / 0.6232 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00578/0.4883, allocations: 3.501 MB / 0.6267 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4883, allocations: 38.44 kB / 0.6267 GB, free: 17.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/0.4883, allocations: 0 / 0.6267 GB, free: 17.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005428/0.4937, allocations: 1.986 MB / 0.6286 GB, free: 16.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4938, allocations: 55.81 kB / 0.6287 GB, free: 16.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.4966, allocations: 1.942 MB / 0.6306 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4968, allocations: 37.34 kB / 0.6306 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.4978, allocations: 1.903 MB / 0.6325 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.4982, allocations: 330.1 kB / 0.6328 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000882/0.4991, allocations: 0.6291 MB / 0.6334 GB, free: 13.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.4992, allocations: 360.6 kB / 0.6338 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.5002, allocations: 0.8881 MB / 0.6346 GB, free: 11.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.502, allocations: 2.747 MB / 0.6373 GB, free: 8.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.5049, allocations: 3.977 MB / 0.6412 GB, free: 3.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.503e-05/0.505, allocations: 16 kB / 0.6412 GB, free: 3.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004979/0.51, allocations: 3.535 MB / 0.6447 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.046e-05/0.51, allocations: 32 kB / 0.6447 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.5102, allocations: 72.03 kB / 0.6448 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001046/0.5103, allocations: 88 kB / 0.6448 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.5125, allocations: 0.655 MB / 0.6455 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001264/0.5126, allocations: 123.5 kB / 0.6456 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.5148, allocations: 424.8 kB / 0.646 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/0.5152, allocations: 195.9 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.00254/0.5178, allocations: 1.342 MB / 0.6475 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.5182, allocations: 162.9 kB / 0.6477 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.5188, allocations: 196.9 kB / 0.6478 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/0.5188, allocations: 8 kB / 0.6479 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5188, allocations: 0 / 0.6479 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5188, allocations: 0 / 0.6479 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00899/0.5278, allocations: 4.089 MB / 0.6518 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.5278, allocations: 4 kB / 0.6519 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.5283, allocations: 103.8 kB / 0.6519 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.5284, allocations: 8 kB / 0.652 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.5284, allocations: 26.81 kB / 0.652 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/0.5285, allocations: 11.98 kB / 0.652 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.5285, allocations: 7.938 kB / 0.652 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.5305, allocations: 1.243 MB / 0.6532 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000646/0.5311, allocations: 263.6 kB / 0.6535 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/0.5315, allocations: 23.94 kB / 0.6535 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/0.5321, allocations: 27.97 kB / 0.6535 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5322, allocations: 47.83 kB / 0.6536 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/0.5323, allocations: 28 kB / 0.6536 GB, free: 6.332 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002346/0.5347, allocations: 1.271 MB / 0.6548 GB, free: 5.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5347, allocations: 0 / 0.6548 GB, free: 5.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003059/0.5377, allocations: 0.6891 MB / 0.6555 GB, free: 4.379 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.0024/0.5401, allocations: 1.861 MB / 0.6573 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.5437, allocations: 1.948 MB / 0.6592 GB, free: 492 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.5437, allocations: 0 / 0.6592 GB, free: 492 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.5444, allocations: 437.5 kB / 0.6596 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.5461, allocations: 243.2 kB / 0.6599 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/0.5834, allocations: 20.88 MB / 0.6803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004283/0.5877, allocations: 2.271 MB / 0.6825 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002828/0.5905, allocations: 0.9501 MB / 0.6834 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/0.5928, allocations: 1.042 MB / 0.6844 GB, free: 4.137 MB / 494.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5928, allocations: 0 / 0.6844 GB, free: 4.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06738/0.6601, allocations: 32.8 MB / 0.7165 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.1, allocations: 4.062 kB / 0.7165 GB, free: 3.516 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.722258221008815]