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.007144/0.007144, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001757/0.001757, allocations: 194.8 kB / 16.79 MB, free: 6.238 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.526/1.526, allocations: 205.1 MB / 222.6 MB, free: 4.934 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3444/0.3444, allocations: 43.5 MB / 313.5 MB, free: 8.629 MB / 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.002439/0.002439, allocations: 66.55 kB / 382 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1768, allocations: 57.78 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4041/0.581, allocations: 101 MB / 0.5281 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06338/0.6444, allocations: 19.15 MB / 0.5468 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03/0.6744, allocations: 448.4 kB / 0.5472 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.6865, allocations: 6.1 MB / 0.5532 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.6979, allocations: 2.91 MB / 0.556 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.7029, allocations: 1.489 MB / 0.5575 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01692/0.7199, allocations: 11.9 MB / 0.5691 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01181/0.7317, allocations: 7.611 MB / 0.5766 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007762/0.7395, allocations: 2.912 MB / 0.5794 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007872/0.7475, allocations: 4.518 MB / 0.5838 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002458/0.75, allocations: 492 kB / 0.5843 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/0.7542, allocations: 1.377 MB / 0.5856 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005635/0.7599, allocations: 3.744 MB / 0.5893 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008159/0.7681, allocations: 4.147 MB / 0.5933 GB, free: 4.062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.7845, allocations: 12.48 MB / 0.6055 GB, free: 7.543 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.7846, allocations: 4 kB / 0.6055 GB, free: 7.539 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.7846, allocations: 0 / 0.6055 GB, free: 7.539 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004836/0.7851, allocations: 3.938 kB / 0.6055 GB, free: 7.535 MB / 478.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.02643/0.8115, allocations: 9.238 MB / 0.6145 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.8116, allocations: 8.031 kB / 0.6146 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.8233, allocations: 2.669 MB / 0.6172 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.8338, allocations: 4.946 MB / 0.622 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/0.8342, allocations: 471.9 kB / 0.6224 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/0.8366, allocations: 0.5972 MB / 0.623 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7064/1.543, allocations: 18.73 MB / 0.6413 GB, free: 52.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/1.543, allocations: 74.67 kB / 0.6414 GB, free: 52.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/1.545, allocations: 284.7 kB / 0.6417 GB, free: 52.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006261/1.551, allocations: 3.45 MB / 0.645 GB, free: 52.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04243/1.593, allocations: 14.6 MB / 0.6593 GB, free: 52.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/1.695, allocations: 70.58 MB / 0.7282 GB, free: 5.594 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/1.713, allocations: 6.126 MB / 0.7342 GB, free: 15.33 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/1.718, allocations: 2.456 MB / 0.7366 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/1.74, allocations: 10.83 MB / 0.7472 GB, free: 1.68 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.288e-05/1.74, allocations: 59.12 kB / 0.7472 GB, free: 1.617 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=238): time 5.5e-06/1.74, allocations: 0 / 0.7472 GB, free: 1.617 MB / 0.5138 GB Notification: Performance of matching and sorting (n=262): time 0.04528/1.785, allocations: 15.86 MB / 0.7627 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.785, allocations: 161.5 kB / 0.7629 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.796, allocations: 6.64 MB / 0.7693 GB, free: 11.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005459/1.797, allocations: 61.7 kB / 0.7694 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005335/1.802, allocations: 5.544 MB / 0.7748 GB, free: 5.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.804, allocations: 1.009 MB / 0.7758 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002696/1.807, allocations: 1.835 MB / 0.7776 GB, free: 2.598 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.807, allocations: 301.1 kB / 0.7779 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005071/1.812, allocations: 2.653 MB / 0.7805 GB, free: 15.64 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/1.824, allocations: 8.38 MB / 0.7887 GB, free: 4.516 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/1.84, allocations: 11.99 MB / 0.8004 GB, free: 6.535 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002175/1.84, allocations: 60.56 kB / 0.8004 GB, free: 6.477 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02345/1.864, allocations: 10.73 MB / 0.8109 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/1.864, allocations: 92 kB / 0.811 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003204/1.864, allocations: 203.9 kB / 0.8112 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/1.864, allocations: 268.8 kB / 0.8114 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007545/1.872, allocations: 2.145 MB / 0.8135 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003282/1.872, allocations: 401.5 kB / 0.8139 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007636/1.88, allocations: 454.3 kB / 0.8144 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.881, allocations: 0.5576 MB / 0.8149 GB, free: 9.148 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.00758/1.889, allocations: 3.616 MB / 0.8184 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.89, allocations: 0.5707 MB / 0.819 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005235/1.896, allocations: 2.801 MB / 0.8217 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/1.896, allocations: 28 kB / 0.8218 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.896, allocations: 4 kB / 0.8218 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.896, allocations: 11.95 kB / 0.8218 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04307/1.939, allocations: 26.56 MB / 0.8477 GB, free: 7.312 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-05/1.939, allocations: 56.25 kB / 0.8478 GB, free: 7.258 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.941, allocations: 0.5206 MB / 0.8483 GB, free: 6.785 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/1.941, allocations: 72 kB / 0.8483 GB, free: 6.715 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/1.941, allocations: 117.5 kB / 0.8484 GB, free: 6.602 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.059e-05/1.941, allocations: 104.1 kB / 0.8485 GB, free: 6.523 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.386e-05/1.941, allocations: 85.22 kB / 0.8486 GB, free: 6.465 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/1.948, allocations: 5.235 MB / 0.8537 GB, free: 464 kB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2566/2.205, allocations: 0.6727 MB / 0.8544 GB, free: 257.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/2.207, allocations: 121.9 kB / 0.8545 GB, free: 257.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/2.209, allocations: 141.3 kB / 0.8546 GB, free: 257.1 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/2.21, allocations: 361.7 kB / 0.855 GB, free: 257.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/2.21, allocations: 149.1 kB / 0.8551 GB, free: 257.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00747/2.217, allocations: 4.151 MB / 0.8592 GB, free: 256.9 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.71e-07/2.217, allocations: 0 / 0.8592 GB, free: 256.9 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01023/2.228, allocations: 1.515 MB / 0.8607 GB, free: 256.9 MB / 0.6232 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.000677/2.228, allocations: 296.3 kB / 0.8609 GB, free: 256.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.009846/2.238, allocations: 6.151 MB / 0.867 GB, free: 255.7 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-05/2.238, allocations: 9.812 kB / 0.867 GB, free: 255.7 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/2.241, allocations: 1.491 MB / 0.8684 GB, free: 255.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006261/2.247, allocations: 0.8909 MB / 0.8693 GB, free: 254.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/2.283, allocations: 21.02 MB / 0.8898 GB, free: 242.6 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/2.294, allocations: 5.577 MB / 0.8953 GB, free: 240.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01133/2.306, allocations: 2.781 MB / 0.898 GB, free: 240.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/2.308, allocations: 401.2 kB / 0.8984 GB, free: 240.4 MB / 0.6232 GB Notification: Performance of SimCode: time 1.834e-06/2.308, allocations: 0 / 0.8984 GB, free: 240.4 MB / 0.6232 GB Notification: Performance of Templates: time 0.1042/2.412, allocations: 47.16 MB / 0.9444 GB, free: 215.7 MB / 0.6232 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches