Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 105 kB / 16.27 MB, free: 6.391 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.001682/0.001683, allocations: 185.2 kB / 17.2 MB, free: 5.941 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.541/1.541, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2325/0.2325, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.002338/0.002338, allocations: 69.27 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1459, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01177/0.1578, allocations: 10.54 MB / 451.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.1651, allocations: 2.995 MB / 454.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.1665, allocations: 55.88 kB / 454.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003611/0.1701, allocations: 2.005 MB / 456.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.1731, allocations: 1.183 MB / 457.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.1738, allocations: 299.4 kB / 457.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.177, allocations: 2.445 MB / 460 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.1794, allocations: 2.379 MB / 462.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1804, allocations: 0.95 MB / 463.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.1818, allocations: 1.265 MB / 464.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.1822, allocations: 212 kB / 464.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1834, allocations: 0.7022 MB / 465.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009878/0.1844, allocations: 1.204 MB / 466.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.1856, allocations: 1.433 MB / 468.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.1902, allocations: 4.536 MB / 472.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1902, allocations: 0 / 472.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1902, allocations: 0 / 472.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.477e-05/0.1903, allocations: 0 / 472.7 MB, free: 6.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005985/0.1963, allocations: 3.08 MB / 475.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.1964, allocations: 11.89 kB / 475.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005548/0.2019, allocations: 1.607 MB / 477.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.2051, allocations: 1.379 MB / 478.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2052, allocations: 156.3 kB / 478.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.2055, allocations: 207.8 kB / 479.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.216, allocations: 6.788 MB / 485.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.2161, allocations: 15.86 kB / 485.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.2163, allocations: 95.89 kB / 486 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002312/0.2186, allocations: 1.481 MB / 487.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.2301, allocations: 5.806 MB / 493.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02774/0.2578, allocations: 21.59 MB / 0.5029 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.2625, allocations: 2.245 MB / 0.505 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.2637, allocations: 0.7876 MB / 0.5058 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006859/0.2705, allocations: 3.738 MB / 0.5095 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.2706, allocations: 43.12 kB / 0.5095 GB, free: 4.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.727e-06/0.2706, allocations: 0 / 0.5095 GB, free: 4.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005857/0.2765, allocations: 2.193 MB / 0.5116 GB, free: 1.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.2766, allocations: 63.95 kB / 0.5117 GB, free: 1.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.2794, allocations: 2.024 MB / 0.5137 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.2795, allocations: 37.7 kB / 0.5137 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.2811, allocations: 1.96 MB / 0.5156 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.2815, allocations: 367.3 kB / 0.516 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008653/0.2824, allocations: 0.6587 MB / 0.5166 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2825, allocations: 357.9 kB / 0.517 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.2838, allocations: 0.9666 MB / 0.5179 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.2867, allocations: 2.922 MB / 0.5208 GB, free: 7.609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005866/0.2925, allocations: 4.245 MB / 0.5249 GB, free: 2.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.004e-05/0.2926, allocations: 20 kB / 0.5249 GB, free: 2.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.2714/0.564, allocations: 3.78 MB / 0.5286 GB, free: 85.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.5642, allocations: 36.69 kB / 0.5287 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/0.5644, allocations: 72.86 kB / 0.5287 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.5646, allocations: 94.5 kB / 0.5288 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.5673, allocations: 0.706 MB / 0.5295 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002625/0.5676, allocations: 138.2 kB / 0.5296 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.5707, allocations: 447.3 kB / 0.5301 GB, free: 85.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007486/0.5714, allocations: 201.6 kB / 0.5303 GB, free: 85.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * 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.003761/0.5752, allocations: 1.429 MB / 0.5317 GB, free: 84.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.5757, allocations: 167.9 kB / 0.5318 GB, free: 84.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.5783, allocations: 1.196 MB / 0.533 GB, free: 84.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.5783, allocations: 9.281 kB / 0.533 GB, free: 84.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.5783, allocations: 1.828 kB / 0.533 GB, free: 84.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5783, allocations: 3.281 kB / 0.533 GB, free: 84.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.5925, allocations: 4.981 MB / 0.5379 GB, free: 83.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.325e-05/0.5926, allocations: 11.67 kB / 0.5379 GB, free: 83.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.5934, allocations: 134.2 kB / 0.538 GB, free: 83.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.888e-05/0.5935, allocations: 12.5 kB / 0.538 GB, free: 83.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.5936, allocations: 26.42 kB / 0.538 GB, free: 83.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.095e-05/0.5937, allocations: 17.59 kB / 0.5381 GB, free: 83.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-05/0.5937, allocations: 15.41 kB / 0.5381 GB, free: 83.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.5968, allocations: 1.518 MB / 0.5395 GB, free: 82.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.5976, allocations: 262.7 kB / 0.5398 GB, free: 82.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.5978, allocations: 27.03 kB / 0.5398 GB, free: 82.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.5984, allocations: 43.56 kB / 0.5399 GB, free: 82.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.5986, allocations: 76.38 kB / 0.5399 GB, free: 82.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.5987, allocations: 39.03 kB / 0.54 GB, free: 82.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002343/0.601, allocations: 1.324 MB / 0.5413 GB, free: 82.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.601, allocations: 0 / 0.5413 GB, free: 82.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003074/0.6041, allocations: 0.7545 MB / 0.542 GB, free: 81.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0003099/0.6044, allocations: 145.8 kB / 0.5421 GB, free: 81.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.6079, allocations: 2.455 MB / 0.5445 GB, free: 81.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6079, allocations: 0 / 0.5445 GB, free: 81.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.6085, allocations: 0.5401 MB / 0.5451 GB, free: 80.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.6098, allocations: 274.8 kB / 0.5453 GB, free: 80.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008196/0.618, allocations: 5.607 MB / 0.5508 GB, free: 77.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.6199, allocations: 2.408 MB / 0.5532 GB, free: 76.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002227/0.6222, allocations: 1.011 MB / 0.5541 GB, free: 75.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.6225, allocations: 131.2 kB / 0.5543 GB, free: 75.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.335e-06/0.6225, allocations: 4 kB / 0.5543 GB, free: 75.27 MB / 414.1 MB Notification: Performance of Templates: time 0.028/0.6505, allocations: 15.59 MB / 0.5695 GB, free: 60.05 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches