Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00141/0.00141, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001572/0.001572, allocations: 214.9 kB / 24.51 MB, free: 3.691 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2312/0.2312, allocations: 46.97 MB / 361.7 MB, free: 4.039 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 0.4969 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 66.03 MB / 0.5613 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01094/0.3005, allocations: 8.338 MB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005785/0.3063, allocations: 2.773 MB / 0.5722 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/0.3072, allocations: 55.81 kB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.3111, allocations: 1.939 MB / 0.5741 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.3137, allocations: 1.137 MB / 0.5753 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.3144, allocations: 291.4 kB / 0.5755 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.3175, allocations: 2.329 MB / 0.5778 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.3198, allocations: 1.742 MB / 0.5795 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.321, allocations: 0.8956 MB / 0.5804 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.3227, allocations: 1.254 MB / 0.5816 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.3231, allocations: 192 kB / 0.5818 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3243, allocations: 0.6201 MB / 0.5824 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.3255, allocations: 1.13 MB / 0.5835 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.3269, allocations: 0.9471 MB / 0.5844 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.3323, allocations: 4.338 MB / 0.5887 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3323, allocations: 8 kB / 0.5887 GB, free: 7.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3323, allocations: 0 / 0.5887 GB, free: 7.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.3324, allocations: 0 / 0.5887 GB, free: 7.98 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.005454/0.3379, allocations: 2.862 MB / 0.5915 GB, free: 5.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3379, allocations: 11.97 kB / 0.5915 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.677e-05/0.338, allocations: 67.94 kB / 0.5915 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006415/0.3386, allocations: 495 kB / 0.592 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.3438, allocations: 1.574 MB / 0.5936 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.3469, allocations: 1.282 MB / 0.5948 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.347, allocations: 147.6 kB / 0.5949 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/0.3475, allocations: 183.9 kB / 0.5951 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009959/0.3574, allocations: 6.25 MB / 0.6012 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.3575, allocations: 15.81 kB / 0.6012 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.3577, allocations: 91.91 kB / 0.6013 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.3599, allocations: 1.34 MB / 0.6026 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009679/0.3696, allocations: 5.334 MB / 0.6078 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.3968, allocations: 19.01 MB / 0.6264 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.4009, allocations: 1.565 MB / 0.6279 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/0.4018, allocations: 0.6328 MB / 0.6286 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005826/0.4077, allocations: 2.895 MB / 0.6314 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4077, allocations: 42.94 kB / 0.6314 GB, free: 11.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.4077, allocations: 0 / 0.6314 GB, free: 11.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005365/0.4131, allocations: 1.978 MB / 0.6334 GB, free: 9.195 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4131, allocations: 55.84 kB / 0.6334 GB, free: 9.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.4158, allocations: 1.946 MB / 0.6353 GB, free: 7.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.4158, allocations: 37.7 kB / 0.6353 GB, free: 7.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.4173, allocations: 1.907 MB / 0.6372 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.4177, allocations: 325.5 kB / 0.6375 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008238/0.4185, allocations: 0.6234 MB / 0.6381 GB, free: 4.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4187, allocations: 365.8 kB / 0.6385 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.42, allocations: 0.8881 MB / 0.6393 GB, free: 3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.4229, allocations: 2.747 MB / 0.642 GB, free: 15.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/0.4276, allocations: 3.966 MB / 0.6459 GB, free: 10.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-05/0.4277, allocations: 24 kB / 0.6459 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006032/0.4337, allocations: 3.529 MB / 0.6494 GB, free: 6.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.4337, allocations: 36.97 kB / 0.6494 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/0.4338, allocations: 64 kB / 0.6495 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.599e-05/0.4339, allocations: 88 kB / 0.6495 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.4358, allocations: 0.6589 MB / 0.6502 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.4359, allocations: 127.5 kB / 0.6503 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.4377, allocations: 436.8 kB / 0.6507 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.438, allocations: 184 kB / 0.6509 GB, free: 5.293 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.002153/0.4401, allocations: 1.346 MB / 0.6522 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.4404, allocations: 162.9 kB / 0.6524 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.4408, allocations: 200.9 kB / 0.6526 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.4408, allocations: 8 kB / 0.6526 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4408, allocations: 0 / 0.6526 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4408, allocations: 3.938 kB / 0.6526 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006869/0.4477, allocations: 3.956 MB / 0.6564 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.4477, allocations: 8 kB / 0.6564 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.4481, allocations: 95.89 kB / 0.6565 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.4481, allocations: 11.94 kB / 0.6565 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.4482, allocations: 27.98 kB / 0.6566 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.4482, allocations: 15.88 kB / 0.6566 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4482, allocations: 7.938 kB / 0.6566 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.4498, allocations: 1.239 MB / 0.6578 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.4502, allocations: 178.6 kB / 0.658 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.4504, allocations: 23.94 kB / 0.658 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.4508, allocations: 27.97 kB / 0.658 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.451, allocations: 51.81 kB / 0.6581 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.451, allocations: 35.97 kB / 0.6581 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001934/0.453, allocations: 1.271 MB / 0.6594 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.453, allocations: 0 / 0.6594 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002732/0.4557, allocations: 0.6852 MB / 0.66 GB, free: 11.71 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.002213/0.4579, allocations: 1.856 MB / 0.6618 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0034/0.4613, allocations: 1.956 MB / 0.6637 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.4613, allocations: 4 kB / 0.6637 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.462, allocations: 441 kB / 0.6642 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.4634, allocations: 216.3 kB / 0.6644 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/0.4948, allocations: 20.88 MB / 0.6848 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/0.4973, allocations: 1.704 MB / 0.6864 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002191/0.4995, allocations: 0.948 MB / 0.6874 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/0.5012, allocations: 1.038 MB / 0.6884 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of SimCode: time 2.695e-06/0.5012, allocations: 0 / 0.6884 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/0.5679, allocations: 34.01 MB / 0.7216 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.3, allocations: 8.062 kB / 0.7216 GB, free: 10.45 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 19.020619965041988]