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.001411/0.001411, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, 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.2329/0.2329, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 79.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4304, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01808/0.4486, allocations: 14.99 MB / 0.5456 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.4648, allocations: 5.045 MB / 0.5506 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004561/0.4694, allocations: 119.7 kB / 0.5507 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.4811, allocations: 5.962 MB / 0.5565 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009926/0.4911, allocations: 2.824 MB / 0.5593 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.4958, allocations: 1.579 MB / 0.5608 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01341/0.5092, allocations: 7.775 MB / 0.5684 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.5212, allocations: 7.39 MB / 0.5756 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007341/0.5285, allocations: 2.929 MB / 0.5785 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007266/0.5358, allocations: 3.793 MB / 0.5822 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002554/0.5384, allocations: 0.5703 MB / 0.5827 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.5429, allocations: 1.393 MB / 0.5841 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005302/0.5482, allocations: 3.538 MB / 0.5875 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008625/0.5569, allocations: 3.829 MB / 0.5913 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01812/0.575, allocations: 11.59 MB / 0.6026 GB, free: 8.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5751, allocations: 4 kB / 0.6026 GB, free: 8.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5751, allocations: 0 / 0.6026 GB, free: 8.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005715/0.5756, allocations: 3.938 kB / 0.6026 GB, free: 8.121 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.02693/0.6026, allocations: 8.452 MB / 0.6109 GB, free: 15.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.6027, allocations: 8.031 kB / 0.6109 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.6139, allocations: 2.479 MB / 0.6133 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.6246, allocations: 4.509 MB / 0.6177 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.6251, allocations: 430.5 kB / 0.6181 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002493/0.6277, allocations: 0.5349 MB / 0.6186 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.6616, allocations: 16.69 MB / 0.6349 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.6619, allocations: 67.41 kB / 0.635 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.6631, allocations: 271.7 kB / 0.6352 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004524/0.6676, allocations: 2.927 MB / 0.6381 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/0.6986, allocations: 12.78 MB / 0.6506 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09322/0.7918, allocations: 63.98 MB / 0.7131 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5791/1.371, allocations: 5.489 MB / 0.7184 GB, free: 160.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00376/1.375, allocations: 2.121 MB / 0.7205 GB, free: 159.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01898/1.394, allocations: 9.925 MB / 0.7302 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/1.394, allocations: 58.44 kB / 0.7302 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 6.903e-06/1.394, allocations: 0 / 0.7302 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.0376/1.432, allocations: 14.06 MB / 0.744 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/1.432, allocations: 145.2 kB / 0.7441 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00859/1.44, allocations: 6.286 MB / 0.7502 GB, free: 145.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003839/1.441, allocations: 65.16 kB / 0.7503 GB, free: 145.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002452/1.443, allocations: 5.083 MB / 0.7553 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006532/1.444, allocations: 0.8246 MB / 0.7561 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/1.445, allocations: 1.673 MB / 0.7577 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/1.445, allocations: 303.9 kB / 0.758 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/1.448, allocations: 2.327 MB / 0.7603 GB, free: 135 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005694/1.454, allocations: 7.673 MB / 0.7678 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008973/1.463, allocations: 10.87 MB / 0.7784 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/1.463, allocations: 56 kB / 0.7784 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01595/1.479, allocations: 9.656 MB / 0.7879 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.721e-05/1.479, allocations: 88 kB / 0.7879 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.479, allocations: 192 kB / 0.7881 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/1.48, allocations: 255.9 kB / 0.7884 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/1.485, allocations: 1.922 MB / 0.7903 GB, free: 99.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001899/1.486, allocations: 370.9 kB / 0.7906 GB, free: 98.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/1.493, allocations: 415 kB / 0.791 GB, free: 98.34 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001755/1.494, allocations: 0.5154 MB / 0.7915 GB, free: 97.83 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.005963/1.5, allocations: 3.285 MB / 0.7947 GB, free: 94.53 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.502, allocations: 0.5244 MB / 0.7952 GB, free: 94 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/1.503, allocations: 0.624 MB / 0.7958 GB, free: 93.37 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.503, allocations: 24 kB / 0.7959 GB, free: 93.34 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/1.503, allocations: 0 / 0.7959 GB, free: 93.34 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/1.503, allocations: 15.95 kB / 0.7959 GB, free: 93.33 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/1.524, allocations: 16.45 MB / 0.8119 GB, free: 76.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/1.524, allocations: 40 kB / 0.812 GB, free: 76.28 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.526, allocations: 387.2 kB / 0.8123 GB, free: 75.9 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-05/1.526, allocations: 48 kB / 0.8124 GB, free: 75.86 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/1.526, allocations: 87.98 kB / 0.8125 GB, free: 75.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-05/1.526, allocations: 71.72 kB / 0.8125 GB, free: 75.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.799e-05/1.526, allocations: 62.75 kB / 0.8126 GB, free: 75.64 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/1.53, allocations: 3.938 MB / 0.8164 GB, free: 71.14 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.531, allocations: 0.6111 MB / 0.817 GB, free: 70.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/1.532, allocations: 87.97 kB / 0.8171 GB, free: 70.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.533, allocations: 103.9 kB / 0.8172 GB, free: 70.32 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/1.534, allocations: 258.8 kB / 0.8175 GB, free: 70.07 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.534, allocations: 111.9 kB / 0.8176 GB, free: 69.96 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005247/1.539, allocations: 3.935 MB / 0.8214 GB, free: 66.03 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2e-07/1.539, allocations: 0 / 0.8214 GB, free: 66.03 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007433/1.547, allocations: 1.313 MB / 0.8227 GB, free: 64.73 MB / 0.5607 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.0004734/1.547, allocations: 240.9 kB / 0.8229 GB, free: 64.48 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007092/1.554, allocations: 5.437 MB / 0.8282 GB, free: 59.12 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/1.554, allocations: 8 kB / 0.8283 GB, free: 59.11 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.555, allocations: 1.13 MB / 0.8294 GB, free: 57.99 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.56, allocations: 0.8462 MB / 0.8302 GB, free: 57.15 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.581, allocations: 14.75 MB / 0.8446 GB, free: 41.84 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/1.587, allocations: 5.064 MB / 0.8495 GB, free: 36.73 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005228/1.592, allocations: 2.522 MB / 0.852 GB, free: 34.21 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/1.593, allocations: 347.4 kB / 0.8523 GB, free: 33.87 MB / 0.5607 GB Notification: Performance of SimCode: time 1.042e-06/1.593, allocations: 0 / 0.8523 GB, free: 33.87 MB / 0.5607 GB Notification: Performance of Templates: time 0.07042/1.663, allocations: 38.32 MB / 0.8897 GB, free: 11.84 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches