Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006931/0.0006932, allocations: 105.1 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2894/0.2894, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 11.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2835, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4021, allocations: 106.9 MB / 0.6208 GB, free: 14.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4024, allocations: 83.95 kB / 0.6209 GB, free: 14.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5453/0.9477, allocations: 152.2 MB / 0.7696 GB, free: 72.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.9477, allocations: 0 / 0.7696 GB, free: 72.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004213/0.9482, allocations: 152 kB / 0.7697 GB, free: 72.71 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02017/0.9684, allocations: 7.592 MB / 0.7771 GB, free: 65.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.9684, allocations: 8.031 kB / 0.7772 GB, free: 65.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.9841, allocations: 3.403 MB / 0.7805 GB, free: 61.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.9981, allocations: 7.076 MB / 0.7874 GB, free: 54.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/0.9986, allocations: 0.562 MB / 0.7879 GB, free: 53.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003154/1.002, allocations: 0.7422 MB / 0.7887 GB, free: 53.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03467/1.036, allocations: 17.67 MB / 0.8059 GB, free: 34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/1.037, allocations: 87.45 kB / 0.806 GB, free: 33.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001747/1.039, allocations: 363.7 kB / 0.8063 GB, free: 33.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/1.041, allocations: 1.617 MB / 0.8079 GB, free: 31.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/1.067, allocations: 13.69 MB / 0.8213 GB, free: 18.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5711/1.638, allocations: 74.5 MB / 0.894 GB, free: 65.28 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/1.651, allocations: 5.275 MB / 0.8992 GB, free: 64.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/1.654, allocations: 2.091 MB / 0.9012 GB, free: 64.58 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/1.669, allocations: 9.877 MB / 0.9109 GB, free: 61.65 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.669, allocations: 54.91 kB / 0.9109 GB, free: 61.61 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=182): time 5.28e-06/1.669, allocations: 0 / 0.9109 GB, free: 61.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=206): time 0.0355/1.705, allocations: 14.05 MB / 0.9247 GB, free: 57.45 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.705, allocations: 151.6 kB / 0.9248 GB, free: 57.29 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008635/1.714, allocations: 6.391 MB / 0.9311 GB, free: 56.77 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/1.714, allocations: 56.73 kB / 0.9311 GB, free: 56.73 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002987/1.717, allocations: 5.302 MB / 0.9363 GB, free: 53.86 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009147/1.718, allocations: 0.8263 MB / 0.9371 GB, free: 53.41 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/1.718, allocations: 162.4 kB / 0.9372 GB, free: 53.41 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003751/1.719, allocations: 0.643 MB / 0.9379 GB, free: 53.09 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.722, allocations: 2.261 MB / 0.9401 GB, free: 53.07 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00558/1.728, allocations: 7.617 MB / 0.9475 GB, free: 46.13 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00892/1.737, allocations: 10.67 MB / 0.9579 GB, free: 39.23 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/1.737, allocations: 57.91 kB / 0.958 GB, free: 39.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01527/1.752, allocations: 9.501 MB / 0.9673 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.752, allocations: 84.56 kB / 0.9674 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/1.753, allocations: 193.5 kB / 0.9675 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/1.753, allocations: 253.4 kB / 0.9678 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/1.758, allocations: 1.987 MB / 0.9697 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001904/1.759, allocations: 381.6 kB / 0.9701 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/1.765, allocations: 0.5657 MB / 0.9706 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008142/1.765, allocations: 0.499 MB / 0.9711 GB, free: 36.09 MB / 0.5262 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 () * Number of clocked 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.005235/1.771, allocations: 3.407 MB / 0.9745 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008593/1.772, allocations: 0.5372 MB / 0.975 GB, free: 34.28 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.773, allocations: 0.6437 MB / 0.9756 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.773, allocations: 26.25 kB / 0.9756 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.773, allocations: 4 kB / 0.9756 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.773, allocations: 13.8 kB / 0.9756 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.794, allocations: 15.11 MB / 0.9904 GB, free: 27.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/1.794, allocations: 43.47 kB / 0.9904 GB, free: 27.78 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.795, allocations: 431 kB / 0.9909 GB, free: 27.73 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.914e-05/1.795, allocations: 55.75 kB / 0.9909 GB, free: 27.73 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.795, allocations: 95.78 kB / 0.991 GB, free: 27.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.343e-05/1.795, allocations: 92.89 kB / 0.9911 GB, free: 27.68 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-05/1.796, allocations: 69.53 kB / 0.9912 GB, free: 27.66 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/1.799, allocations: 4.19 MB / 0.9952 GB, free: 23.21 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.801, allocations: 0.6356 MB / 0.9959 GB, free: 22.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/1.801, allocations: 102.7 kB / 0.996 GB, free: 22.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/1.803, allocations: 181.1 kB / 0.9961 GB, free: 22.35 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.803, allocations: 298.9 kB / 0.9964 GB, free: 22.11 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.803, allocations: 120 kB / 0.9965 GB, free: 21.99 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006432/1.81, allocations: 4.04 MB / 1 GB, free: 18.72 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.41e-07/1.81, allocations: 0 / 1 GB, free: 18.72 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.00723/1.817, allocations: 1.356 MB / 1.002 GB, free: 17.37 MB / 0.5262 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 () * Number of clocked 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.0005069/1.818, allocations: 276.6 kB / 1.002 GB, free: 17.1 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.007291/1.825, allocations: 5.217 MB / 1.007 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.448e-05/1.825, allocations: 15.97 kB / 1.007 GB, free: 12.54 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.826, allocations: 1.164 MB / 1.008 GB, free: 11.52 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04074/1.867, allocations: 0.8839 MB / 1.009 GB, free: 10.78 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03884/1.906, allocations: 20.24 MB / 1.029 GB, free: 10.56 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008149/1.914, allocations: 5.248 MB / 1.034 GB, free: 6.625 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/1.915, allocations: 417.5 kB / 1.034 GB, free: 6.227 MB / 0.5418 GB Notification: Performance of SimCode: time 6.71e-07/1.915, allocations: 0 / 1.034 GB, free: 6.227 MB / 0.5418 GB Notification: Performance of Templates: time 0.1224/2.038, allocations: 85.82 MB / 1.118 GB, free: 4.098 MB / 0.6199 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches