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.001123/0.001123, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.00117/0.00117, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2094/0.2094, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2961, allocations: 60.83 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01631/0.3125, allocations: 15.39 MB / 0.5334 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3247, allocations: 5.108 MB / 0.5384 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.3282, allocations: 124.4 kB / 0.5386 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01217/0.3404, allocations: 6.018 MB / 0.5444 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007963/0.3484, allocations: 2.861 MB / 0.5472 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.3522, allocations: 1.583 MB / 0.5488 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.363, allocations: 7.729 MB / 0.5563 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008777/0.3718, allocations: 7.47 MB / 0.5636 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005012/0.3768, allocations: 3.003 MB / 0.5665 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005566/0.3824, allocations: 3.875 MB / 0.5703 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002191/0.3847, allocations: 0.5859 MB / 0.5709 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.3888, allocations: 1.44 MB / 0.5723 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004296/0.3932, allocations: 3.663 MB / 0.5759 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005553/0.3988, allocations: 4.004 MB / 0.5798 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.4124, allocations: 12.12 MB / 0.5916 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4124, allocations: 0 / 0.5916 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4124, allocations: 0 / 0.5916 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003655/0.4128, allocations: 7.938 kB / 0.5916 GB, free: 0.7656 MB / 446.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.01922/0.432, allocations: 8.781 MB / 0.6002 GB, free: 7.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4321, allocations: 8.031 kB / 0.6002 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002803/0.4349, allocations: 1.215 MB / 0.6014 GB, free: 6.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.4461, allocations: 2.623 MB / 0.604 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.4582, allocations: 5.921 MB / 0.6098 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/0.4587, allocations: 438.8 kB / 0.6102 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/0.4606, allocations: 0.5582 MB / 0.6107 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.4921, allocations: 17.44 MB / 0.6277 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/0.4923, allocations: 71.41 kB / 0.6278 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009195/0.4932, allocations: 267.8 kB / 0.6281 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004801/0.4981, allocations: 3.174 MB / 0.6312 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02732/0.5254, allocations: 13.41 MB / 0.6443 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08628/0.6117, allocations: 65.75 MB / 0.7085 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.6277, allocations: 5.503 MB / 0.7138 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.415/1.043, allocations: 2.11 MB / 0.7159 GB, free: 165.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01641/1.059, allocations: 9.995 MB / 0.7257 GB, free: 161 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.059, allocations: 57.03 kB / 0.7257 GB, free: 161 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 4.519e-06/1.059, allocations: 1.5 kB / 0.7257 GB, free: 161 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03737/1.097, allocations: 14.28 MB / 0.7397 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/1.097, allocations: 163.9 kB / 0.7398 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007389/1.104, allocations: 6.41 MB / 0.7461 GB, free: 153 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002794/1.104, allocations: 60.81 kB / 0.7461 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00234/1.107, allocations: 5.242 MB / 0.7513 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/1.107, allocations: 0.8236 MB / 0.7521 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/1.109, allocations: 1.68 MB / 0.7537 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/1.109, allocations: 301.1 kB / 0.754 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/1.112, allocations: 2.313 MB / 0.7562 GB, free: 145.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/1.117, allocations: 7.727 MB / 0.7638 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/1.125, allocations: 10.94 MB / 0.7745 GB, free: 121.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.125, allocations: 52 kB / 0.7745 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01385/1.139, allocations: 9.668 MB / 0.784 GB, free: 112 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/1.139, allocations: 88 kB / 0.7841 GB, free: 112 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.139, allocations: 192 kB / 0.7842 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/1.139, allocations: 252 kB / 0.7845 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005345/1.145, allocations: 1.926 MB / 0.7864 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001892/1.145, allocations: 374.5 kB / 0.7867 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005347/1.15, allocations: 418.7 kB / 0.7871 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008702/1.151, allocations: 0.5234 MB / 0.7876 GB, free: 108.3 MB / 0.5607 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.004329/1.156, allocations: 3.405 MB / 0.7909 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008407/1.156, allocations: 0.5321 MB / 0.7915 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.157, allocations: 0.629 MB / 0.7921 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.157, allocations: 31.88 kB / 0.7921 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.157, allocations: 0 / 0.7921 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.157, allocations: 7.969 kB / 0.7921 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.179, allocations: 16.74 MB / 0.8085 GB, free: 86.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-05/1.179, allocations: 36 kB / 0.8085 GB, free: 86.35 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.18, allocations: 387.2 kB / 0.8089 GB, free: 85.97 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.138e-05/1.18, allocations: 48 kB / 0.8089 GB, free: 85.92 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.18, allocations: 87.92 kB / 0.809 GB, free: 85.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.751e-05/1.18, allocations: 75.72 kB / 0.8091 GB, free: 85.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.43e-05/1.18, allocations: 59.75 kB / 0.8091 GB, free: 85.71 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/1.184, allocations: 3.949 MB / 0.813 GB, free: 81.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.186, allocations: 0.6149 MB / 0.8136 GB, free: 80.56 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007203/1.186, allocations: 91.97 kB / 0.8137 GB, free: 80.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.188, allocations: 103.9 kB / 0.8138 GB, free: 80.37 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/1.189, allocations: 254.8 kB / 0.814 GB, free: 80.12 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.189, allocations: 111.3 kB / 0.8141 GB, free: 80.02 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006016/1.195, allocations: 3.997 MB / 0.818 GB, free: 76.03 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.51e-07/1.195, allocations: 4 kB / 0.818 GB, free: 76.03 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006617/1.201, allocations: 1.366 MB / 0.8194 GB, free: 74.66 MB / 0.5607 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.004057/1.206, allocations: 4.64 MB / 0.8239 GB, free: 69.48 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006649/1.212, allocations: 5.436 MB / 0.8292 GB, free: 64.11 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-05/1.212, allocations: 7.984 kB / 0.8292 GB, free: 64.11 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.214, allocations: 1.13 MB / 0.8303 GB, free: 62.98 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005118/1.219, allocations: 0.883 MB / 0.8312 GB, free: 62.11 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07633/1.295, allocations: 66 MB / 0.8956 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007184/1.302, allocations: 5.23 MB / 0.9007 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006059/1.308, allocations: 2.538 MB / 0.9032 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005075/1.313, allocations: 3.412 MB / 0.9065 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/1.314, allocations: 0 / 0.9065 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3696/1.683, allocations: 94.58 MB / 0.9989 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.04/32.73, allocations: 13.89 kB / 0.9989 GB, free: 179.1 MB / 0.6232 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