Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 181 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.6 MB / 222.4 MB, free: 13.66 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 90.19 kB / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.67 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 58.87 MB / 491.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03274/0.1486, allocations: 34.95 MB / 0.5138 GB, free: 5.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2567/0.4054, allocations: 9.496 MB / 0.5231 GB, free: 12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0077/0.4131, allocations: 154.9 kB / 0.5232 GB, free: 12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.4144, allocations: 307.4 kB / 0.5235 GB, free: 12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.4187, allocations: 1.13 MB / 0.5246 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4197, allocations: 265 kB / 0.5249 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005867/0.4256, allocations: 3.576 MB / 0.5284 GB, free: 11.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00579/0.4314, allocations: 4.055 MB / 0.5323 GB, free: 10.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.4333, allocations: 0.7448 MB / 0.533 GB, free: 10.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.4354, allocations: 1.131 MB / 0.5341 GB, free: 10.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004427/0.4359, allocations: 98.97 kB / 0.5342 GB, free: 10.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.4375, allocations: 0.6168 MB / 0.5348 GB, free: 10.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.4391, allocations: 1.061 MB / 0.5359 GB, free: 10.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.4406, allocations: 1.295 MB / 0.5371 GB, free: 9.824 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.4455, allocations: 4.357 MB / 0.5414 GB, free: 7.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4455, allocations: 2.188 kB / 0.5414 GB, free: 7.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4455, allocations: 0 / 0.5414 GB, free: 7.633 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001151/0.4456, allocations: 1.5 kB / 0.5414 GB, free: 7.633 MB / 362.7 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.005507/0.4511, allocations: 2.526 MB / 0.5439 GB, free: 5.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4512, allocations: 8.75 kB / 0.5439 GB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.4562, allocations: 1.654 MB / 0.5455 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.4588, allocations: 1.389 MB / 0.5469 GB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.459, allocations: 161.4 kB / 0.547 GB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.4593, allocations: 208.6 kB / 0.5472 GB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.4694, allocations: 6.766 MB / 0.5538 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.4695, allocations: 10.97 kB / 0.5538 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.4698, allocations: 97.06 kB / 0.5539 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002027/0.4718, allocations: 1.477 MB / 0.5554 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.482, allocations: 5.785 MB / 0.561 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/0.5123, allocations: 21.59 MB / 0.5821 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/0.5169, allocations: 2.249 MB / 0.5843 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.5181, allocations: 0.7737 MB / 0.585 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006518/0.5246, allocations: 3.753 MB / 0.5887 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5247, allocations: 39.12 kB / 0.5887 GB, free: 2.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 2.675e-06/0.5247, allocations: 0 / 0.5887 GB, free: 2.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.00532/0.53, allocations: 2.192 MB / 0.5909 GB, free: 88 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5301, allocations: 55.97 kB / 0.5909 GB, free: 20 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.5335, allocations: 2.012 MB / 0.5929 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.5335, allocations: 37.7 kB / 0.5929 GB, free: 13.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.5349, allocations: 1.958 MB / 0.5948 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.5352, allocations: 364.7 kB / 0.5952 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.5353, allocations: 60 kB / 0.5953 GB, free: 11.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.5356, allocations: 0.4978 MB / 0.5957 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.537, allocations: 0.9548 MB / 0.5967 GB, free: 10.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.5395, allocations: 2.911 MB / 0.5995 GB, free: 6.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/0.544, allocations: 4.224 MB / 0.6036 GB, free: 1.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-05/0.5441, allocations: 20 kB / 0.6037 GB, free: 1.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005638/0.5497, allocations: 3.763 MB / 0.6073 GB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.5498, allocations: 32 kB / 0.6074 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.664e-05/0.5499, allocations: 72 kB / 0.6074 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.967e-05/0.55, allocations: 95.94 kB / 0.6075 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.552, allocations: 0.7135 MB / 0.6082 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001055/0.5522, allocations: 131.5 kB / 0.6083 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.5543, allocations: 455.4 kB / 0.6088 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/0.5546, allocations: 200 kB / 0.609 GB, free: 11.57 MB / 426.7 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.002459/0.557, allocations: 1.423 MB / 0.6104 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.5573, allocations: 161.8 kB / 0.6105 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.5592, allocations: 1.193 MB / 0.6117 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.5592, allocations: 15.94 kB / 0.6117 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5593, allocations: 3.938 kB / 0.6117 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.5593, allocations: 3.984 kB / 0.6117 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/0.5672, allocations: 4.973 MB / 0.6166 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.5673, allocations: 8 kB / 0.6166 GB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.5678, allocations: 136.7 kB / 0.6167 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.5678, allocations: 12 kB / 0.6167 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.5679, allocations: 35.92 kB / 0.6167 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.5679, allocations: 15.94 kB / 0.6168 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.5679, allocations: 11.94 kB / 0.6168 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.5698, allocations: 1.494 MB / 0.6182 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.5703, allocations: 282.5 kB / 0.6185 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5705, allocations: 30.5 kB / 0.6185 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.5711, allocations: 39.88 kB / 0.6186 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5712, allocations: 71.69 kB / 0.6186 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.5713, allocations: 40 kB / 0.6187 GB, free: 1.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002041/0.5734, allocations: 1.304 MB / 0.6199 GB, free: 15.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5734, allocations: 4 kB / 0.6199 GB, free: 15.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002793/0.5762, allocations: 0.7493 MB / 0.6207 GB, free: 15.2 MB / 442.7 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.000314/0.5765, allocations: 158.9 kB / 0.6208 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.5801, allocations: 2.215 MB / 0.623 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.5801, allocations: 0 / 0.623 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.5808, allocations: 0.5378 MB / 0.6235 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.5841, allocations: 244.2 kB / 0.6238 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.5949, allocations: 7.033 MB / 0.6306 GB, free: 4.879 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/0.5973, allocations: 2.405 MB / 0.633 GB, free: 2.449 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002559/0.5999, allocations: 1.02 MB / 0.634 GB, free: 1.426 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.6003, allocations: 131.4 kB / 0.6341 GB, free: 1.297 MB / 442.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6003, allocations: 0 / 0.6341 GB, free: 1.297 MB / 442.7 MB Notification: Performance of Templates: time 0.03452/0.6348, allocations: 14.96 MB / 0.6487 GB, free: 2.453 MB / 458.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches