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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 200.7 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008148/0.0008149, allocations: 96.66 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3496/0.3496, allocations: 44.81 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3764, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5252, allocations: 106.9 MB / 0.6228 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5255, allocations: 87.94 kB / 0.6229 GB, free: 14.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6528/1.178, allocations: 152.2 MB / 0.7715 GB, free: 72.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.178, allocations: 0 / 0.7715 GB, free: 72.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004915/1.179, allocations: 152 kB / 0.7716 GB, free: 72.74 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02441/1.203, allocations: 7.587 MB / 0.779 GB, free: 65.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.203, allocations: 12.03 kB / 0.779 GB, free: 65.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/1.22, allocations: 3.399 MB / 0.7824 GB, free: 61.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/1.236, allocations: 7.07 MB / 0.7893 GB, free: 54.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/1.237, allocations: 0.5659 MB / 0.7898 GB, free: 53.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003989/1.241, allocations: 0.746 MB / 0.7905 GB, free: 53.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04161/1.282, allocations: 17.67 MB / 0.8078 GB, free: 34.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005354/1.283, allocations: 87.41 kB / 0.8079 GB, free: 33.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003307/1.286, allocations: 359.8 kB / 0.8082 GB, free: 33.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/1.289, allocations: 1.625 MB / 0.8098 GB, free: 31.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02845/1.317, allocations: 13.69 MB / 0.8232 GB, free: 18.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6956/2.013, allocations: 74.49 MB / 0.8959 GB, free: 65.19 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/2.027, allocations: 5.468 MB / 0.9013 GB, free: 64.52 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/2.03, allocations: 2.098 MB / 0.9033 GB, free: 64.49 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/2.046, allocations: 9.877 MB / 0.913 GB, free: 61.56 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/2.046, allocations: 49.47 kB / 0.913 GB, free: 61.52 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=182): time 6.101e-06/2.046, allocations: 0 / 0.913 GB, free: 61.52 MB / 0.5262 GB Notification: Performance of matching and sorting (n=206): time 0.047/2.093, allocations: 14.3 MB / 0.927 GB, free: 57.36 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/2.093, allocations: 151.7 kB / 0.9271 GB, free: 57.2 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009834/2.103, allocations: 6.399 MB / 0.9334 GB, free: 56.68 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003809/2.103, allocations: 57.52 kB / 0.9334 GB, free: 56.64 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003313/2.107, allocations: 5.298 MB / 0.9386 GB, free: 53.77 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008698/2.107, allocations: 0.8235 MB / 0.9394 GB, free: 53.32 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/2.108, allocations: 156.5 kB / 0.9395 GB, free: 53.32 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003872/2.108, allocations: 0.6479 MB / 0.9402 GB, free: 53 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/2.112, allocations: 2.264 MB / 0.9424 GB, free: 52.98 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006613/2.119, allocations: 7.62 MB / 0.9498 GB, free: 46.04 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/2.129, allocations: 10.68 MB / 0.9603 GB, free: 39.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002547/2.13, allocations: 54.38 kB / 0.9603 GB, free: 39.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01882/2.149, allocations: 9.508 MB / 0.9696 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002974/2.149, allocations: 85.66 kB / 0.9697 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003671/2.149, allocations: 198.2 kB / 0.9699 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/2.15, allocations: 249.6 kB / 0.9701 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006211/2.156, allocations: 1.994 MB / 0.9721 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003203/2.156, allocations: 368.8 kB / 0.9724 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007231/2.163, allocations: 0.5774 MB / 0.973 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001949/2.165, allocations: 0.4973 MB / 0.9735 GB, free: 36.01 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1028 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008795/2.174, allocations: 3.407 MB / 0.9768 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.176, allocations: 0.5399 MB / 0.9773 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/2.178, allocations: 0.6451 MB / 0.9779 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.951e-05/2.178, allocations: 27 kB / 0.978 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/2.178, allocations: 3.844 kB / 0.978 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/2.178, allocations: 7.172 kB / 0.978 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/2.207, allocations: 16.65 MB / 0.9942 GB, free: 27.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.433e-05/2.207, allocations: 43.94 kB / 0.9943 GB, free: 27.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/2.208, allocations: 374.2 kB / 0.9946 GB, free: 26.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.079e-05/2.208, allocations: 48 kB / 0.9947 GB, free: 26.84 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/2.208, allocations: 84 kB / 0.9948 GB, free: 26.76 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-05/2.208, allocations: 76.12 kB / 0.9948 GB, free: 26.69 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-05/2.208, allocations: 59.75 kB / 0.9949 GB, free: 26.63 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/2.212, allocations: 3.89 MB / 0.9987 GB, free: 22.44 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/2.214, allocations: 0.6218 MB / 0.9993 GB, free: 21.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/2.216, allocations: 91.67 kB / 0.9994 GB, free: 21.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/2.218, allocations: 164.3 kB / 0.9995 GB, free: 21.61 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/2.219, allocations: 260.9 kB / 0.9998 GB, free: 21.4 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/2.219, allocations: 111.2 kB / 0.9999 GB, free: 21.3 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009091/2.228, allocations: 4.03 MB / 1.004 GB, free: 18.03 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.41e-07/2.228, allocations: 0 / 1.004 GB, free: 18.03 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.009613/2.238, allocations: 1.366 MB / 1.005 GB, free: 16.67 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * 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 (198): * Single equations (assignments): 195 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008379/2.239, allocations: 237.2 kB / 1.005 GB, free: 16.44 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.008809/2.248, allocations: 5.215 MB / 1.01 GB, free: 11.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.842e-05/2.248, allocations: 4 kB / 1.01 GB, free: 11.89 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/2.249, allocations: 1.119 MB / 1.012 GB, free: 10.93 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03675/2.286, allocations: 0.8626 MB / 1.012 GB, free: 10.21 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/2.317, allocations: 18.1 MB / 1.03 GB, free: 8.906 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/2.329, allocations: 5.233 MB / 1.035 GB, free: 4.98 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.008463/2.337, allocations: 2.563 MB / 1.038 GB, free: 3.379 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/2.338, allocations: 350 kB / 1.038 GB, free: 3.043 MB / 0.5418 GB Notification: Performance of SimCode: time 7.01e-07/2.338, allocations: 0 / 1.038 GB, free: 3.043 MB / 0.5418 GB Notification: Performance of Templates: time 0.09791/2.436, allocations: 41.79 MB / 1.079 GB, free: 14.88 MB / 0.5887 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches