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.001193/0.001193, allocations: 100.2 kB / 17.63 MB, free: 5.52 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.001146/0.001146, allocations: 191.9 kB / 18.56 MB, free: 4.598 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.351/1.351, allocations: 222.9 MB / 242.2 MB, free: 15.28 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.206/0.206, allocations: 44.18 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.22 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 60.82 MB / 469.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01603/0.1232, allocations: 15.39 MB / 484.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1351, allocations: 5.104 MB / 489.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003815/0.139, allocations: 123.6 kB / 490 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.1497, allocations: 6.02 MB / 496 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00801/0.1578, allocations: 2.856 MB / 498.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.1616, allocations: 1.575 MB / 0.4887 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.1721, allocations: 7.739 MB / 0.4962 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.224/0.3961, allocations: 7.463 MB / 0.5035 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.4026, allocations: 3.042 MB / 0.5065 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007982/0.4106, allocations: 3.859 MB / 0.5103 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003263/0.4139, allocations: 0.5856 MB / 0.5108 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005586/0.4195, allocations: 1.428 MB / 0.5122 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006732/0.4263, allocations: 3.595 MB / 0.5157 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009412/0.4357, allocations: 4 MB / 0.5197 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.4532, allocations: 11.75 MB / 0.5311 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4533, allocations: 3.156 kB / 0.5311 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4533, allocations: 0 / 0.5311 GB, free: 9.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004672/0.4538, allocations: 0 / 0.5311 GB, free: 9.855 MB / 382.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.01963/0.4734, allocations: 8.78 MB / 0.5397 GB, free: 4.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4735, allocations: 10.88 kB / 0.5397 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002273/0.4757, allocations: 1.215 MB / 0.5409 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009971/0.4857, allocations: 2.625 MB / 0.5435 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.4965, allocations: 5.804 MB / 0.5491 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.4968, allocations: 442.2 kB / 0.5496 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.4984, allocations: 0.5633 MB / 0.5501 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/0.5301, allocations: 17.43 MB / 0.5671 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.5303, allocations: 72.89 kB / 0.5672 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007121/0.5311, allocations: 269.3 kB / 0.5675 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004562/0.5356, allocations: 3.172 MB / 0.5706 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/0.5638, allocations: 13.41 MB / 0.5836 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08429/0.6481, allocations: 66.13 MB / 0.6482 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.6639, allocations: 5.496 MB / 0.6536 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/0.667, allocations: 2.115 MB / 0.6557 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01733/0.6844, allocations: 9.992 MB / 0.6654 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.6844, allocations: 59.52 kB / 0.6655 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.671e-06/0.6845, allocations: 0 / 0.6655 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04165/0.7261, allocations: 14.28 MB / 0.6794 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.7262, allocations: 149.8 kB / 0.6796 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/0.7386, allocations: 6.408 MB / 0.6858 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004296/0.7391, allocations: 57.7 kB / 0.6859 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004822/0.7439, allocations: 5.271 MB / 0.691 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.7451, allocations: 0.8244 MB / 0.6918 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00327/0.7484, allocations: 1.677 MB / 0.6935 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7485, allocations: 309.1 kB / 0.6938 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/0.7527, allocations: 2.32 MB / 0.696 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2549/1.008, allocations: 7.724 MB / 0.7036 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/1.024, allocations: 10.94 MB / 0.7142 GB, free: 164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000545/1.025, allocations: 62.56 kB / 0.7143 GB, free: 164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.02012/1.045, allocations: 9.658 MB / 0.7237 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/1.045, allocations: 88.84 kB / 0.7238 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003496/1.046, allocations: 192.6 kB / 0.724 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/1.046, allocations: 253.6 kB / 0.7242 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005669/1.052, allocations: 1.924 MB / 0.7261 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002552/1.052, allocations: 375.7 kB / 0.7265 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/1.058, allocations: 412.2 kB / 0.7269 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.059, allocations: 0.5218 MB / 0.7274 GB, free: 160.1 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.005828/1.065, allocations: 3.4 MB / 0.7307 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.066, allocations: 0.5323 MB / 0.7312 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/1.068, allocations: 0.6363 MB / 0.7318 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/1.068, allocations: 23 kB / 0.7319 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.068, allocations: 0.9375 kB / 0.7319 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/1.068, allocations: 15.98 kB / 0.7319 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/1.094, allocations: 16.72 MB / 0.7482 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001036/1.094, allocations: 36.94 kB / 0.7483 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.095, allocations: 388 kB / 0.7486 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-05/1.095, allocations: 51.94 kB / 0.7487 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/1.096, allocations: 89.31 kB / 0.7488 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.972e-05/1.096, allocations: 75.39 kB / 0.7488 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.54e-05/1.096, allocations: 59.75 kB / 0.7489 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/1.1, allocations: 3.95 MB / 0.7527 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.102, allocations: 0.615 MB / 0.7533 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.103, allocations: 96.44 kB / 0.7534 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/1.105, allocations: 108 kB / 0.7535 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/1.106, allocations: 262.9 kB / 0.7538 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.106, allocations: 108.9 kB / 0.7539 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005443/1.111, allocations: 3.995 MB / 0.7578 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.41e-07/1.111, allocations: 0 / 0.7578 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007845/1.119, allocations: 1.362 MB / 0.7591 GB, free: 140.8 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.004449/1.124, allocations: 4.652 MB / 0.7637 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007403/1.131, allocations: 5.499 MB / 0.769 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-05/1.131, allocations: 12.12 kB / 0.7691 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.132, allocations: 1.123 MB / 0.7701 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/1.137, allocations: 0.8918 MB / 0.771 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08624/1.223, allocations: 79.7 MB / 0.8489 GB, free: 37.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005862/1.229, allocations: 5.235 MB / 0.854 GB, free: 32.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005965/1.235, allocations: 2.545 MB / 0.8564 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003593/1.239, allocations: 3.401 MB / 0.8598 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.239, allocations: 0 / 0.8598 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3714/1.61, allocations: 98.74 MB / 0.9562 GB, free: 158.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.71, allocations: 8.906 kB / 0.9562 GB, free: 158.8 MB / 0.545 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