Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 103.5 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 192.1 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001796, allocations: 70.84 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1055, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009201/0.1147, allocations: 10.53 MB / 451.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006033/0.1208, allocations: 3.003 MB / 454.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1219, allocations: 59.81 kB / 454.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.1254, allocations: 2.002 MB / 456.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.128, allocations: 1.187 MB / 457.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.1288, allocations: 287.5 kB / 457.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003226/0.132, allocations: 2.453 MB / 460.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.135, allocations: 2.383 MB / 462.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.1367, allocations: 0.95 MB / 463.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.1385, allocations: 1.262 MB / 464.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.139, allocations: 212 kB / 464.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.1405, allocations: 0.706 MB / 465.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.1418, allocations: 1.208 MB / 466.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002279/0.1441, allocations: 1.429 MB / 468.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.1493, allocations: 4.536 MB / 472.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1493, allocations: 0 / 472.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1493, allocations: 0 / 472.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001839/0.1495, allocations: 0 / 472.8 MB, free: 6.457 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.008402/0.1579, allocations: 3.08 MB / 475.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/0.158, allocations: 15.89 kB / 475.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009671/0.159, allocations: 0.5091 MB / 476.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.1645, allocations: 1.607 MB / 478 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.1672, allocations: 1.379 MB / 479.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1674, allocations: 156 kB / 479.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.1677, allocations: 203.9 kB / 479.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/0.1777, allocations: 6.784 MB / 486.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.1778, allocations: 15.88 kB / 486.6 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.1781, allocations: 95.89 kB / 486.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/0.1803, allocations: 1.485 MB / 488.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00982/0.1901, allocations: 5.806 MB / 493.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02628/0.2164, allocations: 21.59 MB / 0.5035 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/0.221, allocations: 2.253 MB / 0.5057 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.2222, allocations: 0.7874 MB / 0.5064 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006038/0.2282, allocations: 3.73 MB / 0.5101 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2283, allocations: 43.12 kB / 0.5101 GB, free: 3.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.126e-06/0.2283, allocations: 0 / 0.5101 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005683/0.234, allocations: 2.193 MB / 0.5122 GB, free: 1.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.234, allocations: 67.91 kB / 0.5123 GB, free: 1.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.2366, allocations: 2.02 MB / 0.5143 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.2366, allocations: 33.7 kB / 0.5143 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.2378, allocations: 1.964 MB / 0.5162 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.2382, allocations: 359.4 kB / 0.5166 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007967/0.239, allocations: 0.6665 MB / 0.5172 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2391, allocations: 357.9 kB / 0.5176 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.2405, allocations: 0.9666 MB / 0.5185 GB, free: 10.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.2431, allocations: 2.922 MB / 0.5214 GB, free: 6.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004365/0.2475, allocations: 4.241 MB / 0.5255 GB, free: 1.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.34e-05/0.2475, allocations: 20 kB / 0.5255 GB, free: 1.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2065/0.454, allocations: 3.782 MB / 0.5292 GB, free: 85.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.4541, allocations: 34.5 kB / 0.5293 GB, free: 85.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.17e-05/0.4542, allocations: 73.28 kB / 0.5293 GB, free: 85.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.75e-05/0.4543, allocations: 92.19 kB / 0.5294 GB, free: 85.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.4563, allocations: 0.7122 MB / 0.5301 GB, free: 85.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001/0.4564, allocations: 134.9 kB / 0.5302 GB, free: 85.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.4582, allocations: 447 kB / 0.5307 GB, free: 85.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/0.4584, allocations: 204.7 kB / 0.5309 GB, free: 85.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.001714/0.4602, allocations: 1.431 MB / 0.5323 GB, free: 85.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.4604, allocations: 170.4 kB / 0.5324 GB, free: 85.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.4622, allocations: 1.187 MB / 0.5336 GB, free: 85.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.4622, allocations: 14.39 kB / 0.5336 GB, free: 85.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4622, allocations: 0 / 0.5336 GB, free: 85.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4622, allocations: 3.422 kB / 0.5336 GB, free: 85.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/0.4697, allocations: 4.981 MB / 0.5385 GB, free: 83.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.4698, allocations: 9.531 kB / 0.5385 GB, free: 83.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.4704, allocations: 134.7 kB / 0.5386 GB, free: 83.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/0.4704, allocations: 12.22 kB / 0.5386 GB, free: 83.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.4705, allocations: 25.88 kB / 0.5386 GB, free: 83.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/0.4705, allocations: 18.45 kB / 0.5386 GB, free: 83.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/0.4705, allocations: 14.06 kB / 0.5387 GB, free: 83.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.4728, allocations: 1.521 MB / 0.5401 GB, free: 82.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.4732, allocations: 263 kB / 0.5404 GB, free: 82.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.4734, allocations: 25.56 kB / 0.5404 GB, free: 82.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.474, allocations: 46.67 kB / 0.5405 GB, free: 82.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.4741, allocations: 73.33 kB / 0.5405 GB, free: 82.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/0.4742, allocations: 35.81 kB / 0.5406 GB, free: 82.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.4759, allocations: 1.331 MB / 0.5419 GB, free: 82.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4759, allocations: 0 / 0.5419 GB, free: 82.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002971/0.4789, allocations: 0.7457 MB / 0.5426 GB, free: 81.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.001952/0.4809, allocations: 2.124 MB / 0.5447 GB, free: 80.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00315/0.484, allocations: 2.464 MB / 0.5471 GB, free: 79.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/0.484, allocations: 6.25 kB / 0.5471 GB, free: 79.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.4847, allocations: 0.5387 MB / 0.5476 GB, free: 79.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.4859, allocations: 259.7 kB / 0.5479 GB, free: 79.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/0.5083, allocations: 23.94 MB / 0.5712 GB, free: 55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.5102, allocations: 2.404 MB / 0.5736 GB, free: 52.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00206/0.5123, allocations: 1.015 MB / 0.5746 GB, free: 51.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.5134, allocations: 1.14 MB / 0.5757 GB, free: 50.43 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5134, allocations: 3.938 kB / 0.5757 GB, free: 50.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.5612, allocations: 34.38 MB / 0.6093 GB, free: 16.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.766, allocations: 5.25 kB / 0.6093 GB, free: 16.06 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches