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.001296/0.001297, allocations: 112.8 kB / 17.78 MB, free: 5.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.001238/0.001238, allocations: 184.1 kB / 18.7 MB, free: 4.359 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.355/1.355, 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.1904/0.1904, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 63.89 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2901, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01433/0.3044, allocations: 15.39 MB / 0.5335 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.3149, allocations: 5.108 MB / 0.5384 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.3177, allocations: 123.5 kB / 0.5386 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.3282, allocations: 6.011 MB / 0.5444 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.3355, allocations: 2.939 MB / 0.5473 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.3388, allocations: 1.585 MB / 0.5488 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009557/0.3484, allocations: 7.74 MB / 0.5564 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008121/0.3566, allocations: 7.458 MB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.3612, allocations: 3.007 MB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005529/0.3668, allocations: 3.875 MB / 0.5704 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.3687, allocations: 0.5859 MB / 0.571 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.3723, allocations: 1.444 MB / 0.5724 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004461/0.3768, allocations: 3.659 MB / 0.576 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005814/0.3827, allocations: 3.996 MB / 0.5799 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.3951, allocations: 12.13 MB / 0.5917 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3952, allocations: 0 / 0.5917 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3952, allocations: 0 / 0.5917 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003245/0.3955, allocations: 4 kB / 0.5917 GB, free: 0.7383 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.01744/0.4129, allocations: 8.785 MB / 0.6003 GB, free: 7.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.413, allocations: 8.031 kB / 0.6003 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002452/0.4155, allocations: 1.223 MB / 0.6015 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.4258, allocations: 2.619 MB / 0.6041 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.4364, allocations: 5.921 MB / 0.6098 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004301/0.4369, allocations: 442.8 kB / 0.6103 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.4388, allocations: 0.5504 MB / 0.6108 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02823/0.467, allocations: 17.44 MB / 0.6278 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.4672, allocations: 71.39 kB / 0.6279 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009058/0.4681, allocations: 267.8 kB / 0.6282 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004273/0.4724, allocations: 3.174 MB / 0.6313 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/0.4982, allocations: 13.41 MB / 0.6444 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07612/0.5743, allocations: 65.75 MB / 0.7086 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.5895, allocations: 5.499 MB / 0.7139 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4003/0.9899, allocations: 2.115 MB / 0.716 GB, free: 166.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01537/1.005, allocations: 9.988 MB / 0.7257 GB, free: 161.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.005, allocations: 51.88 kB / 0.7258 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.3e-06/1.005, allocations: 1.062 kB / 0.7258 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03455/1.04, allocations: 14.28 MB / 0.7397 GB, free: 155.5 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.04, allocations: 156.2 kB / 0.7399 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008289/1.048, allocations: 6.413 MB / 0.7462 GB, free: 153.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002874/1.049, allocations: 61.16 kB / 0.7462 GB, free: 153.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003052/1.052, allocations: 5.244 MB / 0.7513 GB, free: 148.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009696/1.053, allocations: 0.8198 MB / 0.7521 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/1.055, allocations: 1.686 MB / 0.7538 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/1.055, allocations: 302.1 kB / 0.7541 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/1.059, allocations: 2.316 MB / 0.7563 GB, free: 145.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005476/1.064, allocations: 7.728 MB / 0.7639 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008368/1.073, allocations: 10.94 MB / 0.7746 GB, free: 121.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.073, allocations: 56.88 kB / 0.7746 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01341/1.086, allocations: 9.657 MB / 0.7841 GB, free: 112.1 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.086, allocations: 84 kB / 0.7841 GB, free: 112 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.087, allocations: 196.8 kB / 0.7843 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/1.087, allocations: 255.9 kB / 0.7846 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/1.092, allocations: 1.93 MB / 0.7864 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/1.092, allocations: 374.5 kB / 0.7868 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.097, allocations: 411.5 kB / 0.7872 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006281/1.097, allocations: 0.5163 MB / 0.7877 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.00385/1.101, allocations: 3.404 MB / 0.791 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/1.102, allocations: 0.536 MB / 0.7915 GB, free: 104.4 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/1.103, allocations: 0.6329 MB / 0.7922 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.103, allocations: 23.94 kB / 0.7922 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/1.103, allocations: 4 kB / 0.7922 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.103, allocations: 7.969 kB / 0.7922 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/1.122, allocations: 16.73 MB / 0.8085 GB, free: 86.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.692e-05/1.123, allocations: 40 kB / 0.8086 GB, free: 86.37 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.124, allocations: 380.2 kB / 0.8089 GB, free: 86 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-05/1.124, allocations: 54.53 kB / 0.809 GB, free: 85.95 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.124, allocations: 83.94 kB / 0.8091 GB, free: 85.87 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.365e-05/1.124, allocations: 75.72 kB / 0.8091 GB, free: 85.79 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-05/1.124, allocations: 63.73 kB / 0.8092 GB, free: 85.73 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/1.127, allocations: 3.953 MB / 0.8131 GB, free: 81.23 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.128, allocations: 0.6149 MB / 0.8137 GB, free: 80.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/1.129, allocations: 87.97 kB / 0.8137 GB, free: 80.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.131, allocations: 99.94 kB / 0.8138 GB, free: 80.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/1.132, allocations: 262.8 kB / 0.8141 GB, free: 80.14 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.132, allocations: 115.3 kB / 0.8142 GB, free: 80.04 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005662/1.137, allocations: 3.997 MB / 0.8181 GB, free: 76.05 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.51e-07/1.137, allocations: 0 / 0.8181 GB, free: 76.05 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006924/1.144, allocations: 1.362 MB / 0.8194 GB, free: 74.69 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.004055/1.148, allocations: 4.649 MB / 0.824 GB, free: 69.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006779/1.155, allocations: 5.426 MB / 0.8293 GB, free: 64.14 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.44e-05/1.155, allocations: 12.12 kB / 0.8293 GB, free: 64.13 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/1.157, allocations: 1.129 MB / 0.8304 GB, free: 63.01 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/1.162, allocations: 0.892 MB / 0.8313 GB, free: 62.13 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07514/1.237, allocations: 66 MB / 0.8957 GB, free: 2.883 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006889/1.244, allocations: 5.226 MB / 0.9008 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00575/1.25, allocations: 2.542 MB / 0.9033 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/1.254, allocations: 3.401 MB / 0.9066 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/1.254, allocations: 0 / 0.9066 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3432/1.597, allocations: 93.41 MB / 0.9979 GB, free: 180.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.75/27.34, allocations: 3.688 kB / 0.9979 GB, free: 180.3 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