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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009011/0.0009012, allocations: 96.25 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.402e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4809, allocations: 106.2 MB / 0.608 GB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.4812, allocations: 74.97 kB / 0.6081 GB, free: 12.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6511/1.132, allocations: 154.1 MB / 0.7585 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/1.132, allocations: 0 / 0.7585 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004366/1.133, allocations: 147.2 kB / 0.7587 GB, free: 104.4 MB / 0.5261 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.02526/1.158, allocations: 7.353 MB / 0.7659 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.158, allocations: 12.69 kB / 0.7659 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0217/1.18, allocations: 3.524 MB / 0.7693 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02142/1.201, allocations: 7.875 MB / 0.777 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005807/1.202, allocations: 248 kB / 0.7772 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003382/1.205, allocations: 447.8 kB / 0.7777 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01921/1.225, allocations: 10.27 MB / 0.7877 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0361/1.261, allocations: 15.22 MB / 0.8026 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005696/1.261, allocations: 89.91 kB / 0.8027 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003467/1.265, allocations: 47.59 kB / 0.8027 GB, free: 96.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002774/1.268, allocations: 1.624 MB / 0.8043 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08193/1.35, allocations: 76.22 MB / 0.8787 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/1.352, allocations: 2.351 MB / 0.881 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/1.354, allocations: 1.132 MB / 0.8821 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-05/1.354, allocations: 30.58 kB / 0.8821 GB, free: 43.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/1.354, allocations: 57.94 kB / 0.8822 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 3.857e-06/1.354, allocations: 3.594 kB / 0.8822 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188): time 0.02012/1.374, allocations: 10.16 MB / 0.8921 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.374, allocations: 148.7 kB / 0.8923 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008569/1.383, allocations: 4.833 MB / 0.897 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003166/1.383, allocations: 25.7 kB / 0.897 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003203/1.386, allocations: 5.362 MB / 0.9023 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000785/1.387, allocations: 0.7459 MB / 0.903 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/1.387, allocations: 0 / 0.903 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004137/1.388, allocations: 0.6525 MB / 0.9036 GB, free: 30 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/1.391, allocations: 1.96 MB / 0.9055 GB, free: 28.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005936/1.397, allocations: 7.375 MB / 0.9127 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.403, allocations: 3.751 MB / 0.9164 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.403, allocations: 59.94 kB / 0.9165 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.01291/1.416, allocations: 8.088 MB / 0.9244 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/1.416, allocations: 88 kB / 0.9244 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.417, allocations: 196 kB / 0.9246 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/1.417, allocations: 284 kB / 0.9249 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/1.422, allocations: 2.028 MB / 0.9269 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001738/1.423, allocations: 386.4 kB / 0.9272 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/1.429, allocations: 423.3 kB / 0.9276 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008141/1.429, allocations: 0.5114 MB / 0.9281 GB, free: 4.652 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.0008238/1.43, allocations: 0.589 MB / 0.9287 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006968/1.431, allocations: 0.4974 MB / 0.9292 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.432, allocations: 0.588 MB / 0.9298 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.432, allocations: 23.75 kB / 0.9298 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/1.432, allocations: 4 kB / 0.9298 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.432, allocations: 6.797 kB / 0.9298 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/1.454, allocations: 13.8 MB / 0.9433 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.049e-05/1.454, allocations: 36.03 kB / 0.9433 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.455, allocations: 347.9 kB / 0.9437 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.846e-05/1.455, allocations: 48 kB / 0.9437 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.455, allocations: 51.69 kB / 0.9437 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.984e-05/1.455, allocations: 59.66 kB / 0.9438 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-05/1.455, allocations: 55.27 kB / 0.9439 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00576/1.461, allocations: 8.686 MB / 0.9523 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.462, allocations: 0.5587 MB / 0.9529 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/1.462, allocations: 51.36 kB / 0.9529 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.464, allocations: 130.3 kB / 0.9531 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.464, allocations: 229.6 kB / 0.9533 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.465, allocations: 92 kB / 0.9534 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005001/1.47, allocations: 3.248 MB / 0.9565 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.47, allocations: 0 / 0.9565 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007968/1.478, allocations: 1.17 MB / 0.9577 GB, free: 7.613 MB / 0.5573 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.0005437/1.478, allocations: 195.3 kB / 0.9579 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008081/1.486, allocations: 4.589 MB / 0.9623 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.944e-05/1.486, allocations: 8 kB / 0.9624 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.488, allocations: 0.9776 MB / 0.9633 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/1.493, allocations: 0.6937 MB / 0.964 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/1.801, allocations: 12.05 MB / 0.9758 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00858/1.81, allocations: 5.352 MB / 0.981 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006718/1.816, allocations: 2.591 MB / 0.9835 GB, free: 115 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/1.817, allocations: 325.6 kB / 0.9838 GB, free: 115 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.817, allocations: 2.25 kB / 0.9838 GB, free: 115 MB / 0.5573 GB Notification: Performance of Templates: time 0.06518/1.882, allocations: 34.99 MB / 1.018 GB, free: 113.6 MB / 0.5573 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches