Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001136, allocations: 106.3 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.12 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.34 kB / 416.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1398, allocations: 62.45 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03277/0.1726, allocations: 30.3 MB / 0.4976 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.1892, allocations: 6.325 MB / 0.5038 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007134/0.1963, allocations: 127.7 kB / 0.5039 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3003/0.4967, allocations: 1.995 MB / 0.5059 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004147/0.501, allocations: 1.037 MB / 0.5069 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.502, allocations: 271.3 kB / 0.5072 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005387/0.5074, allocations: 3.359 MB / 0.5104 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.5109, allocations: 2.293 MB / 0.5127 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.5124, allocations: 0.7788 MB / 0.5134 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.5144, allocations: 1.22 MB / 0.5146 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.5148, allocations: 147.1 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.5166, allocations: 0.6934 MB / 0.5155 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.5179, allocations: 1.078 MB / 0.5165 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.5192, allocations: 1.272 MB / 0.5178 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.5248, allocations: 4.117 MB / 0.5218 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5248, allocations: 0 / 0.5218 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5248, allocations: 1.312 kB / 0.5218 GB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.493e-05/0.5249, allocations: 0 / 0.5218 GB, free: 8.824 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006398/0.5313, allocations: 2.867 MB / 0.5246 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.5314, allocations: 8.312 kB / 0.5246 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.5362, allocations: 1.557 MB / 0.5261 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.5387, allocations: 1.314 MB / 0.5274 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5388, allocations: 151.2 kB / 0.5275 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.5391, allocations: 191.9 kB / 0.5277 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009698/0.5488, allocations: 6.244 MB / 0.5338 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/0.5489, allocations: 13.66 kB / 0.5338 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.5492, allocations: 87.25 kB / 0.5339 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001849/0.551, allocations: 1.347 MB / 0.5352 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.5619, allocations: 5.339 MB / 0.5404 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.5955, allocations: 20.13 MB / 0.5601 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/0.6004, allocations: 2.078 MB / 0.5621 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.6016, allocations: 0.6875 MB / 0.5628 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006912/0.6085, allocations: 3.496 MB / 0.5662 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.6086, allocations: 35 kB / 0.5662 GB, free: 2.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.768e-06/0.6086, allocations: 7.188 kB / 0.5662 GB, free: 2.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005561/0.6141, allocations: 1.97 MB / 0.5682 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.6142, allocations: 55.84 kB / 0.5682 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.6185, allocations: 1.93 MB / 0.5701 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6186, allocations: 37.7 kB / 0.5701 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.6201, allocations: 1.843 MB / 0.5719 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.6206, allocations: 315.2 kB / 0.5722 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.6217, allocations: 0.6112 MB / 0.5728 GB, free: 11.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6219, allocations: 361.9 kB / 0.5732 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.6233, allocations: 0.8842 MB / 0.5741 GB, free: 10.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.6263, allocations: 2.754 MB / 0.5767 GB, free: 6.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005121/0.6315, allocations: 3.968 MB / 0.5806 GB, free: 2.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-05/0.6316, allocations: 20 kB / 0.5806 GB, free: 2.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006792/0.6384, allocations: 3.519 MB / 0.5841 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.6385, allocations: 32 kB / 0.5841 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/0.6386, allocations: 72.16 kB / 0.5842 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.6387, allocations: 84 kB / 0.5843 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.6409, allocations: 0.6568 MB / 0.5849 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001384/0.641, allocations: 133.8 kB / 0.585 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.6435, allocations: 419 kB / 0.5854 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003861/0.6439, allocations: 191.4 kB / 0.5856 GB, free: 13.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.003149/0.6471, allocations: 1.351 MB / 0.5869 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.6474, allocations: 153.9 kB / 0.5871 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.6479, allocations: 196.8 kB / 0.5873 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.648, allocations: 12 kB / 0.5873 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.648, allocations: 0 / 0.5873 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.648, allocations: 3.984 kB / 0.5873 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/0.6569, allocations: 4.075 MB / 0.5913 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.657, allocations: 8 kB / 0.5913 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.6574, allocations: 95.83 kB / 0.5914 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.6574, allocations: 11.98 kB / 0.5914 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.6575, allocations: 16 kB / 0.5914 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.6575, allocations: 11.94 kB / 0.5914 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.6575, allocations: 12.47 kB / 0.5914 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.6591, allocations: 1.237 MB / 0.5926 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.6597, allocations: 246.8 kB / 0.5928 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.66, allocations: 20 kB / 0.5929 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.6606, allocations: 27.91 kB / 0.5929 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6607, allocations: 51.83 kB / 0.5929 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.6608, allocations: 28 kB / 0.593 GB, free: 5.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002239/0.663, allocations: 1.271 MB / 0.5942 GB, free: 4.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.663, allocations: 0 / 0.5942 GB, free: 4.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003474/0.6665, allocations: 0.6866 MB / 0.5949 GB, free: 3.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.000491/0.667, allocations: 138 kB / 0.595 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.6706, allocations: 2.023 MB / 0.597 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6706, allocations: 384 / 0.597 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.6712, allocations: 459.8 kB / 0.5974 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6726, allocations: 230.2 kB / 0.5976 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.6839, allocations: 6.348 MB / 0.6038 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/0.6873, allocations: 2.275 MB / 0.6061 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002501/0.6898, allocations: 0.948 MB / 0.607 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.6903, allocations: 119.4 kB / 0.6071 GB, free: 7.336 MB / 462.1 MB Notification: Performance of SimCode: time 2.956e-06/0.6903, allocations: 0 / 0.6071 GB, free: 7.336 MB / 462.1 MB Notification: Performance of Templates: time 0.0312/0.7215, allocations: 13.69 MB / 0.6205 GB, free: 9.73 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches