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.0008454/0.0008451, allocations: 94.52 kB / 18.01 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.001104/0.001104, allocations: 207.1 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002665, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 63.56 MB / 483.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2773/0.3784, allocations: 82.39 MB / 0.5529 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03817/0.4166, allocations: 16.18 MB / 0.5687 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01766/0.4343, allocations: 381.7 kB / 0.569 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.4369, allocations: 0.6388 MB / 0.5696 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.4441, allocations: 2.612 MB / 0.5722 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.4469, allocations: 1.253 MB / 0.5734 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.4601, allocations: 11.13 MB / 0.5843 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.4748, allocations: 10.35 MB / 0.5944 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.4793, allocations: 2.207 MB / 0.5965 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.4848, allocations: 3.445 MB / 0.5999 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.4862, allocations: 244 kB / 0.6001 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.4893, allocations: 1.131 MB / 0.6012 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003606/0.4929, allocations: 3.089 MB / 0.6043 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004964/0.4979, allocations: 3.366 MB / 0.6076 GB, free: 7.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009599/0.5075, allocations: 8.885 MB / 0.6162 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5076, allocations: 0 / 0.6162 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5076, allocations: 0 / 0.6162 GB, free: 14.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004382/0.508, allocations: 0 / 0.6162 GB, free: 14.68 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.01518/0.5232, allocations: 6.963 MB / 0.623 GB, free: 7.633 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5233, allocations: 12.88 kB / 0.623 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.5336, allocations: 2.534 MB / 0.6255 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009216/0.5428, allocations: 4.399 MB / 0.6298 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/0.5433, allocations: 427 kB / 0.6302 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.5453, allocations: 0.5426 MB / 0.6307 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0335/0.5788, allocations: 16.73 MB / 0.6471 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.5792, allocations: 71.3 kB / 0.6472 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001764/0.581, allocations: 267.8 kB / 0.6474 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004739/0.5858, allocations: 2.92 MB / 0.6503 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02886/0.6147, allocations: 12.83 MB / 0.6628 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5222/1.137, allocations: 64.16 MB / 0.7254 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/1.153, allocations: 5.496 MB / 0.7308 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/1.156, allocations: 2.118 MB / 0.7329 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01727/1.174, allocations: 9.944 MB / 0.7426 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.174, allocations: 56.56 kB / 0.7426 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 6.011e-06/1.174, allocations: 0 / 0.7426 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03597/1.21, allocations: 14.1 MB / 0.7564 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.21, allocations: 154.3 kB / 0.7566 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008981/1.219, allocations: 6.29 MB / 0.7627 GB, free: 122 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003076/1.219, allocations: 57.52 kB / 0.7628 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.222, allocations: 5.078 MB / 0.7677 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008258/1.223, allocations: 0.824 MB / 0.7685 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/1.224, allocations: 0.7373 MB / 0.7692 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/1.224, allocations: 305.1 kB / 0.7695 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.228, allocations: 2.33 MB / 0.7718 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/1.233, allocations: 7.675 MB / 0.7793 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009122/1.242, allocations: 10.86 MB / 0.7899 GB, free: 91.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.242, allocations: 52 kB / 0.79 GB, free: 91.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01518/1.257, allocations: 9.663 MB / 0.7994 GB, free: 81.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/1.258, allocations: 84 kB / 0.7995 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002784/1.258, allocations: 192.2 kB / 0.7997 GB, free: 81.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/1.258, allocations: 252 kB / 0.7999 GB, free: 81.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005485/1.264, allocations: 1.922 MB / 0.8018 GB, free: 79.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002481/1.264, allocations: 378.5 kB / 0.8021 GB, free: 78.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005621/1.27, allocations: 409.8 kB / 0.8025 GB, free: 78.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.271, allocations: 0.5154 MB / 0.803 GB, free: 77.82 MB / 0.5294 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.004901/1.276, allocations: 3.285 MB / 0.8062 GB, free: 74.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009482/1.276, allocations: 0.5243 MB / 0.8068 GB, free: 73.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.278, allocations: 0.6201 MB / 0.8074 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/1.278, allocations: 25.47 kB / 0.8074 GB, free: 73.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/1.278, allocations: 7.984 kB / 0.8074 GB, free: 73.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/1.278, allocations: 7.969 kB / 0.8074 GB, free: 73.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/1.3, allocations: 16.45 MB / 0.8235 GB, free: 56.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.709e-05/1.301, allocations: 40.19 kB / 0.8235 GB, free: 56.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.302, allocations: 387.2 kB / 0.8239 GB, free: 55.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/1.302, allocations: 52 kB / 0.8239 GB, free: 55.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/1.302, allocations: 80 kB / 0.824 GB, free: 55.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.94e-05/1.302, allocations: 71.72 kB / 0.8241 GB, free: 55.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.488e-05/1.302, allocations: 59.75 kB / 0.8241 GB, free: 55.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/1.306, allocations: 3.939 MB / 0.828 GB, free: 51.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.307, allocations: 0.6112 MB / 0.8286 GB, free: 50.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.308, allocations: 87.97 kB / 0.8286 GB, free: 50.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/1.311, allocations: 111.2 kB / 0.8288 GB, free: 50.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.311, allocations: 266.7 kB / 0.829 GB, free: 50.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.311, allocations: 109.5 kB / 0.8291 GB, free: 49.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00576/1.317, allocations: 3.931 MB / 0.833 GB, free: 46.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.317, allocations: 4 kB / 0.833 GB, free: 46.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007535/1.324, allocations: 1.31 MB / 0.8342 GB, free: 44.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0006449/1.325, allocations: 244.3 kB / 0.8345 GB, free: 44.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00749/1.333, allocations: 5.337 MB / 0.8397 GB, free: 39.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.075e-05/1.333, allocations: 8.5 kB / 0.8397 GB, free: 39.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.334, allocations: 1.13 MB / 0.8408 GB, free: 38.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0359/1.37, allocations: 0.8282 MB / 0.8416 GB, free: 37.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.396, allocations: 19.09 MB / 0.8602 GB, free: 17.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007552/1.404, allocations: 5.048 MB / 0.8652 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.405, allocations: 407.4 kB / 0.8656 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.405, allocations: 0 / 0.8656 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.36/1.765, allocations: 82.59 MB / 0.9462 GB, free: 175.2 MB / 0.5763 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