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.001937/0.001937, 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.002435/0.002435, 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.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2518/0.2518, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.002021/0.002021, allocations: 67.91 kB / 0.4916 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1107, allocations: 65.98 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01155/0.1223, allocations: 9.571 MB / 0.5654 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006108/0.1284, allocations: 2.94 MB / 0.5683 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.1297, allocations: 55.81 kB / 0.5683 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.1338, allocations: 2.025 MB / 0.5703 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.1369, allocations: 1.125 MB / 0.5714 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.1376, allocations: 287.5 kB / 0.5717 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.1408, allocations: 2.333 MB / 0.5739 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.143, allocations: 1.91 MB / 0.5758 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1441, allocations: 0.8917 MB / 0.5767 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.1456, allocations: 1.258 MB / 0.5779 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.1459, allocations: 192 kB / 0.5781 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1471, allocations: 0.7255 MB / 0.5788 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.1481, allocations: 1.137 MB / 0.5799 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.1494, allocations: 1.312 MB / 0.5812 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.1538, allocations: 4.334 MB / 0.5854 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1538, allocations: 0 / 0.5854 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1538, allocations: 3.938 kB / 0.5854 GB, free: 7.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.1539, allocations: 0 / 0.5854 GB, free: 7.586 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.004523/0.1584, allocations: 2.934 MB / 0.5883 GB, free: 4.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1584, allocations: 12.03 kB / 0.5883 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.603e-05/0.1585, allocations: 71.94 kB / 0.5884 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005684/0.1591, allocations: 483 kB / 0.5888 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005424/0.1645, allocations: 1.582 MB / 0.5904 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.1668, allocations: 1.332 MB / 0.5917 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.1669, allocations: 151.6 kB / 0.5918 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.1673, allocations: 183.9 kB / 0.592 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2205/0.3877, allocations: 6.247 MB / 0.5981 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.3878, allocations: 13.72 kB / 0.5981 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.388, allocations: 86.84 kB / 0.5982 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.3902, allocations: 1.344 MB / 0.5995 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009663/0.3998, allocations: 5.332 MB / 0.6047 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/0.421, allocations: 20.04 MB / 0.6243 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.4246, allocations: 2.011 MB / 0.6263 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.4253, allocations: 0.6317 MB / 0.6269 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005196/0.4305, allocations: 3.508 MB / 0.6303 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4305, allocations: 35 kB / 0.6303 GB, free: 12.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.4305, allocations: 0 / 0.6303 GB, free: 12.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004847/0.4354, allocations: 1.982 MB / 0.6323 GB, free: 10.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4354, allocations: 55.84 kB / 0.6323 GB, free: 10.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.4374, allocations: 1.936 MB / 0.6342 GB, free: 8.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.4374, allocations: 37.7 kB / 0.6342 GB, free: 8.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/0.438, allocations: 1.91 MB / 0.6361 GB, free: 7.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.4382, allocations: 329.8 kB / 0.6364 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005288/0.4387, allocations: 0.6189 MB / 0.637 GB, free: 6.141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.4388, allocations: 361.9 kB / 0.6374 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/0.4397, allocations: 0.8842 MB / 0.6382 GB, free: 4.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.4412, allocations: 2.755 MB / 0.6409 GB, free: 1.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.4454, allocations: 3.973 MB / 0.6448 GB, free: 12.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-05/0.4454, allocations: 20 kB / 0.6448 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005454/0.4508, allocations: 3.527 MB / 0.6483 GB, free: 8.758 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.4509, allocations: 32 kB / 0.6483 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.118e-05/0.451, allocations: 68 kB / 0.6484 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-05/0.451, allocations: 88 kB / 0.6485 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.4529, allocations: 0.6557 MB / 0.6491 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001068/0.453, allocations: 135.5 kB / 0.6492 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.4547, allocations: 424.5 kB / 0.6496 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.455, allocations: 194 kB / 0.6498 GB, free: 7.184 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.001893/0.4568, allocations: 1.342 MB / 0.6511 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.4571, allocations: 170.9 kB / 0.6513 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.4575, allocations: 192.9 kB / 0.6515 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.4575, allocations: 10.98 kB / 0.6515 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4575, allocations: 4 kB / 0.6515 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.4575, allocations: 7.969 kB / 0.6515 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.4641, allocations: 4.076 MB / 0.6555 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.4641, allocations: 11.98 kB / 0.6555 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.4645, allocations: 95.83 kB / 0.6556 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.4645, allocations: 8 kB / 0.6556 GB, free: 1.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.4646, allocations: 23.92 kB / 0.6556 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.4646, allocations: 11.94 kB / 0.6556 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.4646, allocations: 7.938 kB / 0.6556 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.4662, allocations: 1.239 MB / 0.6568 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.4665, allocations: 259.7 kB / 0.6571 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.4667, allocations: 23.94 kB / 0.6571 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.4672, allocations: 27.88 kB / 0.6571 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.4673, allocations: 55.83 kB / 0.6572 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.4673, allocations: 28 kB / 0.6572 GB, free: 15.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001772/0.4691, allocations: 1.267 MB / 0.6584 GB, free: 14.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4691, allocations: 0 / 0.6584 GB, free: 14.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002441/0.4715, allocations: 0.6968 MB / 0.6591 GB, free: 13.39 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.00206/0.4736, allocations: 1.853 MB / 0.6609 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.4767, allocations: 1.952 MB / 0.6628 GB, free: 9.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.4767, allocations: 4 kB / 0.6628 GB, free: 9.488 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.4773, allocations: 435.5 kB / 0.6633 GB, free: 9.066 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4785, allocations: 229.3 kB / 0.6635 GB, free: 8.855 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/0.509, allocations: 20.88 MB / 0.6839 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/0.5117, allocations: 2.272 MB / 0.6861 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002094/0.5138, allocations: 0.9507 MB / 0.687 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.5152, allocations: 1.038 MB / 0.688 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5152, allocations: 0 / 0.688 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06133/0.5766, allocations: 32.8 MB / 0.7201 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.83, allocations: 12 kB / 0.7201 GB, free: 12.52 MB / 0.5294 GB " [Timeout remaining time 647] (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: 16.43566765799187]