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.001236/0.001237, allocations: 96.23 kB / 17 MB, free: 6.402 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.002087/0.002087, allocations: 178.9 kB / 17.89 MB, free: 5.945 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.508/1.508, allocations: 223.3 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 44.25 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 61.92 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3791/0.5097, allocations: 90.21 MB / 0.5486 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05381/0.5635, allocations: 18.11 MB / 0.5663 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02372/0.5873, allocations: 443.2 kB / 0.5667 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02179/0.6091, allocations: 4.856 MB / 0.5715 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04841/0.6576, allocations: 14.17 MB / 0.5853 GB, free: 20 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007514/0.6651, allocations: 1.252 MB / 0.5865 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0144/0.6796, allocations: 8.917 MB / 0.5953 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02002/0.6996, allocations: 9.04 MB / 0.6041 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00755/0.7072, allocations: 2.449 MB / 0.6065 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006337/0.7136, allocations: 3.521 MB / 0.6099 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.7156, allocations: 256 kB / 0.6102 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.7196, allocations: 0.9674 MB / 0.6111 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005436/0.7251, allocations: 3.152 MB / 0.6142 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003396/0.7285, allocations: 1.438 MB / 0.6156 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.7419, allocations: 9.274 MB / 0.6246 GB, free: 7.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.742, allocations: 0 / 0.6246 GB, free: 7.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.742, allocations: 0 / 0.6246 GB, free: 7.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005817/0.7426, allocations: 0 / 0.6246 GB, free: 7.605 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.02102/0.7636, allocations: 7.292 MB / 0.6318 GB, free: 232 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7637, allocations: 12.03 kB / 0.6318 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.7756, allocations: 2.642 MB / 0.6344 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.7873, allocations: 4.498 MB / 0.6387 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/0.7879, allocations: 438.9 kB / 0.6392 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.7904, allocations: 0.5583 MB / 0.6397 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04143/0.8318, allocations: 17.43 MB / 0.6567 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005116/0.8324, allocations: 75.39 kB / 0.6568 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003014/0.8354, allocations: 263.8 kB / 0.6571 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006068/0.8415, allocations: 3.182 MB / 0.6602 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03508/0.8766, allocations: 13.37 MB / 0.6732 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5996/1.476, allocations: 65.96 MB / 0.7376 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02323/1.5, allocations: 5.502 MB / 0.743 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004387/1.504, allocations: 2.107 MB / 0.7451 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02448/1.529, allocations: 10.01 MB / 0.7548 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/1.529, allocations: 53.69 kB / 0.7549 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 6.793e-06/1.529, allocations: 3.938 kB / 0.7549 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.05859/1.587, allocations: 14.31 MB / 0.7689 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/1.587, allocations: 148.3 kB / 0.769 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01555/1.603, allocations: 6.35 MB / 0.7752 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00046/1.604, allocations: 57.56 kB / 0.7753 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004568/1.608, allocations: 5.237 MB / 0.7804 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.609, allocations: 0.8207 MB / 0.7812 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005151/1.61, allocations: 163.7 kB / 0.7813 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004994/1.61, allocations: 0.6696 MB / 0.782 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00577/1.616, allocations: 2.316 MB / 0.7843 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007799/1.624, allocations: 7.74 MB / 0.7918 GB, free: 106 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008178/1.632, allocations: 4.075 MB / 0.7958 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002534/1.632, allocations: 56 kB / 0.7958 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02514/1.658, allocations: 9.68 MB / 0.8053 GB, free: 92.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004061/1.658, allocations: 84 kB / 0.8054 GB, free: 92.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004343/1.659, allocations: 196 kB / 0.8056 GB, free: 92.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/1.659, allocations: 280.2 kB / 0.8058 GB, free: 91.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009214/1.668, allocations: 1.942 MB / 0.8077 GB, free: 89.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000601/1.669, allocations: 382.5 kB / 0.8081 GB, free: 89.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/1.681, allocations: 421.9 kB / 0.8085 GB, free: 89.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/1.683, allocations: 0.5177 MB / 0.809 GB, free: 88.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008822/1.691, allocations: 3.416 MB / 0.8123 GB, free: 85.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.693, allocations: 0.5321 MB / 0.8129 GB, free: 84.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/1.695, allocations: 0.6248 MB / 0.8135 GB, free: 83.99 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/1.695, allocations: 20 kB / 0.8135 GB, free: 83.97 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/1.695, allocations: 4 kB / 0.8135 GB, free: 83.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.695, allocations: 8.844 kB / 0.8135 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03518/1.731, allocations: 16.7 MB / 0.8298 GB, free: 66.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-05/1.731, allocations: 36 kB / 0.8298 GB, free: 66.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.733, allocations: 383.2 kB / 0.8302 GB, free: 66.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.366e-05/1.733, allocations: 63.98 kB / 0.8303 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/1.733, allocations: 84 kB / 0.8304 GB, free: 66.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.55e-05/1.733, allocations: 74.28 kB / 0.8304 GB, free: 66.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.212e-05/1.733, allocations: 67.62 kB / 0.8305 GB, free: 66.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/1.738, allocations: 3.93 MB / 0.8343 GB, free: 61.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.741, allocations: 0.6149 MB / 0.8349 GB, free: 60.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.742, allocations: 95.92 kB / 0.835 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/1.745, allocations: 113.1 kB / 0.8351 GB, free: 60.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/1.746, allocations: 254.9 kB / 0.8354 GB, free: 60.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.746, allocations: 113.3 kB / 0.8355 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00898/1.755, allocations: 3.941 MB / 0.8393 GB, free: 56.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.72e-07/1.755, allocations: 0 / 0.8393 GB, free: 56.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01366/1.769, allocations: 1.372 MB / 0.8407 GB, free: 55.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000813/1.77, allocations: 251.4 kB / 0.8409 GB, free: 54.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.782, allocations: 5.337 MB / 0.8461 GB, free: 49.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.744e-05/1.782, allocations: 12.25 kB / 0.8461 GB, free: 49.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.784, allocations: 1.118 MB / 0.8472 GB, free: 48.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/1.795, allocations: 0.8494 MB / 0.848 GB, free: 47.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/1.833, allocations: 18.15 MB / 0.8658 GB, free: 28.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009711/1.842, allocations: 5.234 MB / 0.8709 GB, free: 23.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01022/1.853, allocations: 2.545 MB / 0.8734 GB, free: 20.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/1.854, allocations: 355.4 kB / 0.8737 GB, free: 20.64 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/1.854, allocations: 0 / 0.8737 GB, free: 20.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.09358/1.948, allocations: 41.57 MB / 0.9143 GB, free: 11.32 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