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.001502/0.001502, allocations: 110 kB / 17.04 MB, free: 5.359 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.001567/0.001568, allocations: 194.6 kB / 17.98 MB, free: 4.898 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.1993/0.1993, allocations: 43.51 MB / 314.7 MB, free: 492 kB / 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.001448/0.001448, allocations: 67.58 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09158, allocations: 57.78 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009577/0.1012, allocations: 10.54 MB / 452.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.1076, allocations: 3.01 MB / 455.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1094, allocations: 55.88 kB / 455.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.1135, allocations: 1.998 MB / 457.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.1167, allocations: 1.191 MB / 458.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.1175, allocations: 291.4 kB / 459 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.1211, allocations: 2.446 MB / 461.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/0.1246, allocations: 2.371 MB / 463.9 MB, free: 160 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.1262, allocations: 0.9502 MB / 464.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.1283, allocations: 1.273 MB / 466.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006211/0.1289, allocations: 212 kB / 466.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.1305, allocations: 0.6981 MB / 467 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.1319, allocations: 1.204 MB / 468.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002115/0.134, allocations: 1.429 MB / 469.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004548/0.1386, allocations: 4.706 MB / 474.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1386, allocations: 8 kB / 474.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1386, allocations: 0 / 474.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.669e-05/0.1387, allocations: 0 / 474.3 MB, free: 5.645 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.005061/0.1438, allocations: 3.076 MB / 477.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1438, allocations: 11.89 kB / 477.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.1491, allocations: 1.607 MB / 479 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.1524, allocations: 1.402 MB / 480.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.1525, allocations: 152.2 kB / 480.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.1529, allocations: 211.8 kB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009938/0.1628, allocations: 6.788 MB / 487.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.1629, allocations: 11.88 kB / 487.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.1631, allocations: 95.89 kB / 487.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/0.1653, allocations: 1.474 MB / 489.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.1762, allocations: 5.81 MB / 495 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.2061, allocations: 21.45 MB / 0.5043 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/0.2106, allocations: 2.241 MB / 0.5065 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.2118, allocations: 0.7913 MB / 0.5073 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007042/0.2188, allocations: 3.738 MB / 0.5109 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2189, allocations: 39.12 kB / 0.511 GB, free: 3.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 5.079e-06/0.2189, allocations: 3.984 kB / 0.511 GB, free: 3.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005538/0.2244, allocations: 2.193 MB / 0.5131 GB, free: 1.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.2245, allocations: 63.97 kB / 0.5132 GB, free: 1.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.227, allocations: 2.016 MB / 0.5151 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.2271, allocations: 37.7 kB / 0.5152 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.2283, allocations: 1.964 MB / 0.5171 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.2285, allocations: 363.3 kB / 0.5174 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007245/0.2293, allocations: 0.6587 MB / 0.5181 GB, free: 12.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2294, allocations: 357.9 kB / 0.5184 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.2308, allocations: 0.9666 MB / 0.5194 GB, free: 10.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.2333, allocations: 2.922 MB / 0.5222 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004391/0.2377, allocations: 4.241 MB / 0.5264 GB, free: 1.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.733e-05/0.2378, allocations: 20 kB / 0.5264 GB, free: 1.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.1907/0.4285, allocations: 3.787 MB / 0.5301 GB, free: 85.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.4286, allocations: 34.62 kB / 0.5301 GB, free: 85.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-05/0.4287, allocations: 72.59 kB / 0.5302 GB, free: 85.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.4288, allocations: 94.22 kB / 0.5303 GB, free: 85.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.431, allocations: 0.7067 MB / 0.531 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001271/0.4311, allocations: 138.4 kB / 0.5311 GB, free: 85.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.4333, allocations: 446.7 kB / 0.5315 GB, free: 85.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.4336, allocations: 200 kB / 0.5317 GB, free: 85.08 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.002242/0.4359, allocations: 1.426 MB / 0.5331 GB, free: 84.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.4362, allocations: 170.2 kB / 0.5333 GB, free: 84.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.438, allocations: 1.194 MB / 0.5344 GB, free: 84.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.4381, allocations: 10.84 kB / 0.5344 GB, free: 84.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4381, allocations: 2.344 kB / 0.5344 GB, free: 84.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4381, allocations: 6.016 kB / 0.5344 GB, free: 84.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00824/0.4464, allocations: 4.981 MB / 0.5393 GB, free: 83.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.4464, allocations: 9.5 kB / 0.5393 GB, free: 83.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.4469, allocations: 132.2 kB / 0.5394 GB, free: 83.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.447, allocations: 13.14 kB / 0.5395 GB, free: 83.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.447, allocations: 29.27 kB / 0.5395 GB, free: 83.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.447, allocations: 20.02 kB / 0.5395 GB, free: 83.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4471, allocations: 13.22 kB / 0.5395 GB, free: 83.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.449, allocations: 1.519 MB / 0.541 GB, free: 82.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.4495, allocations: 263.2 kB / 0.5412 GB, free: 82.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.4496, allocations: 22.45 kB / 0.5413 GB, free: 82.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.4502, allocations: 45.73 kB / 0.5413 GB, free: 82.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4504, allocations: 78.94 kB / 0.5414 GB, free: 82.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.4504, allocations: 34.16 kB / 0.5414 GB, free: 82.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001735/0.4522, allocations: 1.325 MB / 0.5427 GB, free: 81.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4522, allocations: 0 / 0.5427 GB, free: 81.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002697/0.4549, allocations: 0.7543 MB / 0.5435 GB, free: 81.61 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.0002927/0.4552, allocations: 148.5 kB / 0.5436 GB, free: 81.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.4581, allocations: 2.255 MB / 0.5458 GB, free: 80.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4581, allocations: 3.875 kB / 0.5458 GB, free: 80.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4587, allocations: 0.5394 MB / 0.5463 GB, free: 80.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.4599, allocations: 247.9 kB / 0.5466 GB, free: 80.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.4674, allocations: 5.537 MB / 0.552 GB, free: 77.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.4694, allocations: 2.408 MB / 0.5543 GB, free: 75.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002003/0.4714, allocations: 1.023 MB / 0.5553 GB, free: 74.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.4717, allocations: 131.1 kB / 0.5554 GB, free: 74.85 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4717, allocations: 0 / 0.5554 GB, free: 74.85 MB / 414.1 MB Notification: Performance of Templates: time 0.0256/0.4973, allocations: 15.59 MB / 0.5707 GB, free: 59.61 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/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