Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008754/0.0008755, allocations: 87.75 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1697/0.1697, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.591e-05, allocations: 4 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08448, allocations: 63.25 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4627, allocations: 106.8 MB / 0.6157 GB, free: 3.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4629, allocations: 77.41 kB / 0.6158 GB, free: 3.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5888/1.052, allocations: 157.5 MB / 0.7696 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/1.052, allocations: 0 / 0.7696 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003765/1.052, allocations: 149.1 kB / 0.7697 GB, free: 105.8 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.02051/1.073, allocations: 7.364 MB / 0.7769 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.073, allocations: 12.53 kB / 0.7769 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/1.089, allocations: 3.522 MB / 0.7804 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/1.106, allocations: 7.882 MB / 0.7881 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/1.107, allocations: 0.5632 MB / 0.7886 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/1.109, allocations: 0.7412 MB / 0.7894 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03161/1.141, allocations: 17.5 MB / 0.8064 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003543/1.141, allocations: 90.47 kB / 0.8065 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/1.143, allocations: 363.6 kB / 0.8069 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/1.145, allocations: 1.616 MB / 0.8085 GB, free: 97.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/1.17, allocations: 13.39 MB / 0.8215 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07401/1.244, allocations: 74.59 MB / 0.8944 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/1.257, allocations: 5.242 MB / 0.8995 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/1.26, allocations: 2.08 MB / 0.9015 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/1.273, allocations: 9.967 MB / 0.9113 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.273, allocations: 63.03 kB / 0.9113 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 3.947e-06/1.273, allocations: 0 / 0.9113 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.02977/1.303, allocations: 13.11 MB / 0.9241 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.303, allocations: 153.7 kB / 0.9243 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006589/1.31, allocations: 5.513 MB / 0.9297 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/1.31, allocations: 57.7 kB / 0.9297 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.313, allocations: 5.294 MB / 0.9349 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000618/1.313, allocations: 0.8272 MB / 0.9357 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/1.313, allocations: 160 kB / 0.9359 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002901/1.314, allocations: 0.6454 MB / 0.9365 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/1.316, allocations: 2.09 MB / 0.9385 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009112/1.325, allocations: 7.712 MB / 0.9461 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/1.33, allocations: 3.878 MB / 0.9498 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.501e-05/1.33, allocations: 52 kB / 0.9499 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.2819/1.612, allocations: 9.139 MB / 0.9588 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/1.612, allocations: 87.38 kB / 0.9589 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002948/1.613, allocations: 191.5 kB / 0.9591 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/1.613, allocations: 277.9 kB / 0.9593 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/1.62, allocations: 1.988 MB / 0.9613 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004041/1.62, allocations: 376.1 kB / 0.9616 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006975/1.627, allocations: 0.565 MB / 0.9622 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.628, allocations: 0.5003 MB / 0.9627 GB, free: 104.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * 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],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1028 * 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.001191/1.63, allocations: 0.7625 MB / 0.9634 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009197/1.631, allocations: 0.5408 MB / 0.964 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/1.632, allocations: 0.6496 MB / 0.9646 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.632, allocations: 22.55 kB / 0.9646 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.632, allocations: 7.312 kB / 0.9646 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.632, allocations: 8.359 kB / 0.9646 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/1.652, allocations: 15.09 MB / 0.9794 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/1.652, allocations: 44.09 kB / 0.9794 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.653, allocations: 437.1 kB / 0.9798 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-05/1.653, allocations: 63.66 kB / 0.9799 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.653, allocations: 96.81 kB / 0.98 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.784e-05/1.653, allocations: 92.17 kB / 0.9801 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-05/1.653, allocations: 71.86 kB / 0.9801 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/1.657, allocations: 11.88 MB / 0.9917 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.659, allocations: 0.644 MB / 0.9924 GB, free: 90.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/1.659, allocations: 103.4 kB / 0.9925 GB, free: 90.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.661, allocations: 172 kB / 0.9926 GB, free: 90.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.661, allocations: 295.9 kB / 0.9929 GB, free: 90.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.661, allocations: 128.7 kB / 0.993 GB, free: 90.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005215/1.667, allocations: 3.857 MB / 0.9968 GB, free: 90.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.9e-07/1.667, allocations: 0 / 0.9968 GB, free: 90.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008019/1.675, allocations: 1.364 MB / 0.9981 GB, free: 90.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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.0006239/1.675, allocations: 262.6 kB / 0.9984 GB, free: 90.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007272/1.683, allocations: 5.034 MB / 1.003 GB, free: 90.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.408e-05/1.683, allocations: 3.875 kB / 1.003 GB, free: 90.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/1.684, allocations: 1.156 MB / 1.004 GB, free: 90.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/1.688, allocations: 0.8446 MB / 1.005 GB, free: 90.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.708, allocations: 12.67 MB / 1.018 GB, free: 85.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005621/1.713, allocations: 5.397 MB / 1.023 GB, free: 85.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006747/1.72, allocations: 2.589 MB / 1.025 GB, free: 85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/1.721, allocations: 357.1 kB / 1.026 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of SimCode: time 2.104e-06/1.721, allocations: 0 / 1.026 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of Templates: time 0.07696/1.798, allocations: 42.03 MB / 1.067 GB, free: 73.28 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches