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.0009471/0.0009471, allocations: 95.48 kB / 16.99 MB, free: 5.941 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.001025/0.001026, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.453/1.453, allocations: 223.2 MB / 241.8 MB, free: 376 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.235/0.235, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 11.94 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03173/0.16, allocations: 32.3 MB / 0.4919 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.1786, allocations: 7.514 MB / 0.4993 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006189/0.1848, allocations: 151.7 kB / 0.4994 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00522/0.1901, allocations: 1.657 MB / 0.501 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2963/0.4865, allocations: 4.712 MB / 0.5056 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.4881, allocations: 219.9 kB / 0.5059 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.4909, allocations: 1.275 MB / 0.5071 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004425/0.4953, allocations: 2.954 MB / 0.51 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009896/0.4963, allocations: 0.5498 MB / 0.5105 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009055/0.4972, allocations: 0.6993 MB / 0.5112 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.4975, allocations: 86.72 kB / 0.5113 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.4985, allocations: 0.5236 MB / 0.5118 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.4994, allocations: 0.9168 MB / 0.5127 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.4998, allocations: 0.5221 MB / 0.5132 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.5038, allocations: 3.42 MB / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5039, allocations: 0 / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5039, allocations: 0 / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.504, allocations: 4 kB / 0.5165 GB, free: 10.91 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.005589/0.5096, allocations: 2.496 MB / 0.519 GB, free: 9.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5097, allocations: 17.08 kB / 0.519 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006337/0.516, allocations: 1.914 MB / 0.5209 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.5199, allocations: 1.317 MB / 0.5222 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.5201, allocations: 153.8 kB / 0.5223 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006324/0.5207, allocations: 188 kB / 0.5225 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.5339, allocations: 6.455 MB / 0.5288 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/0.5341, allocations: 10.91 kB / 0.5288 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.5343, allocations: 95.45 kB / 0.5289 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002547/0.5369, allocations: 1.401 MB / 0.5303 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.5484, allocations: 5.516 MB / 0.5356 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02841/0.5769, allocations: 20.6 MB / 0.5558 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/0.5811, allocations: 2.085 MB / 0.5578 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006318/0.5875, allocations: 3.53 MB / 0.5612 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5875, allocations: 44.53 kB / 0.5613 GB, free: 1.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/0.5875, allocations: 4 kB / 0.5613 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005476/0.593, allocations: 2.226 MB / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.5931, allocations: 59.84 kB / 0.5635 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.5961, allocations: 1.953 MB / 0.5654 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.5962, allocations: 36.02 kB / 0.5655 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.5977, allocations: 1.88 MB / 0.5673 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.598, allocations: 315.6 kB / 0.5676 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.5982, allocations: 59.81 kB / 0.5677 GB, free: 12.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003021/0.5985, allocations: 497.8 kB / 0.5681 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.5998, allocations: 0.8769 MB / 0.569 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.6022, allocations: 2.752 MB / 0.5717 GB, free: 7.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.6045, allocations: 1.561 MB / 0.5732 GB, free: 6.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/0.6045, allocations: 20 kB / 0.5732 GB, free: 6.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006225/0.6108, allocations: 3.523 MB / 0.5767 GB, free: 3.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.6109, allocations: 36 kB / 0.5767 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-05/0.6109, allocations: 64 kB / 0.5767 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.817e-05/0.611, allocations: 99.94 kB / 0.5768 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.613, allocations: 0.6625 MB / 0.5775 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/0.6131, allocations: 132.3 kB / 0.5776 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.6153, allocations: 428.8 kB / 0.578 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.6156, allocations: 190.6 kB / 0.5782 GB, free: 1.867 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003055/0.6186, allocations: 1.374 MB / 0.5795 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004084/0.6191, allocations: 153.9 kB / 0.5797 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.6195, allocations: 201.2 kB / 0.5799 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/0.6196, allocations: 10.73 kB / 0.5799 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/0.6196, allocations: 4 kB / 0.5799 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.6196, allocations: 7.984 kB / 0.5799 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007914/0.6275, allocations: 4.138 MB / 0.584 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6276, allocations: 5.969 kB / 0.584 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.628, allocations: 100.1 kB / 0.5841 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.6281, allocations: 8 kB / 0.5841 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.6281, allocations: 24 kB / 0.5841 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/0.6281, allocations: 11.56 kB / 0.5841 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.6281, allocations: 4 kB / 0.5841 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.6302, allocations: 1.661 MB / 0.5857 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.6308, allocations: 262.6 kB / 0.586 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.631, allocations: 19.98 kB / 0.586 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.6315, allocations: 23.98 kB / 0.586 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.6316, allocations: 54.14 kB / 0.5861 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.6316, allocations: 28 kB / 0.5861 GB, free: 9.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002098/0.6337, allocations: 1.275 MB / 0.5873 GB, free: 8.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6338, allocations: 0 / 0.5873 GB, free: 8.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002963/0.6367, allocations: 0.7113 MB / 0.588 GB, free: 7.508 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/0.6371, allocations: 141.7 kB / 0.5882 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003227/0.6403, allocations: 2.023 MB / 0.5901 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.6404, allocations: 0 / 0.5901 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.6409, allocations: 464.3 kB / 0.5906 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.6421, allocations: 216.1 kB / 0.5908 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.6531, allocations: 6.228 MB / 0.5969 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.6556, allocations: 2.377 MB / 0.5992 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002333/0.6579, allocations: 0.9599 MB / 0.6001 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.6582, allocations: 119.4 kB / 0.6002 GB, free: 11.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6583, allocations: 0 / 0.6002 GB, free: 11.04 MB / 446.1 MB Notification: Performance of Templates: time 0.03243/0.6907, allocations: 13.63 MB / 0.6136 GB, free: 13.52 MB / 462.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