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.001202/0.001202, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 8.922 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 81 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 62.44 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3104/0.4309, allocations: 84.4 MB / 0.5511 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04427/0.4752, allocations: 16.25 MB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01976/0.4951, allocations: 386.2 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.5065, allocations: 6.003 MB / 0.5732 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007409/0.514, allocations: 2.602 MB / 0.5757 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.5176, allocations: 1.49 MB / 0.5772 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01326/0.5309, allocations: 11.12 MB / 0.5881 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.5419, allocations: 7.385 MB / 0.5953 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.5471, allocations: 2.706 MB / 0.5979 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.5533, allocations: 4.086 MB / 0.6019 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.5552, allocations: 452 kB / 0.6023 GB, free: 9.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.559, allocations: 1.35 MB / 0.6037 GB, free: 8.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004456/0.5634, allocations: 3.382 MB / 0.607 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006272/0.5697, allocations: 3.724 MB / 0.6106 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00999/0.5797, allocations: 9.094 MB / 0.6195 GB, free: 8.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5798, allocations: 0 / 0.6195 GB, free: 8.191 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5798, allocations: 0 / 0.6195 GB, free: 8.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004745/0.5803, allocations: 0 / 0.6195 GB, free: 8.191 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.02157/0.6019, allocations: 8.456 MB / 0.6277 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6019, allocations: 8.875 kB / 0.6277 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.6123, allocations: 2.475 MB / 0.6302 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009562/0.6219, allocations: 4.395 MB / 0.6344 GB, free: 8.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/0.6224, allocations: 431 kB / 0.6349 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.6246, allocations: 0.5425 MB / 0.6354 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03473/0.6594, allocations: 16.69 MB / 0.6517 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003149/0.6597, allocations: 71.31 kB / 0.6518 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/0.6616, allocations: 271.8 kB / 0.652 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004517/0.6661, allocations: 2.927 MB / 0.6549 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02911/0.6953, allocations: 12.78 MB / 0.6674 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5358/1.231, allocations: 64.29 MB / 0.7301 GB, free: 153.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/1.248, allocations: 5.486 MB / 0.7355 GB, free: 152.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/1.251, allocations: 2.122 MB / 0.7376 GB, free: 152.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/1.267, allocations: 9.939 MB / 0.7473 GB, free: 148.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.267, allocations: 47.84 kB / 0.7473 GB, free: 148.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 4.859e-06/1.267, allocations: 7.625 kB / 0.7473 GB, free: 148.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03812/1.305, allocations: 14.03 MB / 0.761 GB, free: 142.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/1.305, allocations: 152.6 kB / 0.7612 GB, free: 142.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.315, allocations: 6.294 MB / 0.7673 GB, free: 139.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003361/1.316, allocations: 56.59 kB / 0.7674 GB, free: 139.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.318, allocations: 5.075 MB / 0.7723 GB, free: 135.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007031/1.319, allocations: 0.8187 MB / 0.7731 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/1.321, allocations: 1.674 MB / 0.7748 GB, free: 133.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.321, allocations: 304.4 kB / 0.7751 GB, free: 133.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.324, allocations: 2.325 MB / 0.7773 GB, free: 132.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/1.329, allocations: 7.68 MB / 0.7848 GB, free: 122.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/1.337, allocations: 10.88 MB / 0.7954 GB, free: 109.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001567/1.337, allocations: 56 kB / 0.7955 GB, free: 109.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01423/1.352, allocations: 9.653 MB / 0.8049 GB, free: 99.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/1.352, allocations: 91.94 kB / 0.805 GB, free: 99.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/1.352, allocations: 188 kB / 0.8052 GB, free: 99.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/1.352, allocations: 252 kB / 0.8054 GB, free: 99.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005396/1.358, allocations: 1.918 MB / 0.8073 GB, free: 97.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002652/1.358, allocations: 378.8 kB / 0.8077 GB, free: 97.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005946/1.364, allocations: 419.3 kB / 0.8081 GB, free: 96.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.365, allocations: 0.5117 MB / 0.8086 GB, free: 96.13 MB / 0.545 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.005281/1.371, allocations: 3.287 MB / 0.8118 GB, free: 92.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.372, allocations: 0.5282 MB / 0.8123 GB, free: 92.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/1.373, allocations: 0.624 MB / 0.8129 GB, free: 91.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/1.373, allocations: 20 kB / 0.8129 GB, free: 91.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.373, allocations: 0 / 0.8129 GB, free: 91.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.373, allocations: 11.97 kB / 0.8129 GB, free: 91.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/1.396, allocations: 16.45 MB / 0.829 GB, free: 74.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.835e-05/1.396, allocations: 40 kB / 0.829 GB, free: 74.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.397, allocations: 379.3 kB / 0.8294 GB, free: 74.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.525e-05/1.397, allocations: 48 kB / 0.8294 GB, free: 74.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.397, allocations: 87.98 kB / 0.8295 GB, free: 74.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.563e-05/1.397, allocations: 71.72 kB / 0.8296 GB, free: 74.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-05/1.397, allocations: 59.75 kB / 0.8297 GB, free: 73.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/1.401, allocations: 3.952 MB / 0.8335 GB, free: 69.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.402, allocations: 0.6111 MB / 0.8341 GB, free: 68.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009628/1.403, allocations: 91.95 kB / 0.8342 GB, free: 68.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.405, allocations: 103.7 kB / 0.8343 GB, free: 68.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/1.406, allocations: 266.7 kB / 0.8345 GB, free: 68.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.406, allocations: 107.9 kB / 0.8347 GB, free: 68.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005934/1.412, allocations: 3.935 MB / 0.8385 GB, free: 64.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.412, allocations: 0 / 0.8385 GB, free: 64.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007268/1.419, allocations: 1.319 MB / 0.8398 GB, free: 63.03 MB / 0.545 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.0008335/1.42, allocations: 245.2 kB / 0.84 GB, free: 62.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008388/1.428, allocations: 5.334 MB / 0.8452 GB, free: 57.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.413e-05/1.428, allocations: 8 kB / 0.8452 GB, free: 57.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/1.43, allocations: 1.126 MB / 0.8463 GB, free: 56.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006444/1.436, allocations: 0.8096 MB / 0.8471 GB, free: 55.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.462, allocations: 19.05 MB / 0.8657 GB, free: 35.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005608/1.468, allocations: 5.044 MB / 0.8707 GB, free: 30.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.469, allocations: 415.4 kB / 0.871 GB, free: 30.45 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.469, allocations: 0 / 0.871 GB, free: 30.45 MB / 0.545 GB Notification: Performance of Templates: time 0.3243/1.793, allocations: 83.96 MB / 0.953 GB, free: 215 MB / 0.5919 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/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