Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.362/2.362, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 85.38 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5076/0.5076, allocations: 43.56 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006642/0.0006643, allocations: 12 kB / 432.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1963, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.7281, allocations: 105.2 MB / 0.5827 GB, free: 13.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004272/0.7286, allocations: 79.97 kB / 0.5828 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034/1.762, allocations: 163.3 MB / 0.7423 GB, free: 82.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.897e-06/1.762, allocations: 4 kB / 0.7423 GB, free: 82.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006114/1.763, allocations: 162.1 kB / 0.7424 GB, free: 82.16 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03909/1.802, allocations: 8.229 MB / 0.7505 GB, free: 78.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.802, allocations: 7.344 kB / 0.7505 GB, free: 78.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0328/1.835, allocations: 3.552 MB / 0.7539 GB, free: 77.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/1.863, allocations: 8.381 MB / 0.7621 GB, free: 74.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009819/1.864, allocations: 0.6278 MB / 0.7627 GB, free: 73.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005787/1.87, allocations: 0.8218 MB / 0.7635 GB, free: 73.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07338/1.943, allocations: 19.59 MB / 0.7827 GB, free: 62.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007743/1.944, allocations: 98.8 kB / 0.7828 GB, free: 62.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005534/1.95, allocations: 404.1 kB / 0.7831 GB, free: 62.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005109/1.955, allocations: 1.878 MB / 0.785 GB, free: 61.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05466/2.01, allocations: 15.38 MB / 0.8 GB, free: 47.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6164/2.626, allocations: 81.48 MB / 0.8796 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03141/2.658, allocations: 5.983 MB / 0.8854 GB, free: 37.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007319/2.665, allocations: 2.532 MB / 0.8879 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03614/2.701, allocations: 11.22 MB / 0.8988 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/2.701, allocations: 56 kB / 0.8989 GB, free: 34.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 8.285e-06/2.701, allocations: 0 / 0.8989 GB, free: 34.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274): time 0.08701/2.788, allocations: 16.34 MB / 0.9149 GB, free: 29.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/2.789, allocations: 162.6 kB / 0.915 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02891/2.818, allocations: 6.809 MB / 0.9217 GB, free: 29.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000811/2.818, allocations: 74.36 kB / 0.9217 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008336/2.827, allocations: 5.813 MB / 0.9274 GB, free: 25.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002313/2.829, allocations: 1.049 MB / 0.9284 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/2.831, allocations: 187.4 kB / 0.9286 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002392/2.833, allocations: 0.6912 MB / 0.9293 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01084/2.844, allocations: 2.687 MB / 0.9319 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01561/2.86, allocations: 8.509 MB / 0.9402 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02316/2.883, allocations: 12.13 MB / 0.9521 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000465/2.884, allocations: 58.28 kB / 0.9521 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.04243/2.926, allocations: 10.85 MB / 0.9627 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003552/2.927, allocations: 98.09 kB / 0.9628 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005461/2.927, allocations: 208.3 kB / 0.963 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/2.928, allocations: 273 kB / 0.9633 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.941, allocations: 2.25 MB / 0.9655 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005793/2.942, allocations: 408.9 kB / 0.9659 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/2.958, allocations: 0.6269 MB / 0.9665 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003053/2.961, allocations: 0.5527 MB / 0.967 GB, free: 18.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1171): * Single equations (assignments): 1168 * 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.01658/2.978, allocations: 3.752 MB / 0.9707 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003457/2.981, allocations: 0.5862 MB / 0.9712 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/2.996, allocations: 2.997 MB / 0.9742 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.064e-05/2.996, allocations: 30.06 kB / 0.9742 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/2.996, allocations: 3.938 kB / 0.9742 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.91e-05/2.996, allocations: 18.17 kB / 0.9742 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07954/3.076, allocations: 24.82 MB / 0.9985 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003786/3.076, allocations: 64.22 kB / 0.9985 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004414/3.081, allocations: 0.5989 MB / 0.9991 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/3.081, allocations: 83.94 kB / 0.9992 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008711/3.082, allocations: 138.9 kB / 0.9993 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001748/3.082, allocations: 120.6 kB / 0.9994 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000122/3.082, allocations: 95.56 kB / 0.9995 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/3.098, allocations: 5.735 MB / 1.005 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004139/3.102, allocations: 0.7203 MB / 1.006 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003128/3.105, allocations: 149.9 kB / 1.006 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007701/3.113, allocations: 214.4 kB / 1.006 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001562/3.115, allocations: 410.1 kB / 1.007 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001055/3.116, allocations: 171.4 kB / 1.007 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01856/3.134, allocations: 4.293 MB / 1.011 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.463e-06/3.135, allocations: 0 / 1.011 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01941/3.154, allocations: 1.555 MB / 1.012 GB, free: 6.211 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * 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 (318): * Single equations (assignments): 315 * 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.002013/3.156, allocations: 328.4 kB / 1.013 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02161/3.178, allocations: 6.252 MB / 1.019 GB, free: 432 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.588e-05/3.178, allocations: 12 kB / 1.019 GB, free: 420 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005586/3.183, allocations: 1.605 MB / 1.02 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1063/3.29, allocations: 0.9838 MB / 1.021 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08887/3.379, allocations: 22.71 MB / 1.044 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02062/3.399, allocations: 5.794 MB / 1.049 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00318/3.403, allocations: 493.5 kB / 1.05 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of SimCode: time 2.254e-06/3.403, allocations: 0 / 1.05 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of Templates: time 0.5403/3.943, allocations: 96.92 MB / 1.144 GB, free: 129.1 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches