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.00167/0.00167, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001624, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4379, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01924/0.4572, allocations: 15 MB / 0.5456 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.4714, allocations: 5.038 MB / 0.5506 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004877/0.4763, allocations: 119.7 kB / 0.5507 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.4884, allocations: 5.966 MB / 0.5565 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.4988, allocations: 2.743 MB / 0.5592 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004757/0.5036, allocations: 1.575 MB / 0.5607 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.5183, allocations: 7.782 MB / 0.5683 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/0.532, allocations: 7.377 MB / 0.5755 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006626/0.5386, allocations: 2.972 MB / 0.5784 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007246/0.5459, allocations: 3.782 MB / 0.5821 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.5487, allocations: 0.5703 MB / 0.5827 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.5538, allocations: 1.389 MB / 0.584 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006575/0.5604, allocations: 3.46 MB / 0.5874 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00974/0.5702, allocations: 3.829 MB / 0.5911 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.5901, allocations: 11.64 MB / 0.6025 GB, free: 8.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5902, allocations: 0 / 0.6025 GB, free: 8.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5902, allocations: 0 / 0.6025 GB, free: 8.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006401/0.5908, allocations: 0 / 0.6025 GB, free: 8.199 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.02784/0.6187, allocations: 8.688 MB / 0.611 GB, free: 15.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6187, allocations: 8.031 kB / 0.611 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.6297, allocations: 2.523 MB / 0.6135 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.6409, allocations: 4.528 MB / 0.6179 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007063/0.6417, allocations: 430.6 kB / 0.6183 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/0.6449, allocations: 0.5387 MB / 0.6188 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03763/0.6826, allocations: 16.68 MB / 0.6351 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002873/0.6829, allocations: 79.33 kB / 0.6352 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001812/0.6847, allocations: 263.8 kB / 0.6354 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.6892, allocations: 2.924 MB / 0.6383 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/0.7192, allocations: 12.79 MB / 0.6508 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08912/0.8084, allocations: 64.09 MB / 0.7134 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6771/1.485, allocations: 5.486 MB / 0.7187 GB, free: 160 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/1.489, allocations: 2.121 MB / 0.7208 GB, free: 159.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/1.506, allocations: 9.952 MB / 0.7305 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.506, allocations: 58.56 kB / 0.7306 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.861e-06/1.506, allocations: 0 / 0.7306 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03404/1.54, allocations: 14.44 MB / 0.7447 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/1.54, allocations: 153 kB / 0.7448 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007249/1.547, allocations: 6.301 MB / 0.751 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/1.548, allocations: 61.45 kB / 0.751 GB, free: 144.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002661/1.55, allocations: 5.275 MB / 0.7562 GB, free: 140 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/1.551, allocations: 0.8583 MB / 0.757 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/1.553, allocations: 1.687 MB / 0.7587 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.553, allocations: 301.1 kB / 0.759 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/1.556, allocations: 2.327 MB / 0.7612 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/1.56, allocations: 7.679 MB / 0.7687 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008529/1.568, allocations: 10.87 MB / 0.7793 GB, free: 111 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.569, allocations: 56 kB / 0.7794 GB, free: 111 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01529/1.584, allocations: 9.684 MB / 0.7889 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/1.584, allocations: 92.22 kB / 0.7889 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/1.584, allocations: 188 kB / 0.7891 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/1.584, allocations: 259.9 kB / 0.7894 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005502/1.59, allocations: 1.918 MB / 0.7912 GB, free: 98.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002181/1.59, allocations: 370.5 kB / 0.7916 GB, free: 98.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006668/1.597, allocations: 415.1 kB / 0.792 GB, free: 98.08 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.598, allocations: 0.5195 MB / 0.7925 GB, free: 97.56 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.005177/1.603, allocations: 3.289 MB / 0.7957 GB, free: 94.26 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.604, allocations: 0.5587 MB / 0.7963 GB, free: 93.7 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.605, allocations: 0.6201 MB / 0.7969 GB, free: 93.07 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/1.605, allocations: 24 kB / 0.7969 GB, free: 93.04 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/1.605, allocations: 0 / 0.7969 GB, free: 93.04 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/1.605, allocations: 15.89 kB / 0.7969 GB, free: 93.03 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.626, allocations: 16.45 MB / 0.813 GB, free: 76.02 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/1.626, allocations: 36.22 kB / 0.813 GB, free: 75.98 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.627, allocations: 391.2 kB / 0.8134 GB, free: 75.6 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.289e-05/1.627, allocations: 48 kB / 0.8134 GB, free: 75.55 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.627, allocations: 88 kB / 0.8135 GB, free: 75.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.348e-05/1.627, allocations: 79.64 kB / 0.8136 GB, free: 75.39 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.452e-05/1.627, allocations: 59.75 kB / 0.8136 GB, free: 75.33 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/1.63, allocations: 3.962 MB / 0.8175 GB, free: 70.82 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.631, allocations: 0.6377 MB / 0.8181 GB, free: 70.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/1.632, allocations: 94.66 kB / 0.8182 GB, free: 70.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.634, allocations: 104.1 kB / 0.8183 GB, free: 69.96 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.634, allocations: 254.8 kB / 0.8186 GB, free: 69.71 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.634, allocations: 119.9 kB / 0.8187 GB, free: 69.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004832/1.639, allocations: 3.927 MB / 0.8225 GB, free: 65.68 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3e-07/1.639, allocations: 0 / 0.8225 GB, free: 65.68 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006986/1.646, allocations: 1.32 MB / 0.8238 GB, free: 64.36 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.0005373/1.646, allocations: 246.2 kB / 0.824 GB, free: 64.11 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007991/1.654, allocations: 5.432 MB / 0.8293 GB, free: 58.73 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.204e-05/1.654, allocations: 8 kB / 0.8294 GB, free: 58.72 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.656, allocations: 1.132 MB / 0.8305 GB, free: 57.59 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.661, allocations: 0.8539 MB / 0.8313 GB, free: 56.75 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.682, allocations: 14.98 MB / 0.8459 GB, free: 41.18 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005132/1.687, allocations: 5.063 MB / 0.8509 GB, free: 36.08 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004916/1.692, allocations: 2.514 MB / 0.8533 GB, free: 33.56 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/1.693, allocations: 351.4 kB / 0.8537 GB, free: 33.22 MB / 0.5607 GB Notification: Performance of SimCode: time 1.022e-06/1.693, allocations: 0 / 0.8537 GB, free: 33.22 MB / 0.5607 GB Notification: Performance of Templates: time 0.06913/1.762, allocations: 38.33 MB / 0.8911 GB, free: 11.18 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