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.001523/0.001523, allocations: 110.5 kB / 16.41 MB, free: 6.461 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.001743/0.001743, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2001/0.2001, allocations: 43.52 MB / 314.1 MB, free: 440 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.001622/0.001622, allocations: 73.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09456, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01677/0.1114, allocations: 17.04 MB / 0.504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1219, allocations: 5.319 MB / 0.5092 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.1244, allocations: 127.6 kB / 0.5094 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.1351, allocations: 6.071 MB / 0.5153 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00759/0.1427, allocations: 3.077 MB / 0.5183 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.1464, allocations: 1.579 MB / 0.5198 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.1579, allocations: 8.189 MB / 0.5278 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2062/0.3641, allocations: 7.628 MB / 0.5353 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/0.3696, allocations: 3.182 MB / 0.5384 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006506/0.3761, allocations: 4.216 MB / 0.5425 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00245/0.3786, allocations: 0.6419 MB / 0.5431 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.3827, allocations: 1.466 MB / 0.5446 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005322/0.3881, allocations: 3.926 MB / 0.5484 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006765/0.3949, allocations: 4.311 MB / 0.5526 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4085, allocations: 13.14 MB / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4086, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4086, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004583/0.409, allocations: 0 / 0.5654 GB, free: 14.42 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.0235/0.4326, allocations: 9.321 MB / 0.5745 GB, free: 8.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4326, allocations: 15.52 kB / 0.5746 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004253/0.4369, allocations: 1.31 MB / 0.5758 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.4493, allocations: 2.71 MB / 0.5785 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.4618, allocations: 6.669 MB / 0.585 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005349/0.4624, allocations: 478.5 kB / 0.5855 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/0.4647, allocations: 0.5812 MB / 0.586 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/0.4996, allocations: 18.73 MB / 0.6043 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.4999, allocations: 82.86 kB / 0.6044 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/0.5011, allocations: 283 kB / 0.6047 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005051/0.5062, allocations: 3.453 MB / 0.608 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03054/0.5367, allocations: 14.6 MB / 0.6223 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09562/0.6324, allocations: 70.21 MB / 0.6909 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/0.6501, allocations: 6.133 MB / 0.6969 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004095/0.6542, allocations: 2.455 MB / 0.6992 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02054/0.6748, allocations: 10.83 MB / 0.7098 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.6749, allocations: 56.56 kB / 0.7099 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 4.98e-06/0.6749, allocations: 4 kB / 0.7099 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.04364/0.7185, allocations: 16.02 MB / 0.7255 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.7187, allocations: 154.5 kB / 0.7257 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/0.7294, allocations: 6.687 MB / 0.7322 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005466/0.73, allocations: 69.06 kB / 0.7323 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004658/0.7347, allocations: 5.548 MB / 0.7377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.7359, allocations: 1.009 MB / 0.7387 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003177/0.7391, allocations: 1.823 MB / 0.7405 GB, free: 124 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7393, allocations: 305.1 kB / 0.7407 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/0.7437, allocations: 2.622 MB / 0.7433 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008768/0.7525, allocations: 8.336 MB / 0.7514 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2265/0.979, allocations: 11.94 MB / 0.7631 GB, free: 184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/0.9792, allocations: 57.53 kB / 0.7632 GB, free: 184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01936/0.9986, allocations: 10.63 MB / 0.7735 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.9988, allocations: 96.94 kB / 0.7736 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/0.9991, allocations: 202.1 kB / 0.7738 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.9995, allocations: 267.3 kB / 0.7741 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007186/1.007, allocations: 2.121 MB / 0.7762 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006807/1.007, allocations: 396.3 kB / 0.7765 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/1.014, allocations: 448.5 kB / 0.777 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.015, allocations: 0.5616 MB / 0.7775 GB, free: 181.2 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.006012/1.021, allocations: 3.619 MB / 0.781 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009306/1.022, allocations: 0.5757 MB / 0.7816 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/1.027, allocations: 2.802 MB / 0.7843 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/1.027, allocations: 30.89 kB / 0.7844 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.027, allocations: 3.906 kB / 0.7844 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-05/1.027, allocations: 15.77 kB / 0.7844 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/1.06, allocations: 26.57 MB / 0.8103 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.878e-05/1.06, allocations: 52 kB / 0.8104 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.062, allocations: 0.5227 MB / 0.8109 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-05/1.062, allocations: 72 kB / 0.811 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.062, allocations: 121 kB / 0.8111 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.963e-05/1.062, allocations: 106.3 kB / 0.8112 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.26e-05/1.062, allocations: 91.56 kB / 0.8113 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/1.067, allocations: 5.245 MB / 0.8164 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.068, allocations: 0.6677 MB / 0.817 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008591/1.069, allocations: 128 kB / 0.8172 GB, free: 158 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.071, allocations: 134.8 kB / 0.8173 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/1.072, allocations: 364.2 kB / 0.8176 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/1.072, allocations: 147.8 kB / 0.8178 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006054/1.078, allocations: 4.182 MB / 0.8219 GB, free: 154 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.51e-07/1.078, allocations: 3.75 kB / 0.8219 GB, free: 154 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008068/1.086, allocations: 1.501 MB / 0.8233 GB, free: 152.5 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.005455/1.092, allocations: 5.98 MB / 0.8292 GB, free: 146 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00857/1.1, allocations: 6.234 MB / 0.8353 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-05/1.1, allocations: 8 kB / 0.8353 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/1.102, allocations: 1.497 MB / 0.8367 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/1.108, allocations: 0.9326 MB / 0.8376 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0872/1.196, allocations: 73.32 MB / 0.9092 GB, free: 54.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008195/1.204, allocations: 5.573 MB / 0.9147 GB, free: 48.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006414/1.21, allocations: 2.782 MB / 0.9174 GB, free: 46.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004751/1.215, allocations: 3.655 MB / 0.921 GB, free: 42.36 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/1.215, allocations: 0 / 0.921 GB, free: 42.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.35/1.565, allocations: 102.5 MB / 1.021 GB, free: 190.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.08/47.65, allocations: 0 / 1.021 GB, free: 190.8 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