Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 114.6 kB / 17.33 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 70.8 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 62.45 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3064/0.4334, allocations: 84.4 MB / 0.5508 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04192/0.4754, allocations: 16.15 MB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02009/0.4955, allocations: 381.7 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.5065, allocations: 5.791 MB / 0.5726 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00792/0.5145, allocations: 2.55 MB / 0.5751 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.5185, allocations: 1.498 MB / 0.5765 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.532, allocations: 7.808 MB / 0.5841 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.5456, allocations: 7.77 MB / 0.5917 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007533/0.5531, allocations: 3.053 MB / 0.5947 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007336/0.5605, allocations: 4.207 MB / 0.5988 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002754/0.5633, allocations: 0.5664 MB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004802/0.5681, allocations: 1.405 MB / 0.6007 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005769/0.5739, allocations: 3.522 MB / 0.6042 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008245/0.5822, allocations: 3.88 MB / 0.608 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.5981, allocations: 11.33 MB / 0.619 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.5981, allocations: 0 / 0.619 GB, free: 8.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5982, allocations: 0 / 0.619 GB, free: 8.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000605/0.5988, allocations: 0 / 0.619 GB, free: 8.148 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02763/0.6264, allocations: 8.501 MB / 0.6273 GB, free: 15.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.6265, allocations: 12.03 kB / 0.6274 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003979/0.6305, allocations: 1.166 MB / 0.6285 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.6418, allocations: 2.526 MB / 0.631 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.6529, allocations: 5.29 MB / 0.6361 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.6533, allocations: 430.5 kB / 0.6365 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.6554, allocations: 0.5425 MB / 0.6371 GB, free: 5.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/0.6917, allocations: 16.68 MB / 0.6534 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/0.692, allocations: 71.39 kB / 0.6534 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/0.6938, allocations: 263.8 kB / 0.6537 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004684/0.6985, allocations: 2.924 MB / 0.6565 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/0.7268, allocations: 12.78 MB / 0.669 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5331/1.26, allocations: 64.28 MB / 0.7318 GB, free: 153.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/1.276, allocations: 5.5 MB / 0.7372 GB, free: 153.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/1.28, allocations: 2.118 MB / 0.7392 GB, free: 153 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/1.295, allocations: 9.918 MB / 0.7489 GB, free: 148.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.295, allocations: 55.53 kB / 0.749 GB, free: 148.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 5.551e-06/1.295, allocations: 3.031 kB / 0.749 GB, free: 148.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03576/1.331, allocations: 14.06 MB / 0.7627 GB, free: 142.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.331, allocations: 151.7 kB / 0.7628 GB, free: 142.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007234/1.338, allocations: 6.32 MB / 0.769 GB, free: 139.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/1.339, allocations: 56.23 kB / 0.7691 GB, free: 139.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.341, allocations: 5.081 MB / 0.774 GB, free: 134.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/1.342, allocations: 0.8189 MB / 0.7748 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001774/1.343, allocations: 1.658 MB / 0.7764 GB, free: 133.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/1.343, allocations: 301.1 kB / 0.7767 GB, free: 133 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/1.346, allocations: 2.292 MB / 0.779 GB, free: 132 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/1.351, allocations: 7.636 MB / 0.7864 GB, free: 122.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/1.359, allocations: 10.82 MB / 0.797 GB, free: 108.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.359, allocations: 52 kB / 0.797 GB, free: 108.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0143/1.373, allocations: 9.565 MB / 0.8064 GB, free: 99.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.023e-05/1.373, allocations: 92.03 kB / 0.8065 GB, free: 99.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/1.373, allocations: 188 kB / 0.8067 GB, free: 99.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/1.374, allocations: 252 kB / 0.8069 GB, free: 98.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/1.379, allocations: 1.903 MB / 0.8088 GB, free: 96.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002242/1.379, allocations: 366.6 kB / 0.8091 GB, free: 96.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/1.385, allocations: 411.5 kB / 0.8095 GB, free: 96.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.387, allocations: 0.5109 MB / 0.81 GB, free: 95.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1027): * Single equations (assignments): 1016 * 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.005349/1.392, allocations: 3.292 MB / 0.8132 GB, free: 92.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.393, allocations: 0.5347 MB / 0.8137 GB, free: 91.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/1.394, allocations: 0.6205 MB / 0.8143 GB, free: 91.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/1.394, allocations: 24 kB / 0.8144 GB, free: 91.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/1.394, allocations: 0 / 0.8144 GB, free: 91.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/1.394, allocations: 11.95 kB / 0.8144 GB, free: 91.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.416, allocations: 16.45 MB / 0.8304 GB, free: 74.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/1.416, allocations: 40.22 kB / 0.8305 GB, free: 74.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.417, allocations: 387.2 kB / 0.8308 GB, free: 73.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-05/1.417, allocations: 51.94 kB / 0.8309 GB, free: 73.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1.417, allocations: 80 kB / 0.831 GB, free: 73.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.419e-05/1.417, allocations: 75.72 kB / 0.831 GB, free: 73.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-05/1.417, allocations: 63.69 kB / 0.8311 GB, free: 73.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/1.421, allocations: 3.949 MB / 0.835 GB, free: 68.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009871/1.422, allocations: 0.6033 MB / 0.8356 GB, free: 68.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004969/1.422, allocations: 95.62 kB / 0.8356 GB, free: 68.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.424, allocations: 103.9 kB / 0.8357 GB, free: 68.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.424, allocations: 266.7 kB / 0.836 GB, free: 67.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.424, allocations: 104 kB / 0.8361 GB, free: 67.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004991/1.429, allocations: 3.952 MB / 0.84 GB, free: 63.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.11e-07/1.429, allocations: 0 / 0.84 GB, free: 63.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006587/1.436, allocations: 1.309 MB / 0.8412 GB, free: 62.49 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.003669/1.439, allocations: 4.639 MB / 0.8458 GB, free: 57.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007072/1.447, allocations: 5.458 MB / 0.8511 GB, free: 51.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.464e-05/1.447, allocations: 4 kB / 0.8511 GB, free: 51.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.448, allocations: 1.133 MB / 0.8522 GB, free: 50.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005241/1.453, allocations: 0.8531 MB / 0.853 GB, free: 49.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/1.575, allocations: 81.44 MB / 0.9326 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2021/1.778, allocations: 5.058 MB / 0.9375 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007184/1.785, allocations: 2.51 MB / 0.94 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00432/1.789, allocations: 3.279 MB / 0.9432 GB, free: 226 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.789, allocations: 0 / 0.9432 GB, free: 226 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.913, allocations: 96.66 MB / 1.038 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.913, allocations: 197.6 kB / 1.038 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.865/6.778, allocations: 0 / 1.038 GB, free: 152.1 MB / 0.5919 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches