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.001496/0.001496, allocations: 106 kB / 15.98 MB, free: 6.34 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.001697/0.001697, allocations: 194.2 kB / 16.91 MB, free: 6.184 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.548/1.548, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.3428/0.3428, allocations: 43.49 MB / 313.6 MB, free: 8.539 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.001585/0.001585, allocations: 67.89 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1303, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3143/0.4447, allocations: 101 MB / 0.5284 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05297/0.4977, allocations: 19.04 MB / 0.547 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02709/0.5249, allocations: 448.4 kB / 0.5474 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.5362, allocations: 5.875 MB / 0.5532 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009747/0.546, allocations: 2.863 MB / 0.556 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.5503, allocations: 1.509 MB / 0.5574 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.563, allocations: 8.226 MB / 0.5655 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.5767, allocations: 8.032 MB / 0.5733 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007056/0.5838, allocations: 3.299 MB / 0.5765 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007485/0.5913, allocations: 4.666 MB / 0.5811 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00292/0.5943, allocations: 0.6407 MB / 0.5817 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.5993, allocations: 1.475 MB / 0.5831 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006437/0.6058, allocations: 3.908 MB / 0.587 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008808/0.6146, allocations: 4.354 MB / 0.5912 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01887/0.6336, allocations: 12.76 MB / 0.6037 GB, free: 9.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.6336, allocations: 4 kB / 0.6037 GB, free: 9.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6336, allocations: 7.938 kB / 0.6037 GB, free: 9.391 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005781/0.6342, allocations: 0 / 0.6037 GB, free: 9.391 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.02517/0.6594, allocations: 9.326 MB / 0.6128 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.6595, allocations: 11.89 kB / 0.6128 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003981/0.6635, allocations: 1.314 MB / 0.6141 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.676, allocations: 2.708 MB / 0.6167 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.6881, allocations: 6.543 MB / 0.6231 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004492/0.6886, allocations: 467.5 kB / 0.6236 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/0.6909, allocations: 0.5933 MB / 0.6241 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5311/1.222, allocations: 18.73 MB / 0.6424 GB, free: 51.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004724/1.223, allocations: 72.92 kB / 0.6425 GB, free: 51.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/1.225, allocations: 283.3 kB / 0.6428 GB, free: 51.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007042/1.232, allocations: 3.452 MB / 0.6462 GB, free: 51.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03682/1.269, allocations: 14.6 MB / 0.6604 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08465/1.353, allocations: 70.62 MB / 0.7294 GB, free: 4.074 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/1.371, allocations: 6.136 MB / 0.7354 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003809/1.374, allocations: 2.451 MB / 0.7378 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/1.393, allocations: 10.84 MB / 0.7483 GB, free: 156 kB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/1.393, allocations: 56.56 kB / 0.7484 GB, free: 92 kB / 0.5138 GB Notification: Performance of pre-optimization done (n=238): time 5.31e-06/1.393, allocations: 1.531 kB / 0.7484 GB, free: 92 kB / 0.5138 GB Notification: Performance of matching and sorting (n=262): time 0.04835/1.441, allocations: 16.01 MB / 0.764 GB, free: 156 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.441, allocations: 154.5 kB / 0.7642 GB, free: 15.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009552/1.451, allocations: 6.698 MB / 0.7707 GB, free: 9.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000503/1.451, allocations: 64.83 kB / 0.7708 GB, free: 9.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004033/1.456, allocations: 5.54 MB / 0.7762 GB, free: 3.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.457, allocations: 1.017 MB / 0.7772 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002416/1.459, allocations: 1.816 MB / 0.779 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.459, allocations: 301.1 kB / 0.7793 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004907/1.464, allocations: 2.628 MB / 0.7818 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008524/1.473, allocations: 8.332 MB / 0.79 GB, free: 2.871 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/1.486, allocations: 11.95 MB / 0.8016 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/1.486, allocations: 59.94 kB / 0.8017 GB, free: 4.879 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02051/1.507, allocations: 10.64 MB / 0.8121 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.507, allocations: 98.23 kB / 0.8122 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/1.507, allocations: 200 kB / 0.8124 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/1.507, allocations: 268 kB / 0.8126 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006972/1.514, allocations: 2.113 MB / 0.8147 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003138/1.515, allocations: 394.8 kB / 0.815 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/1.523, allocations: 455.5 kB / 0.8155 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.525, allocations: 0.5534 MB / 0.816 GB, free: 7.672 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.006291/1.531, allocations: 3.626 MB / 0.8196 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.532, allocations: 0.5706 MB / 0.8201 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/1.537, allocations: 2.798 MB / 0.8229 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/1.537, allocations: 28 kB / 0.8229 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/1.538, allocations: 7.984 kB / 0.8229 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.538, allocations: 9.391 kB / 0.8229 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03928/1.577, allocations: 26.58 MB / 0.8489 GB, free: 5.809 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.817e-05/1.577, allocations: 52 kB / 0.8489 GB, free: 5.758 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.579, allocations: 0.5175 MB / 0.8494 GB, free: 5.285 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.506e-05/1.579, allocations: 72.69 kB / 0.8495 GB, free: 5.215 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/1.579, allocations: 116 kB / 0.8496 GB, free: 5.102 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-05/1.579, allocations: 111.7 kB / 0.8497 GB, free: 5.016 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.66e-05/1.579, allocations: 84.19 kB / 0.8498 GB, free: 4.957 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2411/1.82, allocations: 5.243 MB / 0.8549 GB, free: 256.6 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.822, allocations: 0.6755 MB / 0.8556 GB, free: 256.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009188/1.823, allocations: 119.9 kB / 0.8557 GB, free: 256.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.825, allocations: 139 kB / 0.8558 GB, free: 256.5 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/1.826, allocations: 364.9 kB / 0.8561 GB, free: 256.4 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.826, allocations: 148.7 kB / 0.8563 GB, free: 256.4 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006346/1.832, allocations: 4.181 MB / 0.8604 GB, free: 256.2 MB / 0.6232 GB Notification: Performance of sort global known variables: time 5.71e-07/1.832, allocations: 1.688 kB / 0.8604 GB, free: 256.2 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.008259/1.841, allocations: 1.496 MB / 0.8618 GB, free: 256.2 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.006136/1.847, allocations: 5.994 MB / 0.8677 GB, free: 252.6 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.009355/1.856, allocations: 6.304 MB / 0.8738 GB, free: 250.7 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 6.247e-05/1.856, allocations: 6.531 kB / 0.8739 GB, free: 250.7 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/1.858, allocations: 1.5 MB / 0.8753 GB, free: 250.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008776/1.867, allocations: 0.9299 MB / 0.8762 GB, free: 249.8 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/1.998, allocations: 92.95 MB / 0.967 GB, free: 173.7 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008294/2.007, allocations: 5.576 MB / 0.9724 GB, free: 169.5 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007262/2.014, allocations: 2.782 MB / 0.9752 GB, free: 167.7 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004579/2.018, allocations: 3.657 MB / 0.9787 GB, free: 164.3 MB / 0.6232 GB Notification: Performance of SimCode: time 1.233e-06/2.018, allocations: 0 / 0.9787 GB, free: 164.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/2.155, allocations: 106.7 MB / 1.083 GB, free: 60.35 MB / 0.6232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/2.155, allocations: 193.8 kB / 1.083 GB, free: 60.09 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.448/7.604, allocations: 0 / 1.083 GB, free: 60.09 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