Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",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.005402/0.005402, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001307/0.001307, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.335/1.335, allocations: 205.1 MB / 222.6 MB, free: 4.715 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.2928/0.2928, allocations: 43.49 MB / 313.5 MB, free: 8.547 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.001538/0.001538, allocations: 71.88 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.266/0.3852, allocations: 101.9 MB / 0.5291 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04207/0.4273, allocations: 19.26 MB / 0.5479 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02443/0.4518, allocations: 453.2 kB / 0.5484 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.4629, allocations: 6.112 MB / 0.5543 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007738/0.4707, allocations: 3.013 MB / 0.5573 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.474, allocations: 1.493 MB / 0.5587 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.4868, allocations: 12.19 MB / 0.5706 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.497, allocations: 7.708 MB / 0.5782 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.5021, allocations: 2.971 MB / 0.5811 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.5079, allocations: 4.623 MB / 0.5856 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001715/0.5097, allocations: 0.4922 MB / 0.5861 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.5131, allocations: 1.389 MB / 0.5874 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004177/0.5173, allocations: 3.861 MB / 0.5912 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006019/0.5233, allocations: 4.322 MB / 0.5954 GB, free: 1.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5348, allocations: 13.03 MB / 0.6081 GB, free: 4.727 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5349, allocations: 0 / 0.6081 GB, free: 4.727 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5349, allocations: 4 kB / 0.6081 GB, free: 4.723 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003108/0.5352, allocations: 0 / 0.6081 GB, free: 4.723 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01603/0.5512, allocations: 9.609 MB / 0.6175 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5513, allocations: 12.03 kB / 0.6175 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001669/0.553, allocations: 1.365 MB / 0.6189 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.5631, allocations: 2.758 MB / 0.6216 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009758/0.5729, allocations: 6.637 MB / 0.628 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3126/0.8855, allocations: 484.8 kB / 0.6285 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.8877, allocations: 0.6063 MB / 0.6291 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/0.9141, allocations: 19.49 MB / 0.6481 GB, free: 135.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.9143, allocations: 80.48 kB / 0.6482 GB, free: 135.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006374/0.915, allocations: 298.5 kB / 0.6485 GB, free: 135.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004293/0.9193, allocations: 3.642 MB / 0.6521 GB, free: 134.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0286/0.9479, allocations: 15.17 MB / 0.6669 GB, free: 129.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0785/1.026, allocations: 73.18 MB / 0.7383 GB, free: 64.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/1.041, allocations: 6.099 MB / 0.7443 GB, free: 57.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/1.044, allocations: 2.546 MB / 0.7468 GB, free: 55.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/1.059, allocations: 11.17 MB / 0.7577 GB, free: 43.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.059, allocations: 60.56 kB / 0.7577 GB, free: 43.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.619e-06/1.059, allocations: 0 / 0.7577 GB, free: 43.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.03893/1.098, allocations: 16.49 MB / 0.7738 GB, free: 27.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.098, allocations: 154.5 kB / 0.774 GB, free: 26.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008808/1.107, allocations: 6.822 MB / 0.7807 GB, free: 20.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/1.108, allocations: 73.69 kB / 0.7807 GB, free: 19.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.11, allocations: 5.751 MB / 0.7863 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/1.111, allocations: 1.057 MB / 0.7874 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/1.112, allocations: 1.872 MB / 0.7892 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/1.112, allocations: 301.1 kB / 0.7895 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/1.115, allocations: 2.739 MB / 0.7922 GB, free: 8.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/1.121, allocations: 8.626 MB / 0.8006 GB, free: 12.57 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.133, allocations: 12.38 MB / 0.8127 GB, free: 13.27 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.133, allocations: 56 kB / 0.8127 GB, free: 13.22 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.01643/1.15, allocations: 11.05 MB / 0.8235 GB, free: 2.16 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.15, allocations: 93.25 kB / 0.8236 GB, free: 2.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002752/1.15, allocations: 212 kB / 0.8238 GB, free: 1.863 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/1.15, allocations: 272 kB / 0.8241 GB, free: 1.598 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1822/1.333, allocations: 2.183 MB / 0.8262 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003165/1.333, allocations: 413.2 kB / 0.8266 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006399/1.339, allocations: 456.3 kB / 0.827 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000836/1.34, allocations: 0.5728 MB / 0.8276 GB, free: 147.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * 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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1179): * Single equations (assignments): 1168 * 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.004875/1.345, allocations: 3.76 MB / 0.8313 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007898/1.346, allocations: 0.5902 MB / 0.8318 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/1.35, allocations: 2.993 MB / 0.8348 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.35, allocations: 29.59 kB / 0.8348 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.35, allocations: 0 / 0.8348 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.35, allocations: 17.48 kB / 0.8348 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.378, allocations: 25.15 MB / 0.8594 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-05/1.378, allocations: 62.41 kB / 0.8594 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.38, allocations: 0.6112 MB / 0.86 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.928e-05/1.38, allocations: 85.47 kB / 0.8601 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/1.38, allocations: 137.2 kB / 0.8602 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.128e-05/1.38, allocations: 124.3 kB / 0.8604 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.591e-05/1.38, allocations: 103.9 kB / 0.8605 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/1.386, allocations: 5.882 MB / 0.8662 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.387, allocations: 0.711 MB / 0.8669 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/1.387, allocations: 151.1 kB / 0.867 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/1.39, allocations: 152.4 kB / 0.8672 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004241/1.39, allocations: 427.2 kB / 0.8676 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.39, allocations: 174.5 kB / 0.8678 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007231/1.397, allocations: 4.256 MB / 0.8719 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9.01e-07/1.397, allocations: 0 / 0.8719 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008864/1.406, allocations: 1.55 MB / 0.8734 GB, free: 131.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.006902/1.413, allocations: 6.675 MB / 0.8799 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009241/1.422, allocations: 6.393 MB / 0.8862 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.805e-05/1.423, allocations: 9.625 kB / 0.8862 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/1.425, allocations: 1.651 MB / 0.8878 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006636/1.431, allocations: 0.9517 MB / 0.8887 GB, free: 122.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/1.539, allocations: 97.38 MB / 0.9838 GB, free: 18.91 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007412/1.546, allocations: 5.804 MB / 0.9895 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006804/1.553, allocations: 2.881 MB / 0.9923 GB, free: 10.19 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00346/1.556, allocations: 3.819 MB / 0.996 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of SimCode: time 7.71e-07/1.556, allocations: 0 / 0.996 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.901, allocations: 109.3 MB / 1.103 GB, free: 147.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.901, allocations: 188.6 kB / 1.103 GB, free: 147.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.45/6.351, allocations: 0 / 1.103 GB, free: 147.7 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches