Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001251/0.001251, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00145/0.00145, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2368/0.2368, allocations: 46.97 MB / 360.9 MB, free: 4.023 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.91 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01126/0.3546, allocations: 8.393 MB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006618/0.3612, allocations: 2.796 MB / 0.5715 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.3628, allocations: 55.81 kB / 0.5716 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004746/0.3675, allocations: 1.931 MB / 0.5735 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.3714, allocations: 1.14 MB / 0.5746 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.3722, allocations: 287.5 kB / 0.5748 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003619/0.3758, allocations: 2.329 MB / 0.5771 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3781, allocations: 1.742 MB / 0.5788 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3794, allocations: 0.8917 MB / 0.5797 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.3812, allocations: 1.25 MB / 0.5809 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003946/0.3816, allocations: 196 kB / 0.5811 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3828, allocations: 0.6162 MB / 0.5817 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.384, allocations: 1.141 MB / 0.5828 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3852, allocations: 0.9471 MB / 0.5837 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.3903, allocations: 4.342 MB / 0.588 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3903, allocations: 0 / 0.588 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3903, allocations: 0 / 0.588 GB, free: 8.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001312/0.3904, allocations: 0 / 0.588 GB, free: 8.012 MB / 430.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.005779/0.3962, allocations: 2.862 MB / 0.5908 GB, free: 5.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3963, allocations: 12.03 kB / 0.5908 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006257/0.3969, allocations: 487 kB / 0.5912 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.402, allocations: 1.574 MB / 0.5928 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.4054, allocations: 1.29 MB / 0.594 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.4056, allocations: 147.8 kB / 0.5942 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005222/0.4061, allocations: 187.9 kB / 0.5944 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.4169, allocations: 6.242 MB / 0.6005 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.417, allocations: 15.88 kB / 0.6005 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.4172, allocations: 83.91 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/0.4193, allocations: 1.344 MB / 0.6019 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.4294, allocations: 5.33 MB / 0.6071 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/0.4594, allocations: 19.01 MB / 0.6256 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.4637, allocations: 1.553 MB / 0.6272 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.4648, allocations: 0.6353 MB / 0.6278 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006782/0.4716, allocations: 2.895 MB / 0.6306 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.4716, allocations: 39 kB / 0.6306 GB, free: 11.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/0.4716, allocations: 0 / 0.6306 GB, free: 11.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005576/0.4772, allocations: 1.986 MB / 0.6326 GB, free: 9.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4772, allocations: 59.84 kB / 0.6326 GB, free: 9.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.4804, allocations: 2.058 MB / 0.6346 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/0.4804, allocations: 33.7 kB / 0.6347 GB, free: 7.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.482, allocations: 1.907 MB / 0.6365 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.4823, allocations: 333.5 kB / 0.6369 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00093/0.4833, allocations: 0.6195 MB / 0.6375 GB, free: 4.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4835, allocations: 357.9 kB / 0.6378 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4848, allocations: 0.8842 MB / 0.6387 GB, free: 3.008 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/0.4878, allocations: 2.751 MB / 0.6414 GB, free: 15.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.4927, allocations: 3.966 MB / 0.6452 GB, free: 10.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.306e-05/0.4928, allocations: 27.92 kB / 0.6453 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006171/0.499, allocations: 3.524 MB / 0.6487 GB, free: 6.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.499, allocations: 32.22 kB / 0.6487 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.369e-05/0.4991, allocations: 72 kB / 0.6488 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.423e-05/0.4992, allocations: 88 kB / 0.6489 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.5011, allocations: 0.6589 MB / 0.6495 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.5012, allocations: 127.5 kB / 0.6496 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.5033, allocations: 428.8 kB / 0.6501 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.5035, allocations: 188 kB / 0.6502 GB, free: 5.297 MB / 494.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.002086/0.5056, allocations: 1.35 MB / 0.6516 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.5059, allocations: 166.9 kB / 0.6517 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.5062, allocations: 192.9 kB / 0.6519 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.5062, allocations: 12 kB / 0.6519 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5063, allocations: 4 kB / 0.6519 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5063, allocations: 3.938 kB / 0.6519 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/0.5136, allocations: 3.956 MB / 0.6558 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5136, allocations: 4 kB / 0.6558 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.514, allocations: 103.8 kB / 0.6559 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.514, allocations: 11.94 kB / 0.6559 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.5141, allocations: 15.98 kB / 0.6559 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/0.5141, allocations: 12 kB / 0.6559 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.5141, allocations: 7.938 kB / 0.6559 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.5157, allocations: 1.247 MB / 0.6571 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.5161, allocations: 178.6 kB / 0.6573 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5163, allocations: 23.88 kB / 0.6573 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.5168, allocations: 39.86 kB / 0.6574 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.5169, allocations: 47.81 kB / 0.6574 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.517, allocations: 31.98 kB / 0.6574 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001918/0.5189, allocations: 1.263 MB / 0.6587 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5189, allocations: 4 kB / 0.6587 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002702/0.5216, allocations: 0.6814 MB / 0.6594 GB, free: 11.72 MB / 0.4981 GB 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.002226/0.5238, allocations: 1.849 MB / 0.6612 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003552/0.5274, allocations: 1.963 MB / 0.6631 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.5274, allocations: 4.875 kB / 0.6631 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.528, allocations: 432.2 kB / 0.6635 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5294, allocations: 234.5 kB / 0.6637 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/0.5613, allocations: 20.88 MB / 0.6841 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.5637, allocations: 1.7 MB / 0.6858 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002289/0.566, allocations: 0.9519 MB / 0.6867 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.5678, allocations: 1.03 MB / 0.6877 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of SimCode: time 1.703e-06/0.5678, allocations: 4 kB / 0.6877 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/0.6436, allocations: 34.23 MB / 0.7211 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.92, allocations: 2.969 kB / 0.7211 GB, free: 10.2 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/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_4.1.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.32528139097849]