Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001477/0.001478, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001588/0.001588, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.466/1.466, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2065/0.2065, allocations: 44.18 MB / 337.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.81 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.83 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01122/0.124, allocations: 9.723 MB / 479.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005968/0.1301, allocations: 2.92 MB / 482.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.1312, allocations: 51.88 kB / 482.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.1347, allocations: 2.002 MB / 484.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.1372, allocations: 1.121 MB / 485.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.1378, allocations: 295.4 kB / 486 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.1403, allocations: 2.329 MB / 488.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.1426, allocations: 2.34 MB / 490.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009542/0.1436, allocations: 0.8956 MB / 491.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.1448, allocations: 1.18 MB / 492.8 MB, free: 7.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.1451, allocations: 196 kB / 493 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1462, allocations: 0.706 MB / 493.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008703/0.1471, allocations: 1.145 MB / 494.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1482, allocations: 1.343 MB / 496.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.1522, allocations: 4.283 MB / 0.4887 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1522, allocations: 0 / 0.4887 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1522, allocations: 0 / 0.4887 GB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.328e-05/0.1523, allocations: 0 / 0.4887 GB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004651/0.157, allocations: 2.951 MB / 0.4916 GB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.157, allocations: 8.031 kB / 0.4916 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.1623, allocations: 1.58 MB / 0.4932 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.1648, allocations: 1.344 MB / 0.4945 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1649, allocations: 144.1 kB / 0.4946 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.1652, allocations: 195.8 kB / 0.4948 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008902/0.1741, allocations: 6.436 MB / 0.5011 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.1742, allocations: 15.88 kB / 0.5011 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.1744, allocations: 87.91 kB / 0.5012 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002043/0.1765, allocations: 1.403 MB / 0.5025 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2082/0.3847, allocations: 5.484 MB / 0.5079 GB, free: 45.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/0.4098, allocations: 20.56 MB / 0.528 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.4137, allocations: 2.094 MB / 0.53 GB, free: 31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009085/0.4147, allocations: 0.6886 MB / 0.5307 GB, free: 30.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005215/0.4199, allocations: 3.509 MB / 0.5341 GB, free: 28.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.4199, allocations: 42.75 kB / 0.5342 GB, free: 28.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/0.42, allocations: 0 / 0.5342 GB, free: 28.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004528/0.4245, allocations: 1.975 MB / 0.5361 GB, free: 27.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.4245, allocations: 59.83 kB / 0.5361 GB, free: 27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.4265, allocations: 1.958 MB / 0.5381 GB, free: 25.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.4266, allocations: 45.23 kB / 0.5381 GB, free: 25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.4273, allocations: 1.878 MB / 0.5399 GB, free: 23.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.4275, allocations: 318.6 kB / 0.5402 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.428, allocations: 0.623 MB / 0.5408 GB, free: 22.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.4281, allocations: 361.9 kB / 0.5412 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.429, allocations: 0.8842 MB / 0.5421 GB, free: 20.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.4306, allocations: 2.78 MB / 0.5448 GB, free: 17.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.4334, allocations: 3.991 MB / 0.5487 GB, free: 12.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/0.4334, allocations: 20 kB / 0.5487 GB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003996/0.4374, allocations: 3.55 MB / 0.5522 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.4375, allocations: 32 kB / 0.5522 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/0.4375, allocations: 68 kB / 0.5523 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.536e-05/0.4376, allocations: 88.78 kB / 0.5523 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.4392, allocations: 0.6633 MB / 0.553 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.329e-05/0.4392, allocations: 135.5 kB / 0.5531 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4408, allocations: 418 kB / 0.5535 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.441, allocations: 192 kB / 0.5537 GB, free: 7.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.001743/0.4428, allocations: 1.379 MB / 0.555 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.443, allocations: 157.9 kB / 0.5552 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.4433, allocations: 201.2 kB / 0.5554 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.4433, allocations: 8 kB / 0.5554 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4433, allocations: 0 / 0.5554 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4433, allocations: 7.984 kB / 0.5554 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.4484, allocations: 4.143 MB / 0.5594 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.4484, allocations: 8 kB / 0.5595 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.4488, allocations: 103.8 kB / 0.5596 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.4488, allocations: 8 kB / 0.5596 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.4488, allocations: 19.94 kB / 0.5596 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4488, allocations: 12 kB / 0.5596 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4488, allocations: 11.92 kB / 0.5596 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.45, allocations: 1.236 MB / 0.5608 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.4504, allocations: 242.8 kB / 0.561 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.4506, allocations: 31.84 kB / 0.5611 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.4511, allocations: 27.89 kB / 0.5611 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.4512, allocations: 51.83 kB / 0.5611 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.4512, allocations: 31.98 kB / 0.5612 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.4529, allocations: 1.283 MB / 0.5624 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4529, allocations: 0 / 0.5624 GB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002527/0.4555, allocations: 0.7063 MB / 0.5631 GB, free: 13.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003573/0.4558, allocations: 141.7 kB / 0.5633 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.4592, allocations: 2.257 MB / 0.5655 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4592, allocations: 4 kB / 0.5655 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.4599, allocations: 461 kB / 0.5659 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.4611, allocations: 238.8 kB / 0.5661 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008725/0.4699, allocations: 5.506 MB / 0.5715 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.4724, allocations: 2.323 MB / 0.5738 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.4728, allocations: 143.4 kB / 0.5739 GB, free: 2.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.885e-06/0.4729, allocations: 0 / 0.5739 GB, free: 2.062 MB / 398.1 MB Notification: Performance of Templates: time 0.04543/0.5183, allocations: 30.51 MB / 0.6037 GB, free: 3.621 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches