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.001718/0.001718, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00225/0.00225, allocations: 215 kB / 21.45 MB, free: 1.617 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.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2247/0.2247, allocations: 46.92 MB / 357.8 MB, free: 10.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 60.14 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1178, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01211/0.1299, allocations: 9.564 MB / 0.5654 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006929/0.1368, allocations: 2.94 MB / 0.5683 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.1388, allocations: 55.81 kB / 0.5683 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.1432, allocations: 2.029 MB / 0.5703 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.1466, allocations: 1.117 MB / 0.5714 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.1474, allocations: 287.4 kB / 0.5717 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00375/0.1511, allocations: 2.341 MB / 0.5739 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.1535, allocations: 1.91 MB / 0.5758 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.1547, allocations: 0.8956 MB / 0.5767 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.1563, allocations: 1.246 MB / 0.5779 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.1567, allocations: 192 kB / 0.5781 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1578, allocations: 0.7294 MB / 0.5788 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.1589, allocations: 1.145 MB / 0.5799 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.1603, allocations: 1.308 MB / 0.5812 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005388/0.1657, allocations: 4.33 MB / 0.5854 GB, free: 7.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1657, allocations: 0 / 0.5854 GB, free: 7.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1657, allocations: 0 / 0.5854 GB, free: 7.617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.1658, allocations: 0 / 0.5854 GB, free: 7.617 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.005532/0.1713, allocations: 2.942 MB / 0.5883 GB, free: 4.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1714, allocations: 8.031 kB / 0.5883 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.919e-05/0.1714, allocations: 67.94 kB / 0.5884 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006639/0.1721, allocations: 483.1 kB / 0.5888 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005473/0.1776, allocations: 1.578 MB / 0.5904 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.1804, allocations: 1.344 MB / 0.5917 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1805, allocations: 147.6 kB / 0.5918 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004135/0.1809, allocations: 183.9 kB / 0.592 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2486/0.4295, allocations: 6.244 MB / 0.5981 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.4296, allocations: 17.12 kB / 0.5981 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.4298, allocations: 88.27 kB / 0.5982 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002243/0.4321, allocations: 1.343 MB / 0.5995 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.4421, allocations: 5.332 MB / 0.6047 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.4648, allocations: 20.03 MB / 0.6243 GB, free: 16.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.4686, allocations: 2.003 MB / 0.6262 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.4694, allocations: 0.6352 MB / 0.6269 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004993/0.4744, allocations: 3.508 MB / 0.6303 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4744, allocations: 39 kB / 0.6303 GB, free: 12.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/0.4744, allocations: 0 / 0.6303 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004646/0.479, allocations: 1.978 MB / 0.6323 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4791, allocations: 67.83 kB / 0.6323 GB, free: 10.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.4814, allocations: 1.936 MB / 0.6342 GB, free: 8.984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.4815, allocations: 33.64 kB / 0.6342 GB, free: 8.945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/0.4824, allocations: 1.911 MB / 0.6361 GB, free: 7.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.4826, allocations: 326 kB / 0.6364 GB, free: 6.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006262/0.4832, allocations: 0.6214 MB / 0.637 GB, free: 6.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.4833, allocations: 361.9 kB / 0.6374 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/0.4843, allocations: 0.8881 MB / 0.6382 GB, free: 4.969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4858, allocations: 2.744 MB / 0.6409 GB, free: 1.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.49, allocations: 3.975 MB / 0.6448 GB, free: 12.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.656e-05/0.4901, allocations: 20 kB / 0.6448 GB, free: 12.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005695/0.4958, allocations: 3.532 MB / 0.6483 GB, free: 8.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.4958, allocations: 32 kB / 0.6483 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.772e-05/0.4959, allocations: 64 kB / 0.6484 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.755e-05/0.496, allocations: 91.94 kB / 0.6484 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.4979, allocations: 0.655 MB / 0.6491 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.498, allocations: 128 kB / 0.6492 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4999, allocations: 434.9 kB / 0.6496 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/0.5001, allocations: 183.7 kB / 0.6498 GB, free: 7.27 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.002046/0.5022, allocations: 1.355 MB / 0.6511 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.5024, allocations: 162.9 kB / 0.6513 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.5029, allocations: 196.9 kB / 0.6515 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.5029, allocations: 8 kB / 0.6515 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5029, allocations: 0 / 0.6515 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.5029, allocations: 6.891 kB / 0.6515 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007082/0.51, allocations: 4.081 MB / 0.6555 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.51, allocations: 8.125 kB / 0.6555 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.5104, allocations: 103.8 kB / 0.6556 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.5104, allocations: 8 kB / 0.6556 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.5105, allocations: 15.94 kB / 0.6556 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.5105, allocations: 11.94 kB / 0.6556 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.5105, allocations: 11.98 kB / 0.6556 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5121, allocations: 1.243 MB / 0.6568 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.5124, allocations: 251.7 kB / 0.6571 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.5127, allocations: 23.92 kB / 0.6571 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.5132, allocations: 27.97 kB / 0.6571 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5133, allocations: 51.83 kB / 0.6572 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/0.5134, allocations: 31.98 kB / 0.6572 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.5153, allocations: 1.271 MB / 0.6584 GB, free: 14.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5153, allocations: 0 / 0.6584 GB, free: 14.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002452/0.5178, allocations: 0.6852 MB / 0.6591 GB, free: 13.48 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.002212/0.52, allocations: 1.861 MB / 0.6609 GB, free: 11.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003081/0.5231, allocations: 1.956 MB / 0.6628 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5231, allocations: 0 / 0.6628 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.5236, allocations: 427.2 kB / 0.6632 GB, free: 9.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.5249, allocations: 242 kB / 0.6635 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/0.5555, allocations: 20.88 MB / 0.6839 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003067/0.5585, allocations: 2.271 MB / 0.6861 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002185/0.5607, allocations: 0.9535 MB / 0.687 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.5623, allocations: 1.034 MB / 0.688 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.5623, allocations: 0 / 0.688 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/0.6251, allocations: 32.81 MB / 0.7201 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.72, allocations: 8.062 kB / 0.7201 GB, free: 12.61 MB / 0.5294 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.323296957998537]