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.001296/0.001296, allocations: 118.2 kB / 17.78 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 79.81 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01174/0.3548, allocations: 9.519 MB / 0.5403 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007337/0.3622, allocations: 2.921 MB / 0.5431 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.3636, allocations: 48.53 kB / 0.5432 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.3675, allocations: 1.997 MB / 0.5451 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.3702, allocations: 1.11 MB / 0.5462 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.371, allocations: 282.7 kB / 0.5465 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.3742, allocations: 2.335 MB / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/0.3772, allocations: 2.308 MB / 0.551 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3784, allocations: 0.8722 MB / 0.5519 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3797, allocations: 1.156 MB / 0.553 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.38, allocations: 192 kB / 0.5532 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3813, allocations: 0.7021 MB / 0.5539 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.3824, allocations: 1.114 MB / 0.555 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.3835, allocations: 1.305 MB / 0.5562 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.3884, allocations: 4.319 MB / 0.5604 GB, free: 3.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3885, allocations: 0 / 0.5604 GB, free: 3.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3885, allocations: 8 kB / 0.5605 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.798e-05/0.3885, allocations: 0 / 0.5605 GB, free: 3.445 MB / 414.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.004816/0.3934, allocations: 2.857 MB / 0.5632 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3934, allocations: 12.03 kB / 0.5633 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/0.3987, allocations: 1.553 MB / 0.5648 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.4011, allocations: 1.336 MB / 0.5661 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/0.4013, allocations: 148 kB / 0.5662 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003947/0.4017, allocations: 187.8 kB / 0.5664 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009815/0.4115, allocations: 6.254 MB / 0.5725 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.4116, allocations: 11.88 kB / 0.5725 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.4118, allocations: 87.91 kB / 0.5726 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/0.4139, allocations: 1.34 MB / 0.5739 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009601/0.4235, allocations: 5.334 MB / 0.5791 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.4494, allocations: 19.99 MB / 0.5986 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.4534, allocations: 2.084 MB / 0.6007 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008727/0.4543, allocations: 0.6954 MB / 0.6014 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005289/0.4596, allocations: 3.479 MB / 0.6048 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4597, allocations: 42.88 kB / 0.6048 GB, free: 4.781 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/0.4597, allocations: 4 kB / 0.6048 GB, free: 4.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005195/0.4649, allocations: 1.977 MB / 0.6067 GB, free: 2.789 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.465, allocations: 55.84 kB / 0.6068 GB, free: 2.723 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.4677, allocations: 1.933 MB / 0.6087 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/0.4678, allocations: 37.7 kB / 0.6087 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.4693, allocations: 1.832 MB / 0.6105 GB, free: 14.88 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4696, allocations: 316.1 kB / 0.6108 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/0.4705, allocations: 0.619 MB / 0.6114 GB, free: 13.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.4707, allocations: 357.9 kB / 0.6117 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.472, allocations: 0.8842 MB / 0.6126 GB, free: 12.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.4745, allocations: 2.755 MB / 0.6153 GB, free: 9.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/0.4786, allocations: 3.963 MB / 0.6192 GB, free: 4.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.845e-05/0.4787, allocations: 20 kB / 0.6192 GB, free: 4.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005263/0.484, allocations: 3.526 MB / 0.6226 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.484, allocations: 32.22 kB / 0.6227 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.975e-05/0.4841, allocations: 72 kB / 0.6227 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.4842, allocations: 84 kB / 0.6228 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.4861, allocations: 0.6628 MB / 0.6235 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.4862, allocations: 127.5 kB / 0.6236 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4881, allocations: 411.6 kB / 0.624 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.4883, allocations: 192 kB / 0.6242 GB, free: 15 MB / 494.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.00199/0.4903, allocations: 1.35 MB / 0.6255 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4906, allocations: 157.8 kB / 0.6256 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.491, allocations: 196.9 kB / 0.6258 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.491, allocations: 11.98 kB / 0.6258 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.491, allocations: 0 / 0.6258 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.491, allocations: 3.938 kB / 0.6258 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/0.4967, allocations: 4.069 MB / 0.6298 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.4968, allocations: 4 kB / 0.6298 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.4972, allocations: 103.8 kB / 0.6299 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.4972, allocations: 8 kB / 0.6299 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.4972, allocations: 23.94 kB / 0.6299 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.4973, allocations: 15.92 kB / 0.6299 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.4973, allocations: 4.5 kB / 0.63 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.4988, allocations: 1.234 MB / 0.6312 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.4992, allocations: 246.7 kB / 0.6314 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.4993, allocations: 27.92 kB / 0.6314 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.4998, allocations: 23.98 kB / 0.6314 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.4999, allocations: 51.81 kB / 0.6315 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.5, allocations: 24 kB / 0.6315 GB, free: 7.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.5016, allocations: 1.275 MB / 0.6328 GB, free: 5.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5017, allocations: 0 / 0.6328 GB, free: 5.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002332/0.504, allocations: 0.6765 MB / 0.6334 GB, free: 5.25 MB / 494.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.0003094/0.5043, allocations: 151 kB / 0.6336 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.5071, allocations: 2.038 MB / 0.6356 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5071, allocations: 320 / 0.6356 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.5076, allocations: 467.9 kB / 0.636 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5087, allocations: 242 kB / 0.6362 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.5159, allocations: 5.003 MB / 0.6411 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.518, allocations: 2.267 MB / 0.6433 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00192/0.5199, allocations: 0.9557 MB / 0.6443 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.5202, allocations: 123.4 kB / 0.6444 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of SimCode: time 4.8e-07/0.5202, allocations: 0 / 0.6444 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.02668/0.5469, allocations: 15.02 MB / 0.659 GB, free: 10.9 MB / 0.5137 GB 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