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.0009327/0.0009328, allocations: 98.38 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.7 MB / 246.8 MB, free: 9.562 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 8.328 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02916/0.1564, allocations: 29.38 MB / 0.5004 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.1736, allocations: 6.271 MB / 0.5066 GB, free: 336 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005271/0.1789, allocations: 123.8 kB / 0.5067 GB, free: 212 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2395/0.4184, allocations: 289.6 kB / 0.507 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.4215, allocations: 1.04 MB / 0.508 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/0.4223, allocations: 271.3 kB / 0.5082 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005261/0.4275, allocations: 3.366 MB / 0.5115 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005257/0.4328, allocations: 3.336 MB / 0.5148 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.4344, allocations: 0.6302 MB / 0.5154 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.4362, allocations: 1.026 MB / 0.5164 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.4365, allocations: 85.53 kB / 0.5165 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.438, allocations: 0.6314 MB / 0.5171 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.4392, allocations: 0.9946 MB / 0.5181 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.4404, allocations: 1.175 MB / 0.5192 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.4451, allocations: 4.004 MB / 0.5231 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4451, allocations: 1.375 kB / 0.5231 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4451, allocations: 1.312 kB / 0.5231 GB, free: 8.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.4452, allocations: 0 / 0.5231 GB, free: 8.82 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.005547/0.4508, allocations: 2.349 MB / 0.5254 GB, free: 7.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.4508, allocations: 9.062 kB / 0.5254 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005902/0.4567, allocations: 1.602 MB / 0.527 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.4604, allocations: 1.318 MB / 0.5283 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.4606, allocations: 146.4 kB / 0.5284 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006765/0.4613, allocations: 194.2 kB / 0.5286 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.4724, allocations: 6.242 MB / 0.5347 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.277e-05/0.4725, allocations: 10.78 kB / 0.5347 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.4728, allocations: 93.08 kB / 0.5348 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.4747, allocations: 1.344 MB / 0.5361 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009794/0.4845, allocations: 5.326 MB / 0.5413 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02876/0.5133, allocations: 20.14 MB / 0.561 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/0.5177, allocations: 2.088 MB / 0.563 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/0.5187, allocations: 0.6937 MB / 0.5637 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005791/0.5245, allocations: 3.48 MB / 0.5671 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5245, allocations: 43 kB / 0.5671 GB, free: 3.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.504e-06/0.5246, allocations: 0 / 0.5671 GB, free: 3.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005577/0.5301, allocations: 1.98 MB / 0.5691 GB, free: 1.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5302, allocations: 55.84 kB / 0.5691 GB, free: 1.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.5333, allocations: 1.942 MB / 0.571 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.5334, allocations: 37.7 kB / 0.5711 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.5347, allocations: 1.83 MB / 0.5728 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.535, allocations: 318.7 kB / 0.5731 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.5354, allocations: 274.3 kB / 0.5734 GB, free: 13.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5355, allocations: 361.9 kB / 0.5738 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.5367, allocations: 0.8842 MB / 0.5746 GB, free: 12.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.5392, allocations: 2.754 MB / 0.5773 GB, free: 8.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.5435, allocations: 3.966 MB / 0.5812 GB, free: 3.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-05/0.5436, allocations: 20 kB / 0.5812 GB, free: 3.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005438/0.549, allocations: 3.522 MB / 0.5846 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.5491, allocations: 32 kB / 0.5847 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-05/0.5492, allocations: 68 kB / 0.5847 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-05/0.5493, allocations: 88 kB / 0.5848 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.5512, allocations: 0.6544 MB / 0.5855 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.5513, allocations: 134.6 kB / 0.5856 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.5532, allocations: 421.8 kB / 0.586 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.5534, allocations: 188 kB / 0.5862 GB, free: 15.32 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.002406/0.5558, allocations: 1.348 MB / 0.5875 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.5561, allocations: 153.9 kB / 0.5876 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.5565, allocations: 196.9 kB / 0.5878 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.5565, allocations: 8 kB / 0.5878 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.5566, allocations: 0 / 0.5878 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5566, allocations: 7.984 kB / 0.5878 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.5634, allocations: 4.074 MB / 0.5918 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5635, allocations: 4 kB / 0.5918 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.5639, allocations: 96.58 kB / 0.5919 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.5639, allocations: 8 kB / 0.5919 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.5639, allocations: 23.98 kB / 0.5919 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.564, allocations: 15.88 kB / 0.592 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.564, allocations: 8 kB / 0.592 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.5655, allocations: 1.237 MB / 0.5932 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.5659, allocations: 254.7 kB / 0.5934 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5661, allocations: 19.98 kB / 0.5934 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.5666, allocations: 31.92 kB / 0.5935 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.5667, allocations: 51.83 kB / 0.5935 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.5668, allocations: 39.64 kB / 0.5935 GB, free: 7.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.5685, allocations: 1.267 MB / 0.5948 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5686, allocations: 0 / 0.5948 GB, free: 6.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002952/0.5715, allocations: 0.6765 MB / 0.5954 GB, free: 5.57 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.0004022/0.5719, allocations: 146.5 kB / 0.5956 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.5754, allocations: 2.029 MB / 0.5976 GB, free: 3.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5754, allocations: 3.938 kB / 0.5976 GB, free: 3.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/0.576, allocations: 457.5 kB / 0.598 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.5785, allocations: 222 kB / 0.5982 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009267/0.5878, allocations: 6.371 MB / 0.6044 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002287/0.5901, allocations: 2.275 MB / 0.6067 GB, free: 9.953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002348/0.5925, allocations: 0.948 MB / 0.6076 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.5928, allocations: 123.4 kB / 0.6077 GB, free: 8.879 MB / 462.1 MB Notification: Performance of SimCode: time 1.934e-06/0.5928, allocations: 0 / 0.6077 GB, free: 8.879 MB / 462.1 MB Notification: Performance of Templates: time 0.03012/0.6229, allocations: 13.57 MB / 0.621 GB, free: 11.39 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches