Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001774/0.001774, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.002503/0.002503, allocations: 201.9 kB / 18.77 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.299/2.299, allocations: 222.9 MB / 242.5 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3585/0.3585, allocations: 44.18 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 64.72 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1641, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.5088/0.673, allocations: 99.35 MB / 0.5552 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0786/0.7516, allocations: 18.94 MB / 0.5737 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03568/0.7874, allocations: 442.9 kB / 0.5741 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01914/0.8066, allocations: 6.05 MB / 0.58 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.8186, allocations: 2.702 MB / 0.5827 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.8245, allocations: 1.494 MB / 0.5841 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02208/0.8466, allocations: 11.22 MB / 0.5951 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01791/0.8646, allocations: 7.45 MB / 0.6024 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009151/0.8739, allocations: 2.765 MB / 0.6051 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.886, allocations: 4.175 MB / 0.6091 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003873/0.89, allocations: 467.9 kB / 0.6096 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007287/0.8973, allocations: 1.369 MB / 0.6109 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008543/0.9059, allocations: 3.514 MB / 0.6144 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.9172, allocations: 3.867 MB / 0.6181 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.9348, allocations: 9.503 MB / 0.6274 GB, free: 2.422 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.9349, allocations: 8 kB / 0.6274 GB, free: 2.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.9349, allocations: 0 / 0.6274 GB, free: 2.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006117/0.9356, allocations: 0 / 0.6274 GB, free: 2.414 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.03894/0.9745, allocations: 8.726 MB / 0.6359 GB, free: 9.598 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.9746, allocations: 8.031 kB / 0.6359 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/0.9942, allocations: 2.584 MB / 0.6385 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.013, allocations: 4.595 MB / 0.643 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008371/1.014, allocations: 439.2 kB / 0.6434 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/1.018, allocations: 0.5582 MB / 0.6439 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06443/1.082, allocations: 17.44 MB / 0.661 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005696/1.083, allocations: 67.41 kB / 0.661 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003381/1.086, allocations: 267.8 kB / 0.6613 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008724/1.095, allocations: 3.178 MB / 0.6644 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04962/1.145, allocations: 13.42 MB / 0.6775 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8122/1.957, allocations: 66.12 MB / 0.742 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02628/1.983, allocations: 5.492 MB / 0.7474 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005218/1.988, allocations: 2.115 MB / 0.7495 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02767/2.016, allocations: 10.01 MB / 0.7593 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/2.016, allocations: 56.64 kB / 0.7593 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 9.578e-06/2.016, allocations: 2.844 kB / 0.7593 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.06531/2.082, allocations: 14.26 MB / 0.7732 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/2.082, allocations: 159.7 kB / 0.7734 GB, free: 126 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/2.098, allocations: 6.374 MB / 0.7796 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004914/2.099, allocations: 56.08 kB / 0.7797 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005076/2.104, allocations: 5.234 MB / 0.7848 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/2.105, allocations: 0.8271 MB / 0.7856 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005197/2.111, allocations: 1.701 MB / 0.7873 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/2.111, allocations: 301.1 kB / 0.7875 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006368/2.117, allocations: 2.346 MB / 0.7898 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009871/2.127, allocations: 7.775 MB / 0.7974 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/2.142, allocations: 10.98 MB / 0.8081 GB, free: 85.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002905/2.143, allocations: 56 kB / 0.8082 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02669/2.169, allocations: 9.75 MB / 0.8177 GB, free: 75.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/2.17, allocations: 87.94 kB / 0.8178 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002805/2.17, allocations: 196.9 kB / 0.818 GB, free: 75.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/2.17, allocations: 252 kB / 0.8182 GB, free: 74.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009623/2.18, allocations: 1.953 MB / 0.8201 GB, free: 73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003773/2.18, allocations: 378.5 kB / 0.8205 GB, free: 72.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/2.191, allocations: 414.9 kB / 0.8209 GB, free: 72.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001682/2.193, allocations: 0.5195 MB / 0.8214 GB, free: 71.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1055): * Single equations (assignments): 1044 * 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.008259/2.201, allocations: 3.405 MB / 0.8247 GB, free: 68.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/2.203, allocations: 0.5359 MB / 0.8253 GB, free: 67.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/2.205, allocations: 0.6331 MB / 0.8259 GB, free: 67.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.514e-05/2.205, allocations: 24 kB / 0.8259 GB, free: 67.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/2.205, allocations: 0 / 0.8259 GB, free: 67.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.325e-05/2.205, allocations: 7.969 kB / 0.8259 GB, free: 67.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03931/2.244, allocations: 16.72 MB / 0.8422 GB, free: 49.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001719/2.245, allocations: 43.81 kB / 0.8423 GB, free: 49.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/2.247, allocations: 380.2 kB / 0.8426 GB, free: 49.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.467e-05/2.247, allocations: 52 kB / 0.8427 GB, free: 49.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003377/2.247, allocations: 91.45 kB / 0.8428 GB, free: 49.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.208e-05/2.247, allocations: 75.72 kB / 0.8428 GB, free: 49.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-05/2.247, allocations: 59.75 kB / 0.8429 GB, free: 49.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/2.254, allocations: 3.953 MB / 0.8468 GB, free: 44.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/2.256, allocations: 0.615 MB / 0.8474 GB, free: 43.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/2.257, allocations: 87.97 kB / 0.8475 GB, free: 43.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/2.262, allocations: 99.94 kB / 0.8475 GB, free: 43.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004966/2.262, allocations: 266.8 kB / 0.8478 GB, free: 43.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/2.262, allocations: 108 kB / 0.8479 GB, free: 43.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01084/2.273, allocations: 3.976 MB / 0.8518 GB, free: 39.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.324e-06/2.273, allocations: 0 / 0.8518 GB, free: 39.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01404/2.287, allocations: 1.372 MB / 0.8531 GB, free: 38.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.001046/2.288, allocations: 254.9 kB / 0.8534 GB, free: 37.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01327/2.302, allocations: 5.378 MB / 0.8586 GB, free: 32.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.026e-05/2.302, allocations: 4.812 kB / 0.8586 GB, free: 32.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00261/2.305, allocations: 1.135 MB / 0.8597 GB, free: 31.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/2.317, allocations: 0.8448 MB / 0.8606 GB, free: 30.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04956/2.366, allocations: 19.68 MB / 0.8798 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/2.379, allocations: 5.219 MB / 0.8849 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/2.382, allocations: 411.4 kB / 0.8853 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/2.382, allocations: 0 / 0.8853 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of Templates: time 0.5684/2.95, allocations: 86.45 MB / 0.9697 GB, free: 173.9 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches