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.001342/0.001342, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 204 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.12 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 79.88 kB / 482 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 62.44 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01804/0.362, allocations: 15.04 MB / 0.5464 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.374, allocations: 5.052 MB / 0.5514 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.3772, allocations: 119.7 kB / 0.5515 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.389, allocations: 6.024 MB / 0.5573 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.397, allocations: 2.809 MB / 0.5601 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.4007, allocations: 1.579 MB / 0.5616 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01259/0.4133, allocations: 7.79 MB / 0.5692 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008924/0.4222, allocations: 6.128 MB / 0.5752 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.4279, allocations: 2.929 MB / 0.5781 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/0.4341, allocations: 3.797 MB / 0.5818 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.4362, allocations: 0.5703 MB / 0.5824 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.4399, allocations: 1.389 MB / 0.5837 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005197/0.4451, allocations: 3.603 MB / 0.5872 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006041/0.4511, allocations: 3.833 MB / 0.591 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.4675, allocations: 11.64 MB / 0.6023 GB, free: 9.031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4675, allocations: 0 / 0.6023 GB, free: 9.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4675, allocations: 0 / 0.6023 GB, free: 9.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003861/0.4679, allocations: 4 kB / 0.6023 GB, free: 9.027 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.01957/0.4875, allocations: 8.674 MB / 0.6108 GB, free: 264 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4875, allocations: 8.031 kB / 0.6108 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4988, allocations: 2.518 MB / 0.6133 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.5102, allocations: 4.543 MB / 0.6177 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005013/0.5107, allocations: 426.6 kB / 0.6181 GB, free: 8.688 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.5128, allocations: 0.5349 MB / 0.6186 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/0.5462, allocations: 16.69 MB / 0.6349 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.5464, allocations: 67.41 kB / 0.635 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007884/0.5472, allocations: 263.8 kB / 0.6353 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004767/0.552, allocations: 2.939 MB / 0.6381 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0302/0.5822, allocations: 12.77 MB / 0.6506 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09599/0.6781, allocations: 64.1 MB / 0.7132 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5283/1.206, allocations: 5.342 MB / 0.7184 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/1.21, allocations: 2 MB / 0.7204 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/1.224, allocations: 9.94 MB / 0.7301 GB, free: 155.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.224, allocations: 60.19 kB / 0.7301 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.47e-06/1.224, allocations: 2.859 kB / 0.7301 GB, free: 155.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.0315/1.256, allocations: 14.45 MB / 0.7442 GB, free: 150 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.256, allocations: 151.2 kB / 0.7444 GB, free: 149.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/1.262, allocations: 6.307 MB / 0.7506 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.262, allocations: 49.7 kB / 0.7506 GB, free: 145.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.264, allocations: 5.284 MB / 0.7558 GB, free: 141 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/1.265, allocations: 0.8541 MB / 0.7566 GB, free: 140.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/1.266, allocations: 1.687 MB / 0.7582 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/1.266, allocations: 305.1 kB / 0.7585 GB, free: 138.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/1.269, allocations: 2.327 MB / 0.7608 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004081/1.273, allocations: 7.675 MB / 0.7683 GB, free: 125.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/1.28, allocations: 10.88 MB / 0.7789 GB, free: 112.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-05/1.28, allocations: 52 kB / 0.779 GB, free: 112 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01139/1.292, allocations: 9.68 MB / 0.7884 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.222e-05/1.292, allocations: 92.02 kB / 0.7885 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/1.292, allocations: 192 kB / 0.7887 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/1.292, allocations: 251.9 kB / 0.7889 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/1.297, allocations: 1.922 MB / 0.7908 GB, free: 99.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001676/1.297, allocations: 366.6 kB / 0.7912 GB, free: 99.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/1.302, allocations: 427.4 kB / 0.7916 GB, free: 99.11 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004581/1.302, allocations: 0.5117 MB / 0.7921 GB, free: 98.6 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.003309/1.306, allocations: 3.291 MB / 0.7953 GB, free: 95.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/1.306, allocations: 0.5509 MB / 0.7958 GB, free: 94.75 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/1.307, allocations: 0.6278 MB / 0.7964 GB, free: 94.11 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.307, allocations: 20 kB / 0.7965 GB, free: 94.09 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.307, allocations: 4 kB / 0.7965 GB, free: 94.09 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.307, allocations: 11.95 kB / 0.7965 GB, free: 94.08 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.326, allocations: 16.45 MB / 0.8125 GB, free: 77.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/1.326, allocations: 44.03 kB / 0.8126 GB, free: 77.02 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.327, allocations: 383.2 kB / 0.8129 GB, free: 76.65 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-05/1.327, allocations: 52 kB / 0.813 GB, free: 76.6 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.327, allocations: 87.81 kB / 0.8131 GB, free: 76.52 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.378e-05/1.327, allocations: 75.72 kB / 0.8132 GB, free: 76.44 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-05/1.327, allocations: 55.75 kB / 0.8132 GB, free: 76.39 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/1.33, allocations: 3.965 MB / 0.8171 GB, free: 71.86 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.331, allocations: 0.6338 MB / 0.8177 GB, free: 71.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006303/1.332, allocations: 92.16 kB / 0.8178 GB, free: 71.11 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.334, allocations: 103.9 kB / 0.8179 GB, free: 71.01 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/1.334, allocations: 262.7 kB / 0.8181 GB, free: 70.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.334, allocations: 115.9 kB / 0.8182 GB, free: 70.64 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006627/1.341, allocations: 3.927 MB / 0.8221 GB, free: 66.72 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.21e-07/1.341, allocations: 0 / 0.8221 GB, free: 66.72 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007051/1.348, allocations: 1.32 MB / 0.8234 GB, free: 65.41 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.0005077/1.349, allocations: 242.2 kB / 0.8236 GB, free: 65.16 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007593/1.356, allocations: 5.21 MB / 0.8287 GB, free: 60 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.668e-05/1.356, allocations: 8 kB / 0.8287 GB, free: 59.99 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.358, allocations: 1.089 MB / 0.8298 GB, free: 58.91 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/1.363, allocations: 0.8508 MB / 0.8306 GB, free: 58.07 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/1.383, allocations: 14.99 MB / 0.8452 GB, free: 42.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004933/1.388, allocations: 5.063 MB / 0.8502 GB, free: 37.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00499/1.392, allocations: 2.522 MB / 0.8526 GB, free: 34.87 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/1.393, allocations: 343.4 kB / 0.853 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of SimCode: time 1.543e-06/1.393, allocations: 0 / 0.853 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of Templates: time 0.07562/1.469, allocations: 38.64 MB / 0.8907 GB, free: 12.19 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 -s gbode -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