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.001261/0.001261, allocations: 96.94 kB / 17.08 MB, free: 5.992 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.001307/0.001307, allocations: 195.3 kB / 18.01 MB, free: 5.078 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.287/1.287, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1967/0.1967, allocations: 43.53 MB / 314.8 MB, free: 460 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.001344/0.001344, allocations: 59.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09721, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01575/0.113, allocations: 17.04 MB / 0.5052 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.1234, allocations: 5.307 MB / 0.5104 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.126, allocations: 127.6 kB / 0.5105 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.1362, allocations: 6.079 MB / 0.5164 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007476/0.1437, allocations: 3.081 MB / 0.5194 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.1473, allocations: 1.587 MB / 0.521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.1585, allocations: 8.182 MB / 0.529 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2337/0.3923, allocations: 7.63 MB / 0.5364 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/0.3983, allocations: 3.186 MB / 0.5395 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00736/0.4056, allocations: 4.215 MB / 0.5437 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003396/0.4091, allocations: 0.6408 MB / 0.5443 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/0.4143, allocations: 1.465 MB / 0.5457 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006628/0.4209, allocations: 3.917 MB / 0.5495 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008766/0.4297, allocations: 4.283 MB / 0.5537 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01783/0.4476, allocations: 13.09 MB / 0.5665 GB, free: 14.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4476, allocations: 0 / 0.5665 GB, free: 14.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4476, allocations: 0 / 0.5665 GB, free: 14.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006137/0.4483, allocations: 0 / 0.5665 GB, free: 14.67 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.02611/0.4744, allocations: 9.245 MB / 0.5755 GB, free: 8.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4744, allocations: 10.17 kB / 0.5755 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.4859, allocations: 2.672 MB / 0.5782 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.4966, allocations: 5.059 MB / 0.5831 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004435/0.4971, allocations: 470.7 kB / 0.5835 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/0.4993, allocations: 0.5944 MB / 0.5841 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/0.5373, allocations: 18.73 MB / 0.6024 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003193/0.5377, allocations: 70.03 kB / 0.6025 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/0.5398, allocations: 283.8 kB / 0.6028 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005406/0.5452, allocations: 3.453 MB / 0.6061 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03047/0.5757, allocations: 14.61 MB / 0.6204 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09367/0.6694, allocations: 70.18 MB / 0.6889 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.6869, allocations: 6.133 MB / 0.6949 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/0.6911, allocations: 2.455 MB / 0.6973 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/0.7108, allocations: 10.83 MB / 0.7079 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.7108, allocations: 56.56 kB / 0.7079 GB, free: 2.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 5.501e-06/0.7109, allocations: 0 / 0.7079 GB, free: 2.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.04525/0.7561, allocations: 15.86 MB / 0.7234 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.7562, allocations: 157.4 kB / 0.7236 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009752/0.766, allocations: 6.641 MB / 0.7301 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/0.7665, allocations: 65.7 kB / 0.7301 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00398/0.7705, allocations: 5.541 MB / 0.7355 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/0.7721, allocations: 1.013 MB / 0.7365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003082/0.7752, allocations: 1.828 MB / 0.7383 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7753, allocations: 305.1 kB / 0.7386 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/0.7795, allocations: 2.657 MB / 0.7412 GB, free: 340 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007717/0.7872, allocations: 8.367 MB / 0.7494 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2346/1.022, allocations: 12 MB / 0.7611 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/1.022, allocations: 58.8 kB / 0.7611 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01911/1.041, allocations: 10.72 MB / 0.7716 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.041, allocations: 92.19 kB / 0.7717 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002792/1.042, allocations: 205.4 kB / 0.7719 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/1.042, allocations: 267.7 kB / 0.7722 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006827/1.049, allocations: 2.143 MB / 0.7742 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003302/1.049, allocations: 397.8 kB / 0.7746 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/1.055, allocations: 453.1 kB / 0.7751 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/1.057, allocations: 0.5631 MB / 0.7756 GB, free: 181.9 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.005847/1.062, allocations: 3.624 MB / 0.7791 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.063, allocations: 0.5722 MB / 0.7797 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/1.068, allocations: 2.791 MB / 0.7824 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/1.069, allocations: 15.72 kB / 0.7824 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.069, allocations: 0 / 0.7824 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.07, allocations: 0.5807 MB / 0.783 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006365/1.071, allocations: 46.34 kB / 0.7831 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.072, allocations: 110.1 kB / 0.7832 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/1.073, allocations: 136.9 kB / 0.7833 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004604/1.077, allocations: 3.209 MB / 0.7864 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003723/1.081, allocations: 3.548 MB / 0.7899 GB, free: 176.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001382/1.082, allocations: 1.293 MB / 0.7912 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005316/1.088, allocations: 4.156 MB / 0.7952 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of Backend: time 6.92e-07/1.088, allocations: 0 / 0.7952 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008886/1.097, allocations: 5.285 MB / 0.8004 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02125/1.118, allocations: 15.69 MB / 0.8157 GB, free: 161 MB / 0.5919 GB Notification: Performance of Templates: time 0.09484/1.213, allocations: 58.15 MB / 0.8725 GB, free: 106.5 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/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