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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 112.7 kB / 16.41 MB, free: 6.48 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.001514/0.001514, allocations: 187.5 kB / 17.34 MB, free: 5.766 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.569/1.569, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2135/0.2135, allocations: 43.52 MB / 314.1 MB, free: 456 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.001389/0.001389, allocations: 70.02 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01938/0.1623, allocations: 17.03 MB / 0.5045 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.18, allocations: 5.319 MB / 0.5097 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.1851, allocations: 127.6 kB / 0.5098 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.1976, allocations: 6.075 MB / 0.5158 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.2082, allocations: 3.163 MB / 0.5189 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.213, allocations: 1.583 MB / 0.5204 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01516/0.2282, allocations: 8.197 MB / 0.5284 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3582/0.5865, allocations: 7.627 MB / 0.5359 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007432/0.594, allocations: 3.183 MB / 0.539 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008989/0.603, allocations: 4.215 MB / 0.5431 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002963/0.606, allocations: 0.6411 MB / 0.5437 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.6109, allocations: 1.464 MB / 0.5451 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00612/0.617, allocations: 3.92 MB / 0.549 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00905/0.6261, allocations: 4.286 MB / 0.5531 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01993/0.6461, allocations: 13.09 MB / 0.5659 GB, free: 14.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6461, allocations: 0 / 0.5659 GB, free: 14.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6461, allocations: 0 / 0.5659 GB, free: 14.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005382/0.6467, allocations: 0 / 0.5659 GB, free: 14.6 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.02688/0.6736, allocations: 9.246 MB / 0.575 GB, free: 8.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.6737, allocations: 18.11 kB / 0.575 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.686, allocations: 2.667 MB / 0.5776 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.6985, allocations: 5.06 MB / 0.5825 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/0.699, allocations: 460.5 kB / 0.583 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003271/0.7023, allocations: 0.6037 MB / 0.5836 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0459/0.7482, allocations: 18.72 MB / 0.6018 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003719/0.7486, allocations: 76.83 kB / 0.6019 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/0.7507, allocations: 290 kB / 0.6022 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005982/0.7567, allocations: 3.439 MB / 0.6055 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03697/0.7937, allocations: 14.62 MB / 0.6198 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1188/0.9126, allocations: 70.18 MB / 0.6884 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/0.9314, allocations: 6.133 MB / 0.6943 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005351/0.9368, allocations: 2.455 MB / 0.6967 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02572/0.9625, allocations: 10.82 MB / 0.7073 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/0.9626, allocations: 63.09 kB / 0.7074 GB, free: 2.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 5.871e-06/0.9627, allocations: 0 / 0.7074 GB, free: 2.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.0521/1.015, allocations: 15.86 MB / 0.7229 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.015, allocations: 155.9 kB / 0.723 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.026, allocations: 6.64 MB / 0.7295 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007751/1.027, allocations: 69.7 kB / 0.7296 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004948/1.032, allocations: 5.527 MB / 0.735 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.033, allocations: 1.021 MB / 0.736 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002887/1.036, allocations: 1.83 MB / 0.7377 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/1.036, allocations: 305.1 kB / 0.738 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/1.041, allocations: 2.654 MB / 0.7406 GB, free: 244 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008859/1.05, allocations: 8.38 MB / 0.7488 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3769/1.427, allocations: 11.98 MB / 0.7605 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002032/1.427, allocations: 60.09 kB / 0.7606 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02676/1.454, allocations: 10.73 MB / 0.771 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.454, allocations: 95.09 kB / 0.7711 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004207/1.454, allocations: 202.2 kB / 0.7713 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/1.455, allocations: 266.4 kB / 0.7716 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0086/1.463, allocations: 2.144 MB / 0.7737 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005393/1.464, allocations: 397.7 kB / 0.7741 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.473, allocations: 458.9 kB / 0.7745 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/1.475, allocations: 0.5587 MB / 0.775 GB, free: 182 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 (1155): * Single equations (assignments): 1144 * 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.0086/1.483, allocations: 3.616 MB / 0.7786 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.485, allocations: 0.5705 MB / 0.7791 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005598/1.49, allocations: 2.8 MB / 0.7819 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/1.49, allocations: 29.08 kB / 0.7819 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.49, allocations: 3.625 kB / 0.7819 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/1.49, allocations: 20.25 kB / 0.7819 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0375/1.528, allocations: 26.55 MB / 0.8078 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.045e-05/1.528, allocations: 56 kB / 0.8079 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/1.53, allocations: 0.527 MB / 0.8084 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.142e-05/1.53, allocations: 68 kB / 0.8085 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/1.53, allocations: 120 kB / 0.8086 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-05/1.53, allocations: 107 kB / 0.8087 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-05/1.53, allocations: 83.62 kB / 0.8088 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005917/1.536, allocations: 5.244 MB / 0.8139 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.538, allocations: 0.6744 MB / 0.8145 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006424/1.538, allocations: 126.6 kB / 0.8147 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.541, allocations: 134.9 kB / 0.8148 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.541, allocations: 358.1 kB / 0.8151 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.541, allocations: 148.3 kB / 0.8153 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006386/1.547, allocations: 4.155 MB / 0.8193 GB, free: 157 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.412e-06/1.547, allocations: 0 / 0.8193 GB, free: 157 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009446/1.557, allocations: 1.511 MB / 0.8208 GB, free: 155.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.0006229/1.558, allocations: 294 kB / 0.8211 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.568, allocations: 6.284 MB / 0.8272 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.467e-05/1.568, allocations: 8 kB / 0.8272 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/1.57, allocations: 1.503 MB / 0.8287 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007198/1.577, allocations: 0.9336 MB / 0.8296 GB, free: 147.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/1.606, allocations: 16.96 MB / 0.8462 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008304/1.615, allocations: 5.579 MB / 0.8516 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006617/1.621, allocations: 2.784 MB / 0.8543 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000976/1.622, allocations: 395.4 kB / 0.8547 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.953e-06/1.622, allocations: 0 / 0.8547 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.08573/1.708, allocations: 43.78 MB / 0.8975 GB, free: 77.79 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/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