Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_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.001714/0.001714, allocations: 103.2 kB / 16.4 MB, free: 6.516 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.001882/0.001882, allocations: 192.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2261/0.2261, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003126/0.003126, allocations: 73.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1533, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02765/0.181, allocations: 17.03 MB / 0.504 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1928, allocations: 5.315 MB / 0.5092 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.196, allocations: 127.7 kB / 0.5093 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01211/0.2081, allocations: 6.067 MB / 0.5153 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008819/0.217, allocations: 3.089 MB / 0.5183 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.221, allocations: 1.579 MB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01275/0.2338, allocations: 8.196 MB / 0.5278 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2331/0.4669, allocations: 7.625 MB / 0.5353 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/0.473, allocations: 3.217 MB / 0.5384 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007931/0.4809, allocations: 4.206 MB / 0.5425 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003269/0.4842, allocations: 0.6401 MB / 0.5432 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.4896, allocations: 1.456 MB / 0.5446 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006455/0.4961, allocations: 3.851 MB / 0.5483 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009433/0.5056, allocations: 4.314 MB / 0.5525 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.5229, allocations: 13.2 MB / 0.5654 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5229, allocations: 0 / 0.5654 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5229, allocations: 0 / 0.5654 GB, free: 14.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004734/0.5234, allocations: 0 / 0.5654 GB, free: 14.19 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.0234/0.5468, allocations: 9.573 MB / 0.5748 GB, free: 7.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5469, allocations: 13.58 kB / 0.5748 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003661/0.5505, allocations: 1.308 MB / 0.5761 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.5629, allocations: 2.766 MB / 0.5788 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.5761, allocations: 6.698 MB / 0.5853 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/0.5766, allocations: 472.4 kB / 0.5858 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/0.5787, allocations: 0.5888 MB / 0.5863 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/0.6178, allocations: 18.73 MB / 0.6046 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/0.6181, allocations: 83.42 kB / 0.6047 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001466/0.6196, allocations: 282.7 kB / 0.605 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006073/0.6257, allocations: 3.457 MB / 0.6084 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03412/0.6598, allocations: 14.6 MB / 0.6226 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/0.7666, allocations: 70.37 MB / 0.6913 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/0.7849, allocations: 6.121 MB / 0.6973 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004421/0.7894, allocations: 2.459 MB / 0.6997 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02121/0.8106, allocations: 10.86 MB / 0.7103 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/0.8107, allocations: 56.56 kB / 0.7104 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 5.209e-06/0.8107, allocations: 0 / 0.7104 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.04695/0.8577, allocations: 16.46 MB / 0.7264 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.8578, allocations: 161.1 kB / 0.7266 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/0.8712, allocations: 6.696 MB / 0.7331 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004463/0.8717, allocations: 65.7 kB / 0.7332 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005329/0.877, allocations: 5.763 MB / 0.7388 GB, free: 2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.8785, allocations: 1.067 MB / 0.7399 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003463/0.882, allocations: 1.82 MB / 0.7416 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8821, allocations: 301.1 kB / 0.7419 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/0.8873, allocations: 2.622 MB / 0.7445 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/0.8985, allocations: 8.341 MB / 0.7526 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2349/1.133, allocations: 11.93 MB / 0.7643 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001881/1.134, allocations: 59.28 kB / 0.7643 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02327/1.157, allocations: 10.66 MB / 0.7747 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/1.157, allocations: 95.94 kB / 0.7748 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003999/1.158, allocations: 201.1 kB / 0.775 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/1.158, allocations: 267.5 kB / 0.7753 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007959/1.166, allocations: 2.121 MB / 0.7774 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005739/1.167, allocations: 398.7 kB / 0.7777 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007281/1.174, allocations: 450.6 kB / 0.7782 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.175, allocations: 0.5611 MB / 0.7787 GB, free: 179.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1139): * Single equations (assignments): 1128 * 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.006582/1.182, allocations: 3.623 MB / 0.7823 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.183, allocations: 0.6064 MB / 0.7828 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/1.188, allocations: 2.8 MB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/1.188, allocations: 29.3 kB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.188, allocations: 7.234 kB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/1.188, allocations: 11.86 kB / 0.7856 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03344/1.222, allocations: 26.58 MB / 0.8116 GB, free: 164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.786e-05/1.222, allocations: 52 kB / 0.8116 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.224, allocations: 0.5251 MB / 0.8121 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.884e-05/1.224, allocations: 72 kB / 0.8122 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/1.224, allocations: 116.4 kB / 0.8123 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-05/1.224, allocations: 102.7 kB / 0.8124 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.752e-05/1.224, allocations: 87.56 kB / 0.8125 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/1.229, allocations: 5.28 MB / 0.8177 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.231, allocations: 0.705 MB / 0.8184 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.232, allocations: 125 kB / 0.8185 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.235, allocations: 139.7 kB / 0.8186 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/1.236, allocations: 363 kB / 0.819 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.236, allocations: 152.9 kB / 0.8191 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006701/1.243, allocations: 4.178 MB / 0.8232 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/1.243, allocations: 4 kB / 0.8232 GB, free: 152.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008548/1.251, allocations: 1.49 MB / 0.8246 GB, free: 151.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.005783/1.257, allocations: 6.029 MB / 0.8305 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009505/1.267, allocations: 6.232 MB / 0.8366 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.955e-05/1.267, allocations: 8 kB / 0.8366 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.269, allocations: 1.502 MB / 0.8381 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007242/1.276, allocations: 0.9403 MB / 0.839 GB, free: 137 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09462/1.371, allocations: 73.63 MB / 0.9109 GB, free: 52.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008964/1.38, allocations: 5.575 MB / 0.9164 GB, free: 47.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006629/1.386, allocations: 2.776 MB / 0.9191 GB, free: 44.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005571/1.392, allocations: 3.659 MB / 0.9226 GB, free: 40.72 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/1.392, allocations: 3.938 kB / 0.9226 GB, free: 40.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3705/1.763, allocations: 101.2 MB / 1.021 GB, free: 191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.41/48.17, allocations: 4.062 kB / 1.021 GB, free: 191 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches