Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 93.97 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 202 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1048, allocations: 63.56 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02735/0.1322, allocations: 29.38 MB / 0.5011 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1461, allocations: 6.271 MB / 0.5072 GB, free: 376 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005261/0.1514, allocations: 123.8 kB / 0.5073 GB, free: 252 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2286/0.38, allocations: 288 kB / 0.5076 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.3839, allocations: 1.04 MB / 0.5086 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.3849, allocations: 269.8 kB / 0.5089 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00535/0.3903, allocations: 3.365 MB / 0.5122 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006255/0.3966, allocations: 3.342 MB / 0.5154 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.3986, allocations: 0.6291 MB / 0.516 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.4009, allocations: 1.027 MB / 0.517 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.4017, allocations: 83.72 kB / 0.5171 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.4037, allocations: 0.6349 MB / 0.5177 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.405, allocations: 0.991 MB / 0.5187 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.4062, allocations: 1.173 MB / 0.5199 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00368/0.4099, allocations: 3.324 MB / 0.5231 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4099, allocations: 1.188 kB / 0.5231 GB, free: 8.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4099, allocations: 0 / 0.5231 GB, free: 8.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.912e-05/0.41, allocations: 0 / 0.5231 GB, free: 8.758 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004459/0.4145, allocations: 2.343 MB / 0.5254 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4145, allocations: 12.38 kB / 0.5254 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.4196, allocations: 1.606 MB / 0.527 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.4217, allocations: 1.316 MB / 0.5283 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/0.4218, allocations: 142.1 kB / 0.5284 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.4221, allocations: 188.8 kB / 0.5286 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008232/0.4303, allocations: 6.246 MB / 0.5347 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.4304, allocations: 14.69 kB / 0.5347 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.4306, allocations: 95.67 kB / 0.5348 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.4323, allocations: 1.34 MB / 0.5361 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008117/0.4404, allocations: 5.335 MB / 0.5413 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.4675, allocations: 20.14 MB / 0.561 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.4718, allocations: 2.075 MB / 0.563 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.4728, allocations: 0.6902 MB / 0.5637 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005899/0.4787, allocations: 3.492 MB / 0.5671 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4788, allocations: 43 kB / 0.5671 GB, free: 4.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.426e-06/0.4788, allocations: 0 / 0.5671 GB, free: 4.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005345/0.4841, allocations: 1.974 MB / 0.569 GB, free: 2.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4842, allocations: 58.28 kB / 0.5691 GB, free: 2.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.4881, allocations: 1.945 MB / 0.571 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.4882, allocations: 33.7 kB / 0.571 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.4898, allocations: 1.836 MB / 0.5728 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.4901, allocations: 317.8 kB / 0.5731 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/0.4906, allocations: 272.1 kB / 0.5734 GB, free: 14.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4908, allocations: 357.9 kB / 0.5737 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.4923, allocations: 0.8881 MB / 0.5746 GB, free: 12.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.4949, allocations: 2.749 MB / 0.5773 GB, free: 9.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0042/0.4991, allocations: 3.971 MB / 0.5812 GB, free: 4.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.739e-05/0.4992, allocations: 20 kB / 0.5812 GB, free: 4.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006078/0.5053, allocations: 3.53 MB / 0.5846 GB, free: 1.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.5053, allocations: 34.34 kB / 0.5847 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.5055, allocations: 68 kB / 0.5847 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.969e-05/0.5056, allocations: 84 kB / 0.5848 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.5075, allocations: 0.6532 MB / 0.5854 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001082/0.5076, allocations: 134 kB / 0.5856 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.5098, allocations: 423.7 kB / 0.586 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.5101, allocations: 184 kB / 0.5861 GB, free: 15.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002454/0.5125, allocations: 1.345 MB / 0.5875 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.5128, allocations: 157.9 kB / 0.5876 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.5133, allocations: 188.9 kB / 0.5878 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.5133, allocations: 15.98 kB / 0.5878 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5133, allocations: 0 / 0.5878 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5134, allocations: 4 kB / 0.5878 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007548/0.5209, allocations: 4.075 MB / 0.5918 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.521, allocations: 4 kB / 0.5918 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.5214, allocations: 100.6 kB / 0.5919 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.5214, allocations: 8 kB / 0.5919 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.5214, allocations: 20 kB / 0.5919 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.5215, allocations: 19.86 kB / 0.5919 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5215, allocations: 8 kB / 0.5919 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.523, allocations: 1.232 MB / 0.5931 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.5235, allocations: 258.7 kB / 0.5934 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.5238, allocations: 16 kB / 0.5934 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.5243, allocations: 35.91 kB / 0.5934 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.5244, allocations: 47.83 kB / 0.5935 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/0.5245, allocations: 28 kB / 0.5935 GB, free: 8.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002089/0.5266, allocations: 1.275 MB / 0.5948 GB, free: 6.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5266, allocations: 4 kB / 0.5948 GB, free: 6.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002785/0.5294, allocations: 0.6748 MB / 0.5954 GB, free: 6.168 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.0003524/0.5297, allocations: 149.8 kB / 0.5956 GB, free: 6.016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003331/0.5331, allocations: 2.018 MB / 0.5975 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.5331, allocations: 0 / 0.5975 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.5337, allocations: 464.6 kB / 0.598 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.5362, allocations: 232.2 kB / 0.5982 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.5469, allocations: 6.677 MB / 0.6047 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.5493, allocations: 2.275 MB / 0.6069 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.5498, allocations: 143.4 kB / 0.6071 GB, free: 10.09 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5498, allocations: 4 kB / 0.6071 GB, free: 10.09 MB / 462.1 MB Notification: Performance of Templates: time 0.04863/0.5985, allocations: 29.32 MB / 0.6357 GB, free: 12.82 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches