Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.000985, allocations: 94.62 kB / 17.35 MB, free: 6.371 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.0013/0.001299, allocations: 173.3 kB / 18.25 MB, free: 5.527 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.369/1.369, allocations: 223.3 MB / 242.3 MB, free: 216 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.1934/0.1934, allocations: 44.24 MB / 337.7 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 11.98 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03148/0.1529, allocations: 36.63 MB / 0.497 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.1703, allocations: 7.526 MB / 0.5043 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00749/0.1778, allocations: 151.7 kB / 0.5045 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.179, allocations: 298.7 kB / 0.5047 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2465/0.4256, allocations: 1.063 MB / 0.5058 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.4263, allocations: 272.4 kB / 0.506 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.4305, allocations: 3.393 MB / 0.5094 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.4348, allocations: 3.351 MB / 0.5126 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.4359, allocations: 0.6512 MB / 0.5133 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.4374, allocations: 1.055 MB / 0.5143 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.4376, allocations: 86.66 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.4389, allocations: 0.6351 MB / 0.515 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.4398, allocations: 1.024 MB / 0.516 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009302/0.4408, allocations: 1.225 MB / 0.5172 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004345/0.4451, allocations: 4.121 MB / 0.5212 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4452, allocations: 1.438 kB / 0.5212 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4452, allocations: 4 kB / 0.5212 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001089/0.4453, allocations: 0 / 0.5212 GB, free: 8.598 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.004391/0.4497, allocations: 2.421 MB / 0.5236 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4497, allocations: 9.062 kB / 0.5236 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.4549, allocations: 1.632 MB / 0.5252 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.4579, allocations: 1.333 MB / 0.5265 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.458, allocations: 150.7 kB / 0.5266 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004682/0.4585, allocations: 192.4 kB / 0.5268 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/0.4678, allocations: 6.438 MB / 0.5331 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.4679, allocations: 14.44 kB / 0.5331 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.4681, allocations: 87.12 kB / 0.5332 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/0.4699, allocations: 1.407 MB / 0.5346 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009325/0.4793, allocations: 5.494 MB / 0.5399 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.5078, allocations: 20.57 MB / 0.56 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.5119, allocations: 2.084 MB / 0.5621 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/0.5128, allocations: 0.6949 MB / 0.5627 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005709/0.5186, allocations: 3.508 MB / 0.5662 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5186, allocations: 45.42 kB / 0.5662 GB, free: 4.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.457e-06/0.5186, allocations: 0 / 0.5662 GB, free: 4.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.00535/0.524, allocations: 1.981 MB / 0.5681 GB, free: 2.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.5241, allocations: 62 kB / 0.5682 GB, free: 2.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.5279, allocations: 1.966 MB / 0.5701 GB, free: 208 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.528, allocations: 37.7 kB / 0.5702 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.5294, allocations: 1.888 MB / 0.572 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.5298, allocations: 314.7 kB / 0.5723 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.5301, allocations: 276.2 kB / 0.5726 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5303, allocations: 357.9 kB / 0.5729 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5315, allocations: 0.892 MB / 0.5738 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.534, allocations: 2.777 MB / 0.5765 GB, free: 8.816 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.5382, allocations: 3.99 MB / 0.5804 GB, free: 4.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-05/0.5382, allocations: 24 kB / 0.5804 GB, free: 4.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005414/0.5437, allocations: 3.552 MB / 0.5839 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.5438, allocations: 32.19 kB / 0.5839 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.609e-05/0.5438, allocations: 72 kB / 0.584 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.544, allocations: 91.94 kB / 0.5841 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.5458, allocations: 0.6602 MB / 0.5847 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/0.5459, allocations: 130.4 kB / 0.5848 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.5481, allocations: 415.7 kB / 0.5852 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.5483, allocations: 191.3 kB / 0.5854 GB, free: 15.5 MB / 446.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.002537/0.5509, allocations: 1.374 MB / 0.5868 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.5511, allocations: 157.8 kB / 0.5869 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.5515, allocations: 201.2 kB / 0.5871 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.5516, allocations: 11.94 kB / 0.5871 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.5516, allocations: 6.719 kB / 0.5871 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5516, allocations: 3.984 kB / 0.5871 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.5578, allocations: 4.135 MB / 0.5912 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5579, allocations: 11.94 kB / 0.5912 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.5582, allocations: 97.47 kB / 0.5913 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.5583, allocations: 8 kB / 0.5913 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.5583, allocations: 16 kB / 0.5913 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.5583, allocations: 11.03 kB / 0.5913 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.5583, allocations: 11.09 kB / 0.5913 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.5596, allocations: 1.247 MB / 0.5925 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.56, allocations: 262.7 kB / 0.5928 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.5602, allocations: 19.98 kB / 0.5928 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.5606, allocations: 35.88 kB / 0.5928 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.5607, allocations: 44.67 kB / 0.5929 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.5608, allocations: 35.12 kB / 0.5929 GB, free: 7.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.5624, allocations: 1.287 MB / 0.5942 GB, free: 6.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5624, allocations: 3.938 kB / 0.5942 GB, free: 6.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002477/0.5649, allocations: 0.6999 MB / 0.5948 GB, free: 5.719 MB / 446.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.0002859/0.5652, allocations: 145.7 kB / 0.595 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.568, allocations: 2.037 MB / 0.597 GB, free: 3.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.568, allocations: 4.062 kB / 0.597 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.5686, allocations: 450.3 kB / 0.5974 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.571, allocations: 246.2 kB / 0.5976 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009479/0.5805, allocations: 6.528 MB / 0.604 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/0.5827, allocations: 2.32 MB / 0.6063 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002264/0.585, allocations: 0.9677 MB / 0.6072 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.5854, allocations: 123.4 kB / 0.6073 GB, free: 9.027 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5854, allocations: 0 / 0.6073 GB, free: 9.027 MB / 462.1 MB Notification: Performance of Templates: time 0.032/0.6174, allocations: 13.86 MB / 0.6209 GB, free: 11.27 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches