Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",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.005497/0.005497, allocations: 100.2 kB / 15.87 MB, free: 6.316 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.001332/0.001332, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.278/1.278, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2871/0.2871, allocations: 43.51 MB / 313.5 MB, free: 8.559 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.001773/0.001773, allocations: 70.08 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1287, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2705/0.3993, allocations: 101 MB / 0.5282 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0442/0.4435, allocations: 19.15 MB / 0.5469 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02004/0.4636, allocations: 450.9 kB / 0.5473 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.4745, allocations: 6.092 MB / 0.5533 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008685/0.4832, allocations: 2.92 MB / 0.5561 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.4869, allocations: 1.486 MB / 0.5576 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01341/0.5003, allocations: 11.9 MB / 0.5692 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.5106, allocations: 7.624 MB / 0.5767 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.5162, allocations: 2.912 MB / 0.5795 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007878/0.5241, allocations: 4.514 MB / 0.5839 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00256/0.5267, allocations: 495.9 kB / 0.5844 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.5315, allocations: 1.373 MB / 0.5857 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005478/0.537, allocations: 3.752 MB / 0.5894 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007061/0.5441, allocations: 4.166 MB / 0.5935 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.5586, allocations: 12.53 MB / 0.6057 GB, free: 7.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5587, allocations: 4 kB / 0.6057 GB, free: 7.223 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5587, allocations: 0 / 0.6057 GB, free: 7.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000444/0.5591, allocations: 0 / 0.6057 GB, free: 7.223 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01999/0.5791, allocations: 9.33 MB / 0.6148 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.5792, allocations: 12.03 kB / 0.6148 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002415/0.5816, allocations: 1.311 MB / 0.6161 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.5921, allocations: 2.704 MB / 0.6187 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.6043, allocations: 6.551 MB / 0.6251 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.6048, allocations: 471.4 kB / 0.6256 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.6067, allocations: 0.5972 MB / 0.6262 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5089/1.116, allocations: 18.72 MB / 0.6445 GB, free: 52.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003001/1.116, allocations: 74.08 kB / 0.6445 GB, free: 52.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/1.117, allocations: 285 kB / 0.6448 GB, free: 52.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005698/1.123, allocations: 3.444 MB / 0.6482 GB, free: 52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/1.157, allocations: 14.62 MB / 0.6624 GB, free: 51.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/1.235, allocations: 70.6 MB / 0.7314 GB, free: 1.75 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/1.251, allocations: 6.132 MB / 0.7374 GB, free: 11.49 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/1.255, allocations: 2.456 MB / 0.7398 GB, free: 9.02 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/1.274, allocations: 10.84 MB / 0.7504 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/1.274, allocations: 60.56 kB / 0.7504 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=238): time 4.779e-06/1.274, allocations: 4 kB / 0.7504 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.03675/1.31, allocations: 16.01 MB / 0.7661 GB, free: 13.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/1.311, allocations: 154.5 kB / 0.7662 GB, free: 13.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007852/1.318, allocations: 6.699 MB / 0.7727 GB, free: 6.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003571/1.319, allocations: 65.92 kB / 0.7728 GB, free: 6.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003498/1.322, allocations: 5.542 MB / 0.7782 GB, free: 1.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009177/1.323, allocations: 1.014 MB / 0.7792 GB, free: 380 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/1.325, allocations: 1.813 MB / 0.781 GB, free: 14.55 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/1.325, allocations: 305.1 kB / 0.7813 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/1.329, allocations: 2.623 MB / 0.7838 GB, free: 11.62 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006796/1.336, allocations: 8.331 MB / 0.792 GB, free: 0.543 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.349, allocations: 11.95 MB / 0.8036 GB, free: 2.605 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/1.349, allocations: 63.94 kB / 0.8037 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01914/1.368, allocations: 10.63 MB / 0.8141 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/1.368, allocations: 95.98 kB / 0.8142 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002629/1.369, allocations: 208.1 kB / 0.8144 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/1.369, allocations: 264 kB / 0.8146 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007135/1.376, allocations: 2.119 MB / 0.8167 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002969/1.376, allocations: 397.5 kB / 0.8171 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006271/1.383, allocations: 454.4 kB / 0.8175 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.384, allocations: 0.5508 MB / 0.818 GB, free: 5.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1139): * Single equations (assignments): 1128 * Array equations: 11 * 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.006656/1.391, allocations: 3.626 MB / 0.8216 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.392, allocations: 0.572 MB / 0.8221 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/1.397, allocations: 2.799 MB / 0.8249 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/1.397, allocations: 31.98 kB / 0.8249 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.397, allocations: 0 / 0.8249 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/1.397, allocations: 7.969 kB / 0.8249 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03864/1.436, allocations: 26.58 MB / 0.8509 GB, free: 3.484 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-05/1.436, allocations: 52 kB / 0.8509 GB, free: 3.434 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.438, allocations: 0.5219 MB / 0.8514 GB, free: 2.957 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-05/1.438, allocations: 74.62 kB / 0.8515 GB, free: 2.887 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.438, allocations: 116 kB / 0.8516 GB, free: 2.773 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.39e-05/1.438, allocations: 101 kB / 0.8517 GB, free: 2.695 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.435e-05/1.438, allocations: 84.56 kB / 0.8518 GB, free: 2.637 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1944/1.633, allocations: 5.242 MB / 0.8569 GB, free: 253.3 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.634, allocations: 0.678 MB / 0.8576 GB, free: 253.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006504/1.635, allocations: 123.4 kB / 0.8577 GB, free: 253.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00217/1.637, allocations: 142 kB / 0.8578 GB, free: 253.2 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/1.637, allocations: 357.3 kB / 0.8582 GB, free: 253.2 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.637, allocations: 147.2 kB / 0.8583 GB, free: 253.2 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.005504/1.643, allocations: 4.186 MB / 0.8624 GB, free: 252.9 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.4e-07/1.643, allocations: 0 / 0.8624 GB, free: 252.9 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.006281/1.649, allocations: 1.49 MB / 0.8638 GB, free: 252.9 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.00464/1.654, allocations: 6.001 MB / 0.8697 GB, free: 248.9 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.007944/1.662, allocations: 6.093 MB / 0.8757 GB, free: 247 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.39e-05/1.662, allocations: 12.16 kB / 0.8757 GB, free: 247 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.664, allocations: 1.499 MB / 0.8771 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/1.67, allocations: 0.8944 MB / 0.878 GB, free: 246.2 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1213/1.791, allocations: 92.94 MB / 0.9688 GB, free: 169.2 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006627/1.798, allocations: 5.572 MB / 0.9742 GB, free: 165 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006132/1.804, allocations: 2.783 MB / 0.9769 GB, free: 163.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003931/1.808, allocations: 3.657 MB / 0.9805 GB, free: 159.8 MB / 0.6232 GB Notification: Performance of SimCode: time 8.71e-07/1.808, allocations: 0 / 0.9805 GB, free: 159.8 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.926, allocations: 104.9 MB / 1.083 GB, free: 57.62 MB / 0.6232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.926, allocations: 193.8 kB / 1.083 GB, free: 57.37 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.258/6.185, allocations: 0 / 1.083 GB, free: 57.37 MB / 0.6232 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches