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.001241/0.001241, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 203.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2679/0.2679, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.018/0.4247, allocations: 14.99 MB / 0.5456 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.4386, allocations: 5.041 MB / 0.5506 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005687/0.4443, allocations: 127.6 kB / 0.5507 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01283/0.4572, allocations: 5.962 MB / 0.5565 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.4679, allocations: 2.738 MB / 0.5592 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.4727, allocations: 1.579 MB / 0.5607 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01551/0.4882, allocations: 7.78 MB / 0.5683 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.5012, allocations: 7.389 MB / 0.5755 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00608/0.5073, allocations: 2.96 MB / 0.5784 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007778/0.5151, allocations: 3.778 MB / 0.5821 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003022/0.5182, allocations: 0.5742 MB / 0.5827 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.5233, allocations: 1.393 MB / 0.584 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006056/0.5294, allocations: 3.448 MB / 0.5874 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007923/0.5373, allocations: 3.829 MB / 0.5911 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.5564, allocations: 11.65 MB / 0.6025 GB, free: 8.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.5565, allocations: 0 / 0.6025 GB, free: 8.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5565, allocations: 0 / 0.6025 GB, free: 8.145 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000576/0.5571, allocations: 3.938 kB / 0.6025 GB, free: 8.141 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.02621/0.5833, allocations: 8.679 MB / 0.611 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5834, allocations: 12.03 kB / 0.611 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.5943, allocations: 2.519 MB / 0.6135 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6058, allocations: 4.544 MB / 0.6179 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006091/0.6064, allocations: 426.6 kB / 0.6183 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/0.6095, allocations: 0.5427 MB / 0.6188 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04205/0.6516, allocations: 16.67 MB / 0.6351 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004194/0.652, allocations: 75.34 kB / 0.6352 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/0.6545, allocations: 263.7 kB / 0.6354 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005132/0.6597, allocations: 2.927 MB / 0.6383 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/0.6936, allocations: 12.79 MB / 0.6508 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/0.7958, allocations: 64.09 MB / 0.7134 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4354/1.231, allocations: 5.487 MB / 0.7187 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/1.236, allocations: 2.123 MB / 0.7208 GB, free: 161 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/1.259, allocations: 9.95 MB / 0.7305 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.259, allocations: 55.81 kB / 0.7306 GB, free: 156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=182): time 6.161e-06/1.259, allocations: 0 / 0.7306 GB, free: 156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=206): time 0.04815/1.307, allocations: 14.44 MB / 0.7447 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/1.307, allocations: 149.1 kB / 0.7448 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007897/1.315, allocations: 6.311 MB / 0.751 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.316, allocations: 61.45 kB / 0.751 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002518/1.318, allocations: 5.27 MB / 0.7562 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007479/1.319, allocations: 0.8503 MB / 0.757 GB, free: 140 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/1.32, allocations: 1.691 MB / 0.7587 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/1.321, allocations: 311.2 kB / 0.759 GB, free: 138 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/1.323, allocations: 2.324 MB / 0.7612 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004989/1.328, allocations: 7.677 MB / 0.7687 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008691/1.337, allocations: 10.88 MB / 0.7794 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/1.337, allocations: 56 kB / 0.7794 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01386/1.351, allocations: 9.677 MB / 0.7889 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.351, allocations: 88 kB / 0.7889 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/1.351, allocations: 188 kB / 0.7891 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/1.352, allocations: 255.9 kB / 0.7894 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005249/1.357, allocations: 1.922 MB / 0.7912 GB, free: 99.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000191/1.357, allocations: 370.5 kB / 0.7916 GB, free: 99.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007568/1.365, allocations: 419.4 kB / 0.792 GB, free: 98.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.366, allocations: 0.5126 MB / 0.7925 GB, free: 98.43 MB / 0.5606 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.006736/1.373, allocations: 3.296 MB / 0.7957 GB, free: 95.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.375, allocations: 0.5548 MB / 0.7963 GB, free: 94.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/1.378, allocations: 0.6201 MB / 0.7969 GB, free: 93.94 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-05/1.378, allocations: 24 kB / 0.7969 GB, free: 93.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-05/1.378, allocations: 6.734 kB / 0.7969 GB, free: 93.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-05/1.378, allocations: 7.969 kB / 0.7969 GB, free: 93.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03654/1.414, allocations: 16.46 MB / 0.813 GB, free: 76.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000175/1.415, allocations: 36 kB / 0.813 GB, free: 76.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.417, allocations: 387.2 kB / 0.8134 GB, free: 76.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/1.417, allocations: 48 kB / 0.8134 GB, free: 76.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003337/1.417, allocations: 83.98 kB / 0.8135 GB, free: 76.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.494e-05/1.417, allocations: 75.72 kB / 0.8136 GB, free: 76.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.293e-05/1.418, allocations: 63.73 kB / 0.8136 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006411/1.424, allocations: 3.968 MB / 0.8175 GB, free: 71.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/1.426, allocations: 0.6377 MB / 0.8181 GB, free: 71.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/1.428, allocations: 87.97 kB / 0.8182 GB, free: 70.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004215/1.432, allocations: 103.9 kB / 0.8183 GB, free: 70.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/1.433, allocations: 258.8 kB / 0.8186 GB, free: 70.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.433, allocations: 111 kB / 0.8187 GB, free: 70.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.01229/1.445, allocations: 3.935 MB / 0.8225 GB, free: 66.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.984e-06/1.446, allocations: 0 / 0.8225 GB, free: 66.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01527/1.461, allocations: 1.309 MB / 0.8238 GB, free: 65.24 MB / 0.5606 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.001114/1.462, allocations: 253.8 kB / 0.824 GB, free: 64.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.477, allocations: 5.44 MB / 0.8293 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-05/1.477, allocations: 8 kB / 0.8294 GB, free: 59.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/1.48, allocations: 1.133 MB / 0.8305 GB, free: 58.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/1.491, allocations: 0.8495 MB / 0.8313 GB, free: 57.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/1.522, allocations: 14.99 MB / 0.8459 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007629/1.53, allocations: 5.055 MB / 0.8509 GB, free: 36.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00564/1.535, allocations: 2.522 MB / 0.8533 GB, free: 34.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/1.536, allocations: 339.4 kB / 0.8536 GB, free: 34.09 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/1.536, allocations: 4 kB / 0.8537 GB, free: 34.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.07303/1.609, allocations: 38.33 MB / 0.8911 GB, free: 12.05 MB / 0.5762 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