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.001239/0.001239, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001442/0.001442, allocations: 183 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2278/0.2278, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4055, allocations: 60.81 MB / 0.5189 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01818/0.4237, allocations: 15.4 MB / 0.5339 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.4402, allocations: 5.108 MB / 0.5389 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006956/0.4472, allocations: 120.4 kB / 0.539 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.4616, allocations: 6.026 MB / 0.5449 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.4726, allocations: 2.929 MB / 0.5478 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.4772, allocations: 1.577 MB / 0.5493 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0138/0.4911, allocations: 7.749 MB / 0.5569 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.5044, allocations: 7.458 MB / 0.5642 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.5108, allocations: 3.007 MB / 0.5671 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006822/0.5177, allocations: 3.871 MB / 0.5709 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002763/0.5205, allocations: 0.5859 MB / 0.5715 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006924/0.5274, allocations: 1.44 MB / 0.5729 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007401/0.5349, allocations: 3.659 MB / 0.5764 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009441/0.5444, allocations: 3.985 MB / 0.5803 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.5613, allocations: 12.1 MB / 0.5921 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5614, allocations: 0 / 0.5921 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.5614, allocations: 4 kB / 0.5922 GB, free: 0.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005321/0.5619, allocations: 0 / 0.5922 GB, free: 0.793 MB / 446.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.02491/0.5869, allocations: 8.742 MB / 0.6007 GB, free: 7.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.5869, allocations: 8.031 kB / 0.6007 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.599, allocations: 2.58 MB / 0.6032 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.612, allocations: 4.704 MB / 0.6078 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000624/0.6127, allocations: 442.8 kB / 0.6082 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004527/0.6173, allocations: 0.5543 MB / 0.6088 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04727/0.6646, allocations: 17.44 MB / 0.6258 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000482/0.6651, allocations: 67.41 kB / 0.6259 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002842/0.668, allocations: 271.8 kB / 0.6261 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006/0.674, allocations: 3.174 MB / 0.6292 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03633/0.7104, allocations: 13.42 MB / 0.6423 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/0.8221, allocations: 65.75 MB / 0.7065 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/0.8397, allocations: 5.502 MB / 0.7119 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/0.8435, allocations: 2.122 MB / 0.714 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6185/1.462, allocations: 9.99 MB / 0.7237 GB, free: 163 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.462, allocations: 56.06 kB / 0.7238 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 6.042e-06/1.462, allocations: 0.5312 kB / 0.7238 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03819/1.5, allocations: 14.27 MB / 0.7377 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/1.5, allocations: 152.9 kB / 0.7379 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008467/1.509, allocations: 6.378 MB / 0.7441 GB, free: 155 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004226/1.509, allocations: 56.78 kB / 0.7442 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/1.512, allocations: 5.237 MB / 0.7493 GB, free: 150.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007418/1.513, allocations: 0.8268 MB / 0.7501 GB, free: 150.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/1.515, allocations: 1.703 MB / 0.7517 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/1.515, allocations: 301.1 kB / 0.752 GB, free: 149 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/1.518, allocations: 2.343 MB / 0.7543 GB, free: 147.9 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/1.523, allocations: 7.772 MB / 0.7619 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/1.531, allocations: 10.98 MB / 0.7726 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/1.531, allocations: 56.88 kB / 0.7727 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01372/1.545, allocations: 9.751 MB / 0.7822 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/1.545, allocations: 84 kB / 0.7823 GB, free: 114.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.545, allocations: 196 kB / 0.7825 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/1.545, allocations: 252.7 kB / 0.7827 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005216/1.551, allocations: 1.954 MB / 0.7846 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001873/1.551, allocations: 378.5 kB / 0.785 GB, free: 111.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005607/1.556, allocations: 415.5 kB / 0.7854 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005892/1.557, allocations: 0.5206 MB / 0.7859 GB, free: 110.9 MB / 0.5607 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.004656/1.562, allocations: 3.405 MB / 0.7892 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.563, allocations: 0.5321 MB / 0.7897 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/1.564, allocations: 0.6248 MB / 0.7903 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/1.564, allocations: 27.98 kB / 0.7904 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/1.564, allocations: 11.88 kB / 0.7904 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/1.564, allocations: 7.969 kB / 0.7904 GB, free: 106.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.591, allocations: 16.73 MB / 0.8067 GB, free: 88.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.99e-05/1.591, allocations: 36 kB / 0.8068 GB, free: 88.94 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.592, allocations: 383.2 kB / 0.8071 GB, free: 88.56 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.005e-05/1.592, allocations: 52 kB / 0.8072 GB, free: 88.51 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/1.592, allocations: 83.98 kB / 0.8073 GB, free: 88.43 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.738e-05/1.592, allocations: 76.31 kB / 0.8073 GB, free: 88.36 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-05/1.592, allocations: 59.75 kB / 0.8074 GB, free: 88.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.597, allocations: 3.956 MB / 0.8113 GB, free: 83.79 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.598, allocations: 0.6111 MB / 0.8119 GB, free: 83.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.599, allocations: 91.95 kB / 0.8119 GB, free: 83.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.602, allocations: 99.94 kB / 0.812 GB, free: 82.97 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/1.602, allocations: 262.8 kB / 0.8123 GB, free: 82.71 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.602, allocations: 107.3 kB / 0.8124 GB, free: 82.61 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005561/1.608, allocations: 3.98 MB / 0.8163 GB, free: 78.64 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.71e-07/1.608, allocations: 0 / 0.8163 GB, free: 78.64 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007251/1.615, allocations: 1.372 MB / 0.8176 GB, free: 77.27 MB / 0.5607 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.0004991/1.616, allocations: 256.7 kB / 0.8179 GB, free: 77.02 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007233/1.623, allocations: 5.475 MB / 0.8232 GB, free: 71.61 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/1.623, allocations: 10 kB / 0.8232 GB, free: 71.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.624, allocations: 1.128 MB / 0.8243 GB, free: 70.48 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/1.629, allocations: 0.8879 MB / 0.8252 GB, free: 69.61 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.651, allocations: 15.18 MB / 0.84 GB, free: 53.86 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005929/1.657, allocations: 5.23 MB / 0.8451 GB, free: 48.59 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005309/1.662, allocations: 2.542 MB / 0.8476 GB, free: 46.05 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/1.663, allocations: 351.4 kB / 0.8479 GB, free: 45.7 MB / 0.5607 GB Notification: Performance of SimCode: time 9.32e-07/1.663, allocations: 0 / 0.8479 GB, free: 45.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.07168/1.735, allocations: 39.4 MB / 0.8864 GB, free: 6.637 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/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