Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.5 MB / 230.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008556, allocations: 95.45 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.617e-05, allocations: 224 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1397, allocations: 61.92 MB / 0.4947 GB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5891, allocations: 105.3 MB / 0.5975 GB, free: 7.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.5894, allocations: 75.95 kB / 0.5975 GB, free: 7.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6987/1.288, allocations: 147.9 MB / 0.7419 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/1.288, allocations: 224 / 0.7419 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005264/1.289, allocations: 151.4 kB / 0.7421 GB, free: 103.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02362/1.312, allocations: 7.352 MB / 0.7492 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.312, allocations: 14.17 kB / 0.7493 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/1.33, allocations: 3.525 MB / 0.7527 GB, free: 99.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/1.352, allocations: 8.752 MB / 0.7612 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/1.352, allocations: 249.4 kB / 0.7615 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/1.356, allocations: 450.5 kB / 0.7619 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01903/1.375, allocations: 10.28 MB / 0.772 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02998/1.405, allocations: 15.22 MB / 0.7868 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004372/1.406, allocations: 86.94 kB / 0.7869 GB, free: 85.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002947/1.409, allocations: 47.94 kB / 0.7869 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/1.411, allocations: 1.618 MB / 0.7885 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08482/1.496, allocations: 76.23 MB / 0.863 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/1.499, allocations: 2.35 MB / 0.8653 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/1.501, allocations: 1.143 MB / 0.8664 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/1.501, allocations: 31.31 kB / 0.8664 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.501, allocations: 51.88 kB / 0.8665 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 4.809e-06/1.501, allocations: 0 / 0.8665 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188): time 0.02764/1.529, allocations: 10.16 MB / 0.8764 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/1.529, allocations: 149.8 kB / 0.8765 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.541, allocations: 4.828 MB / 0.8812 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/1.541, allocations: 29.7 kB / 0.8813 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005306/1.547, allocations: 5.366 MB / 0.8865 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.548, allocations: 0.7408 MB / 0.8872 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008683/1.549, allocations: 0 / 0.8872 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008853/1.55, allocations: 0.6532 MB / 0.8879 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/1.553, allocations: 1.961 MB / 0.8898 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008467/1.562, allocations: 7.374 MB / 0.897 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3302/1.892, allocations: 3.749 MB / 0.9006 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.892, allocations: 56.41 kB / 0.9007 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.02185/1.914, allocations: 8.085 MB / 0.9086 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/1.914, allocations: 89.78 kB / 0.9087 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004102/1.915, allocations: 196.4 kB / 0.9089 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/1.915, allocations: 289.3 kB / 0.9091 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008203/1.924, allocations: 2.019 MB / 0.9111 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006106/1.924, allocations: 381.8 kB / 0.9115 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008122/1.932, allocations: 433.9 kB / 0.9119 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002012/1.934, allocations: 0.508 MB / 0.9124 GB, free: 113.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1046 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002423/1.937, allocations: 0.587 MB / 0.913 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.938, allocations: 0.4931 MB / 0.9134 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/1.94, allocations: 0.5848 MB / 0.914 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/1.94, allocations: 27.61 kB / 0.914 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.94, allocations: 6 kB / 0.914 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/1.94, allocations: 12.91 kB / 0.9141 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/1.961, allocations: 13.74 MB / 0.9275 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/1.961, allocations: 29.62 kB / 0.9275 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.962, allocations: 340.4 kB / 0.9278 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.395e-05/1.962, allocations: 46.81 kB / 0.9279 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.963, allocations: 49.44 kB / 0.9279 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.756e-05/1.963, allocations: 61.89 kB / 0.928 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-05/1.963, allocations: 47.62 kB / 0.928 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005224/1.968, allocations: 8.704 MB / 0.9365 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.969, allocations: 0.5601 MB / 0.9371 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006413/1.97, allocations: 53.44 kB / 0.9371 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.972, allocations: 134.3 kB / 0.9373 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.972, allocations: 224.5 kB / 0.9375 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.972, allocations: 93.27 kB / 0.9376 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005676/1.978, allocations: 3.247 MB / 0.9407 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.31e-07/1.978, allocations: 0 / 0.9407 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009325/1.987, allocations: 1.162 MB / 0.9419 GB, free: 102.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 177 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008128/1.988, allocations: 206.3 kB / 0.9421 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008691/1.997, allocations: 4.581 MB / 0.9465 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.038e-05/1.997, allocations: 3.938 kB / 0.9465 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.999, allocations: 0.9774 MB / 0.9475 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/2.003, allocations: 0.6971 MB / 0.9482 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/2.03, allocations: 12.06 MB / 0.96 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007751/2.038, allocations: 5.355 MB / 0.9652 GB, free: 94.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006709/2.045, allocations: 2.593 MB / 0.9677 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/2.045, allocations: 318.3 kB / 0.968 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/2.045, allocations: 0 / 0.968 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.06628/2.112, allocations: 35.01 MB / 1.002 GB, free: 82.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches