Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_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.00142/0.00142, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001425/0.001425, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 70.19 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1167, allocations: 60.81 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3107/0.4275, allocations: 99.38 MB / 0.5547 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05023/0.4778, allocations: 18.93 MB / 0.5732 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02247/0.5003, allocations: 442.9 kB / 0.5736 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.5128, allocations: 6.049 MB / 0.5795 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009147/0.522, allocations: 2.702 MB / 0.5821 GB, free: 300 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.5259, allocations: 1.498 MB / 0.5836 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01309/0.539, allocations: 11.21 MB / 0.5945 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.5501, allocations: 7.453 MB / 0.6018 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005353/0.5555, allocations: 2.772 MB / 0.6045 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006331/0.5619, allocations: 4.175 MB / 0.6086 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002224/0.5641, allocations: 464 kB / 0.609 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.5683, allocations: 1.377 MB / 0.6104 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00516/0.5735, allocations: 3.518 MB / 0.6138 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007492/0.581, allocations: 3.879 MB / 0.6176 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.5962, allocations: 11.61 MB / 0.629 GB, free: 168 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5962, allocations: 0 / 0.629 GB, free: 168 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5963, allocations: 0 / 0.629 GB, free: 168 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005189/0.5968, allocations: 0 / 0.629 GB, free: 168 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02391/0.6207, allocations: 8.781 MB / 0.6375 GB, free: 7.293 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.6208, allocations: 8.031 kB / 0.6375 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004282/0.6251, allocations: 1.219 MB / 0.6387 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.6364, allocations: 2.623 MB / 0.6413 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.6485, allocations: 5.801 MB / 0.647 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/0.649, allocations: 438.8 kB / 0.6474 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002176/0.6512, allocations: 0.5505 MB / 0.6479 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03813/0.6893, allocations: 17.44 MB / 0.6649 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003711/0.6897, allocations: 83.27 kB / 0.665 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002313/0.6921, allocations: 263.8 kB / 0.6653 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005667/0.6977, allocations: 3.174 MB / 0.6684 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03172/0.7295, allocations: 13.4 MB / 0.6815 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2854/1.015, allocations: 66.13 MB / 0.746 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/1.03, allocations: 5.501 MB / 0.7514 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002741/1.033, allocations: 2.115 MB / 0.7535 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/1.048, allocations: 9.994 MB / 0.7632 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/1.048, allocations: 52.84 kB / 0.7633 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.949e-06/1.048, allocations: 0 / 0.7633 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03411/1.082, allocations: 14.29 MB / 0.7772 GB, free: 124 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.082, allocations: 153.8 kB / 0.7774 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006821/1.089, allocations: 6.407 MB / 0.7836 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002635/1.089, allocations: 53.7 kB / 0.7837 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/1.091, allocations: 5.25 MB / 0.7888 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/1.092, allocations: 0.8233 MB / 0.7896 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/1.093, allocations: 1.68 MB / 0.7913 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/1.093, allocations: 307.6 kB / 0.7916 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/1.096, allocations: 2.312 MB / 0.7938 GB, free: 107 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.101, allocations: 7.728 MB / 0.8014 GB, free: 96.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/1.109, allocations: 10.93 MB / 0.812 GB, free: 82.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.421e-05/1.109, allocations: 62.44 kB / 0.8121 GB, free: 82.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01289/1.122, allocations: 9.669 MB / 0.8215 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/1.122, allocations: 91.98 kB / 0.8216 GB, free: 73.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.122, allocations: 192 kB / 0.8218 GB, free: 72.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/1.123, allocations: 252 kB / 0.822 GB, free: 72.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/1.127, allocations: 1.922 MB / 0.8239 GB, free: 70.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001846/1.127, allocations: 370.6 kB / 0.8243 GB, free: 70.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/1.132, allocations: 415.7 kB / 0.8247 GB, free: 69.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/1.133, allocations: 0.5189 MB / 0.8252 GB, free: 69.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.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 (1039): * Single equations (assignments): 1028 * 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.004053/1.137, allocations: 3.398 MB / 0.8285 GB, free: 66.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007191/1.138, allocations: 0.5398 MB / 0.829 GB, free: 65.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/1.139, allocations: 0.6329 MB / 0.8296 GB, free: 64.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.139, allocations: 27.44 kB / 0.8297 GB, free: 64.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.139, allocations: 0 / 0.8297 GB, free: 64.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.139, allocations: 7.969 kB / 0.8297 GB, free: 64.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/1.157, allocations: 16.74 MB / 0.846 GB, free: 47.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.158, allocations: 39.19 kB / 0.8461 GB, free: 47.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.159, allocations: 379.3 kB / 0.8464 GB, free: 47.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.113e-05/1.159, allocations: 55.98 kB / 0.8465 GB, free: 47.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.159, allocations: 84 kB / 0.8466 GB, free: 47.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.28e-05/1.159, allocations: 75.72 kB / 0.8466 GB, free: 46.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-05/1.159, allocations: 59.75 kB / 0.8467 GB, free: 46.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/1.162, allocations: 3.951 MB / 0.8505 GB, free: 42.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/1.163, allocations: 0.6149 MB / 0.8511 GB, free: 41.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/1.164, allocations: 97.83 kB / 0.8512 GB, free: 41.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.165, allocations: 99.94 kB / 0.8513 GB, free: 41.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.165, allocations: 262.7 kB / 0.8516 GB, free: 41.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.166, allocations: 111.9 kB / 0.8517 GB, free: 41.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004876/1.17, allocations: 4.001 MB / 0.8556 GB, free: 37.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/1.17, allocations: 0 / 0.8556 GB, free: 37.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006329/1.177, allocations: 1.364 MB / 0.8569 GB, free: 35.82 MB / 0.5294 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.003504/1.18, allocations: 4.654 MB / 0.8615 GB, free: 30.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007014/1.187, allocations: 5.32 MB / 0.8667 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/1.187, allocations: 8 kB / 0.8667 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.189, allocations: 1.13 MB / 0.8678 GB, free: 24.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/1.193, allocations: 0.8611 MB / 0.8686 GB, free: 23.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.309/1.502, allocations: 83.05 MB / 0.9497 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/1.509, allocations: 5.23 MB / 0.9548 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0061/1.515, allocations: 2.543 MB / 0.9573 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003392/1.518, allocations: 3.396 MB / 0.9606 GB, free: 177 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.518, allocations: 5.859 kB / 0.9606 GB, free: 177 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.632, allocations: 96.96 MB / 1.055 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.633, allocations: 194.2 kB / 1.056 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.91/6.543, allocations: 8 kB / 1.056 GB, free: 87.53 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches