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.001705/0.001705, allocations: 105.2 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.001767/0.001767, 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.546/1.546, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2245/0.2245, allocations: 43.52 MB / 314.1 MB, free: 452 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.001464/0.001464, allocations: 73.45 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.149, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01999/0.169, allocations: 17.03 MB / 0.5045 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.1867, allocations: 5.315 MB / 0.5097 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005859/0.1926, allocations: 131.6 kB / 0.5098 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01414/0.2068, allocations: 6.075 MB / 0.5158 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.22, allocations: 3.167 MB / 0.5189 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.2245, allocations: 1.575 MB / 0.5204 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01457/0.2391, allocations: 8.201 MB / 0.5284 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3455/0.5846, allocations: 7.628 MB / 0.5359 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008631/0.5933, allocations: 3.188 MB / 0.539 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009927/0.6033, allocations: 4.215 MB / 0.5431 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004141/0.6075, allocations: 0.6407 MB / 0.5437 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/0.6144, allocations: 1.461 MB / 0.5451 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009308/0.6238, allocations: 3.922 MB / 0.549 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01408/0.6379, allocations: 4.287 MB / 0.5532 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02544/0.6633, allocations: 13.08 MB / 0.5659 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.6634, allocations: 3.781 kB / 0.5659 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.6634, allocations: 0 / 0.5659 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006171/0.664, allocations: 3.281 kB / 0.5659 GB, free: 14.63 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.0309/0.6949, allocations: 9.244 MB / 0.575 GB, free: 8.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.695, allocations: 13.39 kB / 0.575 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.7081, allocations: 2.666 MB / 0.5776 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.7224, allocations: 5.064 MB / 0.5825 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006656/0.7232, allocations: 460.6 kB / 0.583 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00346/0.7267, allocations: 0.5973 MB / 0.5835 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04132/0.768, allocations: 18.73 MB / 0.6018 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002934/0.7683, allocations: 78.39 kB / 0.6019 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/0.7697, allocations: 289.1 kB / 0.6022 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005437/0.7752, allocations: 3.445 MB / 0.6056 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03793/0.8131, allocations: 14.61 MB / 0.6198 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1276/0.9408, allocations: 70.18 MB / 0.6884 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/0.9601, allocations: 6.132 MB / 0.6943 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005844/0.966, allocations: 2.451 MB / 0.6967 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02974/0.9958, allocations: 10.82 MB / 0.7073 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.996, allocations: 67.47 kB / 0.7074 GB, free: 2.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=238): time 6.893e-06/0.996, allocations: 0 / 0.7074 GB, free: 2.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.05183/1.048, allocations: 15.86 MB / 0.7229 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.048, allocations: 154.5 kB / 0.723 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.06, allocations: 6.648 MB / 0.7295 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00073/1.061, allocations: 67.89 kB / 0.7296 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006172/1.067, allocations: 5.523 MB / 0.735 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001834/1.069, allocations: 1.025 MB / 0.736 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003163/1.072, allocations: 1.832 MB / 0.7377 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.072, allocations: 305.1 kB / 0.738 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/1.077, allocations: 2.657 MB / 0.7406 GB, free: 248 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009022/1.086, allocations: 8.376 MB / 0.7488 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3882/1.474, allocations: 11.98 MB / 0.7605 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002586/1.474, allocations: 57.91 kB / 0.7606 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.03033/1.505, allocations: 10.73 MB / 0.771 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/1.505, allocations: 94.97 kB / 0.7711 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004921/1.505, allocations: 202.7 kB / 0.7713 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/1.506, allocations: 271.2 kB / 0.7716 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008754/1.515, allocations: 2.142 MB / 0.7737 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005798/1.515, allocations: 400 kB / 0.7741 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009453/1.525, allocations: 454.4 kB / 0.7745 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002917/1.528, allocations: 0.5611 MB / 0.775 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.01092/1.539, allocations: 3.612 MB / 0.7786 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/1.54, allocations: 0.578 MB / 0.7791 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/1.547, allocations: 2.794 MB / 0.7819 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.547, allocations: 27.69 kB / 0.7819 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.547, allocations: 0 / 0.7819 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.491e-05/1.547, allocations: 19.94 kB / 0.7819 GB, free: 179.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03715/1.584, allocations: 26.56 MB / 0.8078 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-05/1.584, allocations: 56 kB / 0.8079 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.586, allocations: 0.5199 MB / 0.8084 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-05/1.586, allocations: 68 kB / 0.8085 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/1.586, allocations: 119.8 kB / 0.8086 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.745e-05/1.586, allocations: 107 kB / 0.8087 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-05/1.586, allocations: 83.62 kB / 0.8088 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/1.591, allocations: 5.24 MB / 0.8139 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.593, allocations: 0.6748 MB / 0.8145 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007176/1.594, allocations: 123.2 kB / 0.8147 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.596, allocations: 139.7 kB / 0.8148 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.597, allocations: 364.7 kB / 0.8151 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.597, allocations: 144 kB / 0.8153 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007184/1.604, allocations: 4.158 MB / 0.8193 GB, free: 157 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.665e-06/1.604, allocations: 0 / 0.8193 GB, free: 157 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01303/1.617, allocations: 1.507 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.00122/1.618, allocations: 296.6 kB / 0.8211 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.631, allocations: 6.285 MB / 0.8272 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.889e-05/1.631, allocations: 8 kB / 0.8272 GB, free: 149.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.634, allocations: 1.494 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.007892/1.642, allocations: 0.9332 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.03088/1.673, allocations: 16.95 MB / 0.8462 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/1.684, allocations: 5.586 MB / 0.8516 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007067/1.691, 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.001084/1.692, allocations: 395.4 kB / 0.8547 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.253e-06/1.692, allocations: 0 / 0.8547 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.08829/1.78, allocations: 43.77 MB / 0.8975 GB, free: 77.8 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