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.001114/0.001114, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001144/0.001144, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.329/1.329, 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.2005/0.2005, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.84 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01438/0.305, allocations: 15.39 MB / 0.5334 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3154, allocations: 5.105 MB / 0.5384 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.3185, allocations: 123.1 kB / 0.5386 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.3296, allocations: 6.027 MB / 0.5444 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007878/0.3375, allocations: 2.936 MB / 0.5473 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.3411, allocations: 1.58 MB / 0.5488 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.3517, allocations: 7.734 MB / 0.5564 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008907/0.3607, allocations: 7.469 MB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005448/0.3662, allocations: 3.007 MB / 0.5666 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005887/0.3721, allocations: 3.875 MB / 0.5704 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002009/0.3741, allocations: 0.5898 MB / 0.571 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.3781, allocations: 1.432 MB / 0.5724 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004793/0.383, allocations: 3.663 MB / 0.576 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006605/0.3896, allocations: 4.008 MB / 0.5799 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.4043, allocations: 12.17 MB / 0.5918 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4043, allocations: 4 kB / 0.5918 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4043, allocations: 0 / 0.5918 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.4047, allocations: 4 kB / 0.5918 GB, free: 0.7227 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.01998/0.4247, allocations: 9.014 MB / 0.6006 GB, free: 7.598 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4247, allocations: 12.02 kB / 0.6006 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002632/0.4274, allocations: 1.215 MB / 0.6018 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.4386, allocations: 2.683 MB / 0.6044 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/0.4504, allocations: 5.947 MB / 0.6102 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.4508, allocations: 434.9 kB / 0.6106 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.4523, allocations: 0.5583 MB / 0.6112 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/0.4833, allocations: 17.43 MB / 0.6282 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/0.4836, allocations: 83.39 kB / 0.6283 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008436/0.4844, allocations: 263.8 kB / 0.6285 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/0.4894, allocations: 3.17 MB / 0.6316 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/0.5173, allocations: 13.42 MB / 0.6447 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08522/0.6026, allocations: 65.87 MB / 0.709 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4331/1.036, allocations: 5.498 MB / 0.7144 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003769/1.04, allocations: 2.12 MB / 0.7165 GB, free: 165.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/1.056, allocations: 10.01 MB / 0.7262 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.056, allocations: 55.22 kB / 0.7263 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.019e-06/1.056, allocations: 0 / 0.7263 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03621/1.093, allocations: 14.7 MB / 0.7407 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/1.093, allocations: 152.9 kB / 0.7408 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007506/1.1, allocations: 6.427 MB / 0.7471 GB, free: 152.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003236/1.101, allocations: 57.34 kB / 0.7471 GB, free: 152.4 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.103, allocations: 5.451 MB / 0.7525 GB, free: 148.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007163/1.104, allocations: 0.8546 MB / 0.7533 GB, free: 147.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/1.105, allocations: 1.693 MB / 0.7549 GB, free: 146.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/1.106, allocations: 301.1 kB / 0.7552 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002967/1.108, allocations: 2.319 MB / 0.7575 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004661/1.113, allocations: 7.724 MB / 0.765 GB, free: 134.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008889/1.122, allocations: 10.94 MB / 0.7757 GB, free: 121.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.122, allocations: 56 kB / 0.7758 GB, free: 121.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01582/1.138, allocations: 9.698 MB / 0.7852 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.138, allocations: 88 kB / 0.7853 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002268/1.138, allocations: 192 kB / 0.7855 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/1.139, allocations: 259.9 kB / 0.7858 GB, free: 111 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/1.144, allocations: 1.918 MB / 0.7876 GB, free: 109.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001942/1.144, allocations: 374.5 kB / 0.788 GB, free: 108.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.15, allocations: 423.5 kB / 0.7884 GB, free: 108.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008997/1.151, allocations: 0.5117 MB / 0.7889 GB, free: 107.8 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.004191/1.156, allocations: 3.402 MB / 0.7922 GB, free: 104.4 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/1.156, allocations: 0.5626 MB / 0.7928 GB, free: 103.8 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/1.157, allocations: 0.6406 MB / 0.7934 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.157, allocations: 20 kB / 0.7934 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.157, allocations: 4 kB / 0.7934 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.157, allocations: 7.969 kB / 0.7934 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.176, allocations: 16.74 MB / 0.8098 GB, free: 85.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/1.177, allocations: 39.94 kB / 0.8098 GB, free: 85.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.178, allocations: 379.3 kB / 0.8102 GB, free: 85.43 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.961e-05/1.178, allocations: 52 kB / 0.8102 GB, free: 85.38 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/1.178, allocations: 87.92 kB / 0.8103 GB, free: 85.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.078e-05/1.178, allocations: 75.72 kB / 0.8104 GB, free: 85.22 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-05/1.178, allocations: 59.75 kB / 0.8104 GB, free: 85.16 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/1.181, allocations: 3.987 MB / 0.8143 GB, free: 80.63 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.182, allocations: 0.6416 MB / 0.815 GB, free: 79.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005408/1.183, allocations: 91.97 kB / 0.815 GB, free: 79.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.185, allocations: 99.92 kB / 0.8151 GB, free: 79.78 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.185, allocations: 258.8 kB / 0.8154 GB, free: 79.52 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.185, allocations: 111.9 kB / 0.8155 GB, free: 79.41 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005029/1.19, allocations: 4.001 MB / 0.8194 GB, free: 75.43 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.41e-07/1.19, allocations: 7.938 kB / 0.8194 GB, free: 75.42 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006576/1.197, allocations: 1.366 MB / 0.8207 GB, free: 74.05 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.003786/1.201, allocations: 4.673 MB / 0.8253 GB, free: 68.84 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006977/1.208, allocations: 5.416 MB / 0.8306 GB, free: 63.46 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.231e-05/1.208, allocations: 8 kB / 0.8306 GB, free: 63.46 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.209, allocations: 1.13 MB / 0.8317 GB, free: 62.34 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/1.214, allocations: 0.892 MB / 0.8326 GB, free: 61.46 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07417/1.288, allocations: 66.31 MB / 0.8973 GB, free: 1.898 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006834/1.295, allocations: 5.23 MB / 0.9024 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00617/1.301, allocations: 2.546 MB / 0.9049 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004756/1.306, allocations: 3.405 MB / 0.9082 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.487e-06/1.306, allocations: 0 / 0.9082 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3828/1.689, allocations: 93.4 MB / 0.9995 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.88/33.57, allocations: 4.969 kB / 0.9995 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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