Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009863/0.0009861, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 12.31 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 63.57 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02986/0.1651, allocations: 29.39 MB / 0.5005 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.1814, allocations: 6.267 MB / 0.5066 GB, free: 360 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006302/0.1877, allocations: 123.8 kB / 0.5067 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.263/0.4507, allocations: 287.1 kB / 0.507 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003847/0.4546, allocations: 1.042 MB / 0.508 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.4554, allocations: 273.1 kB / 0.5083 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005443/0.4609, allocations: 3.362 MB / 0.5115 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005563/0.4665, allocations: 3.338 MB / 0.5148 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.468, allocations: 0.6276 MB / 0.5154 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.4695, allocations: 1.029 MB / 0.5164 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.4698, allocations: 87.94 kB / 0.5165 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.4713, allocations: 0.6342 MB / 0.5171 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.4726, allocations: 0.9851 MB / 0.5181 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.4736, allocations: 1.18 MB / 0.5192 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.4781, allocations: 4.001 MB / 0.5231 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.4781, allocations: 0 / 0.5231 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4781, allocations: 0 / 0.5231 GB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.763e-05/0.4782, allocations: 0 / 0.5231 GB, free: 8.34 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.004833/0.483, allocations: 2.346 MB / 0.5254 GB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4831, allocations: 9.188 kB / 0.5254 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.4885, allocations: 1.609 MB / 0.527 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.4923, allocations: 1.312 MB / 0.5283 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.4926, allocations: 151.4 kB / 0.5284 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005732/0.4931, allocations: 195.2 kB / 0.5286 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.5056, allocations: 6.241 MB / 0.5347 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/0.5056, allocations: 17.03 kB / 0.5347 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.5059, allocations: 88.92 kB / 0.5348 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.508, allocations: 1.34 MB / 0.5361 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009313/0.5173, allocations: 5.333 MB / 0.5413 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/0.5484, allocations: 20.13 MB / 0.561 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.5528, allocations: 2.086 MB / 0.563 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009766/0.5538, allocations: 0.7004 MB / 0.5637 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006325/0.5602, allocations: 3.487 MB / 0.5671 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5602, allocations: 39 kB / 0.5672 GB, free: 3.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.228e-06/0.5603, allocations: 0 / 0.5672 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005579/0.5658, allocations: 1.972 MB / 0.5691 GB, free: 1.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.5659, allocations: 63.84 kB / 0.5691 GB, free: 1.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.5694, allocations: 1.941 MB / 0.571 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.5694, allocations: 33.7 kB / 0.5711 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/0.5712, allocations: 1.834 MB / 0.5729 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.5715, allocations: 320.6 kB / 0.5732 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.572, allocations: 272.1 kB / 0.5734 GB, free: 13.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.5722, allocations: 357.9 kB / 0.5738 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.5736, allocations: 0.8842 MB / 0.5746 GB, free: 12.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.5763, allocations: 2.757 MB / 0.5773 GB, free: 8.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004636/0.5809, allocations: 3.967 MB / 0.5812 GB, free: 3.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/0.581, allocations: 16 kB / 0.5812 GB, free: 3.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005557/0.5865, allocations: 3.529 MB / 0.5847 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.5866, allocations: 32 kB / 0.5847 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.703e-05/0.5867, allocations: 68 kB / 0.5848 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-05/0.5868, allocations: 84 kB / 0.5848 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.5886, allocations: 0.6534 MB / 0.5855 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.613e-05/0.5887, allocations: 131.4 kB / 0.5856 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.5905, allocations: 427.1 kB / 0.586 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.5908, allocations: 188 kB / 0.5862 GB, free: 15.19 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.002519/0.5933, allocations: 1.342 MB / 0.5875 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5936, allocations: 153.9 kB / 0.5876 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.5939, allocations: 192.9 kB / 0.5878 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.594, allocations: 14.27 kB / 0.5878 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.594, allocations: 3.984 kB / 0.5878 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.594, allocations: 4 kB / 0.5878 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006816/0.6008, allocations: 4.071 MB / 0.5918 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.6009, allocations: 12 kB / 0.5918 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.6013, allocations: 99.84 kB / 0.5919 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.6013, allocations: 8 kB / 0.5919 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.6013, allocations: 22.34 kB / 0.592 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-05/0.6014, allocations: 15.88 kB / 0.592 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.6014, allocations: 11.98 kB / 0.592 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.6028, allocations: 1.23 MB / 0.5932 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.6033, allocations: 258.7 kB / 0.5934 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6034, allocations: 16 kB / 0.5934 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.6039, allocations: 27.91 kB / 0.5935 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.604, allocations: 55.83 kB / 0.5935 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.604, allocations: 31.05 kB / 0.5936 GB, free: 7.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.6057, allocations: 1.267 MB / 0.5948 GB, free: 6.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6057, allocations: 0 / 0.5948 GB, free: 6.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002566/0.6083, allocations: 0.6804 MB / 0.5955 GB, free: 5.441 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.0002928/0.6086, allocations: 153.5 kB / 0.5956 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002861/0.6115, allocations: 2.018 MB / 0.5976 GB, free: 3.277 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6115, allocations: 4 kB / 0.5976 GB, free: 3.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.612, allocations: 465.5 kB / 0.598 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.6143, allocations: 222.1 kB / 0.5982 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009238/0.6236, allocations: 6.366 MB / 0.6045 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.626, allocations: 2.271 MB / 0.6067 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002332/0.6284, allocations: 0.9557 MB / 0.6076 GB, free: 8.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.6287, allocations: 119.4 kB / 0.6077 GB, free: 8.75 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6287, allocations: 0 / 0.6077 GB, free: 8.75 MB / 462.1 MB Notification: Performance of Templates: time 0.03182/0.6605, allocations: 13.58 MB / 0.621 GB, free: 11.27 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches