Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 76.16 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2954, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01557/0.311, allocations: 15 MB / 0.5463 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3215, allocations: 5.042 MB / 0.5512 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00269/0.3242, allocations: 123.6 kB / 0.5513 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.3344, allocations: 5.962 MB / 0.5572 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007058/0.3415, allocations: 2.739 MB / 0.5598 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3449, allocations: 1.583 MB / 0.5614 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.355, allocations: 7.778 MB / 0.569 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009047/0.364, allocations: 7.374 MB / 0.5762 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004632/0.3687, allocations: 2.937 MB / 0.5791 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005624/0.3743, allocations: 3.797 MB / 0.5828 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.3762, allocations: 0.5703 MB / 0.5833 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/0.38, allocations: 1.393 MB / 0.5847 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004302/0.3843, allocations: 3.523 MB / 0.5881 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005989/0.3904, allocations: 3.833 MB / 0.5919 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.4024, allocations: 11.6 MB / 0.6032 GB, free: 8.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4024, allocations: 7.938 kB / 0.6032 GB, free: 8.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4024, allocations: 0 / 0.6032 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002754/0.4027, allocations: 0 / 0.6032 GB, free: 8.184 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01419/0.4169, allocations: 8.448 MB / 0.6114 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4169, allocations: 12.03 kB / 0.6115 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009133/0.4261, allocations: 2.471 MB / 0.6139 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008631/0.4347, allocations: 4.516 MB / 0.6183 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.4351, allocations: 426.5 kB / 0.6187 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.4363, allocations: 0.5465 MB / 0.6192 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.4659, allocations: 16.69 MB / 0.6355 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002558/0.4662, allocations: 71.41 kB / 0.6356 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.4677, allocations: 259.8 kB / 0.6358 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004307/0.472, allocations: 2.924 MB / 0.6387 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0271/0.4991, allocations: 12.78 MB / 0.6512 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07638/0.5756, allocations: 63.98 MB / 0.7137 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4533/1.029, allocations: 5.487 MB / 0.719 GB, free: 160.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002938/1.032, allocations: 2.117 MB / 0.7211 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/1.046, allocations: 9.931 MB / 0.7308 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.047, allocations: 54.98 kB / 0.7308 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.129e-06/1.047, allocations: 0 / 0.7308 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03439/1.081, allocations: 14.05 MB / 0.7446 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.081, allocations: 148.9 kB / 0.7447 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00631/1.087, allocations: 6.289 MB / 0.7508 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/1.088, allocations: 57.7 kB / 0.7509 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.09, allocations: 5.08 MB / 0.7559 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/1.09, allocations: 0.823 MB / 0.7567 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/1.091, allocations: 1.674 MB / 0.7583 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/1.091, allocations: 301.1 kB / 0.7586 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/1.094, allocations: 2.331 MB / 0.7609 GB, free: 135.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004348/1.099, allocations: 7.674 MB / 0.7684 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/1.107, allocations: 10.87 MB / 0.779 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.107, allocations: 55.94 kB / 0.779 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01263/1.12, allocations: 9.653 MB / 0.7884 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/1.12, allocations: 84 kB / 0.7885 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.12, allocations: 196 kB / 0.7887 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/1.12, allocations: 251.9 kB / 0.789 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/1.125, allocations: 1.931 MB / 0.7908 GB, free: 99.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001618/1.125, allocations: 370.5 kB / 0.7912 GB, free: 98.77 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/1.13, allocations: 411.3 kB / 0.7916 GB, free: 98.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004662/1.13, allocations: 0.5155 MB / 0.7921 GB, free: 97.86 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.00359/1.134, allocations: 3.293 MB / 0.7953 GB, free: 94.56 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/1.135, allocations: 0.5244 MB / 0.7958 GB, free: 94.03 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/1.136, allocations: 0.6201 MB / 0.7964 GB, free: 93.4 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.136, allocations: 15.91 kB / 0.7964 GB, free: 93.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.136, allocations: 7.984 kB / 0.7964 GB, free: 93.38 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/1.136, allocations: 0.537 MB / 0.797 GB, free: 92.81 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/1.137, allocations: 32 kB / 0.797 GB, free: 92.78 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.138, allocations: 91.83 kB / 0.7971 GB, free: 92.69 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.138, allocations: 93.17 kB / 0.7972 GB, free: 92.6 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003051/1.142, allocations: 2.5 MB / 0.7996 GB, free: 90.12 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002435/1.144, allocations: 2.89 MB / 0.8024 GB, free: 87.21 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009022/1.145, allocations: 0.9671 MB / 0.8034 GB, free: 86.24 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004699/1.15, allocations: 3.939 MB / 0.8072 GB, free: 82.31 MB / 0.5607 GB Notification: Performance of Backend: time 6.41e-07/1.15, allocations: 0 / 0.8072 GB, free: 82.31 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007355/1.157, allocations: 4.71 MB / 0.8118 GB, free: 77.67 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02/1.177, allocations: 14.25 MB / 0.8257 GB, free: 63.38 MB / 0.5607 GB Notification: Performance of Templates: time 0.08866/1.266, allocations: 52.83 MB / 0.8773 GB, free: 10.89 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches