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.002205/0.002205, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.018/2.018, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001035/0.001035, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2731/0.2731, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.053e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/0.6246, allocations: 105 MB / 0.5753 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.625, allocations: 79.95 kB / 0.5754 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304/1.929, allocations: 166.4 MB / 0.7379 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/1.929, allocations: 3.969 kB / 0.7379 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004672/1.93, allocations: 165 kB / 0.7381 GB, free: 93.29 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03055/1.96, allocations: 7.973 MB / 0.7459 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.96, allocations: 12.36 kB / 0.7459 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/1.992, allocations: 3.675 MB / 0.7495 GB, free: 89.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03264/2.025, allocations: 9.695 MB / 0.7589 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008673/2.026, allocations: 0.631 MB / 0.7595 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00482/2.03, allocations: 0.8311 MB / 0.7603 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06137/2.092, allocations: 19.39 MB / 0.7793 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000641/2.093, allocations: 96.78 kB / 0.7794 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004532/2.097, allocations: 394.4 kB / 0.7798 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00495/2.102, allocations: 1.873 MB / 0.7816 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04909/2.151, allocations: 15.05 MB / 0.7963 GB, free: 80.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1401/2.291, allocations: 81.66 MB / 0.876 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0264/2.318, allocations: 5.922 MB / 0.8818 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006133/2.324, allocations: 2.488 MB / 0.8842 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03751/2.362, allocations: 11.33 MB / 0.8953 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.78e-05/2.362, allocations: 64.5 kB / 0.8954 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 7.414e-06/2.362, allocations: 0 / 0.8954 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.5505/2.912, allocations: 14.99 MB / 0.91 GB, free: 97.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/2.912, allocations: 160.4 kB / 0.9102 GB, free: 97.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02702/2.939, allocations: 5.86 MB / 0.9159 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007839/2.94, allocations: 66.38 kB / 0.9159 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008317/2.949, allocations: 5.586 MB / 0.9214 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001834/2.951, allocations: 1.054 MB / 0.9224 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/2.952, allocations: 184 kB / 0.9226 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001007/2.953, allocations: 0.6966 MB / 0.9233 GB, free: 93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00726/2.96, allocations: 2.488 MB / 0.9257 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/2.971, allocations: 8.266 MB / 0.9338 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/2.982, allocations: 4.485 MB / 0.9382 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002584/2.982, allocations: 55.47 kB / 0.9382 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02766/3.01, allocations: 10.2 MB / 0.9482 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/3.01, allocations: 95 kB / 0.9483 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003326/3.011, allocations: 205 kB / 0.9485 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/3.011, allocations: 305.8 kB / 0.9488 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01441/3.025, allocations: 2.253 MB / 0.951 GB, free: 84.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004437/3.026, allocations: 404.4 kB / 0.9513 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01294/3.039, allocations: 0.6223 MB / 0.9519 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/3.041, allocations: 0.5528 MB / 0.9525 GB, free: 84.4 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 () * 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.003223/3.044, allocations: 0.8376 MB / 0.9533 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/3.046, allocations: 0.5912 MB / 0.9539 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/3.055, allocations: 2.927 MB / 0.9567 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/3.055, allocations: 32.22 kB / 0.9568 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/3.055, allocations: 11.14 kB / 0.9568 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-05/3.055, allocations: 10.5 kB / 0.9568 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05666/3.111, allocations: 24.78 MB / 0.981 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00015/3.112, allocations: 59.75 kB / 0.981 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/3.116, allocations: 0.5987 MB / 0.9816 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/3.116, allocations: 87.38 kB / 0.9817 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004829/3.116, allocations: 137.6 kB / 0.9818 GB, free: 75.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.459e-05/3.116, allocations: 120.5 kB / 0.982 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-05/3.116, allocations: 102.1 kB / 0.9821 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/3.128, allocations: 16.9 MB / 0.9986 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/3.131, allocations: 0.7219 MB / 0.9993 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002341/3.133, allocations: 140.6 kB / 0.9994 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00615/3.14, allocations: 210.1 kB / 0.9996 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009986/3.141, allocations: 411.6 kB / 1 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/3.141, allocations: 172.4 kB / 1 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01138/3.152, allocations: 4.107 MB / 1.004 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.252e-06/3.152, allocations: 0 / 1.004 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01267/3.165, allocations: 1.555 MB / 1.006 GB, free: 56.23 MB / 0.5105 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 () * 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.001229/3.166, allocations: 306 kB / 1.006 GB, free: 56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01385/3.18, allocations: 6.028 MB / 1.012 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.514e-05/3.18, allocations: 11.06 kB / 1.012 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003452/3.184, allocations: 1.584 MB / 1.013 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007681/3.192, allocations: 0.9001 MB / 1.014 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04032/3.232, allocations: 15.78 MB / 1.03 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01422/3.246, allocations: 5.958 MB / 1.036 GB, free: 34.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/3.249, allocations: 494.8 kB / 1.036 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/3.249, allocations: 0 / 1.036 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.6239/3.873, allocations: 95.76 MB / 1.13 GB, free: 92.82 MB / 0.5261 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