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.001014/0.001014, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007774/0.0007774, allocations: 85.12 kB / 270.9 MB, free: 8.359 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.3513/0.3513, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 8 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2656/0.3822, allocations: 92.54 MB / 0.5691 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04324/0.4255, allocations: 18.41 MB / 0.5871 GB, free: 4.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01912/0.4447, allocations: 447.6 kB / 0.5875 GB, free: 4.062 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01623/0.461, allocations: 4.913 MB / 0.5923 GB, free: 1.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03884/0.4998, allocations: 14.44 MB / 0.6064 GB, free: 3.598 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006356/0.5062, allocations: 1.253 MB / 0.6077 GB, free: 2.344 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01341/0.5196, allocations: 9.717 MB / 0.6171 GB, free: 8.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/0.5348, allocations: 9.294 MB / 0.6262 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006826/0.5417, allocations: 2.67 MB / 0.6288 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007313/0.5491, allocations: 3.984 MB / 0.6327 GB, free: 8.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00246/0.5516, allocations: 300 kB / 0.633 GB, free: 8.297 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/0.5558, allocations: 0.9831 MB / 0.634 GB, free: 7.312 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005833/0.5617, allocations: 3.475 MB / 0.6374 GB, free: 3.828 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003739/0.5655, allocations: 1.598 MB / 0.6389 GB, free: 2.219 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.5789, allocations: 10.42 MB / 0.6491 GB, free: 7.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.579, allocations: 0 / 0.6491 GB, free: 7.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.579, allocations: 0 / 0.6491 GB, free: 7.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006332/0.5796, allocations: 4 kB / 0.6491 GB, free: 7.766 MB / 474.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.0199/0.5995, allocations: 7.914 MB / 0.6568 GB, free: 15.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5996, allocations: 12.03 kB / 0.6568 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.6127, allocations: 2.769 MB / 0.6595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.6237, allocations: 4.939 MB / 0.6644 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/0.6242, allocations: 480 kB / 0.6648 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.6263, allocations: 0.6129 MB / 0.6654 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3559/0.9822, allocations: 19.48 MB / 0.6844 GB, free: 131.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.9824, allocations: 71.59 kB / 0.6845 GB, free: 131.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006862/0.9831, allocations: 303.5 kB / 0.6848 GB, free: 131.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004764/0.9878, allocations: 3.642 MB / 0.6884 GB, free: 130.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0281/1.016, allocations: 15.13 MB / 0.7031 GB, free: 125.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09044/1.106, allocations: 72.97 MB / 0.7744 GB, free: 67.68 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/1.122, allocations: 6.1 MB / 0.7804 GB, free: 61.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/1.126, allocations: 2.537 MB / 0.7828 GB, free: 58.89 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/1.144, allocations: 11.17 MB / 0.7937 GB, free: 47.33 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.144, allocations: 64.5 kB / 0.7938 GB, free: 47.26 MB / 490.8 MB Notification: Performance of pre-optimization done (n=250): time 5.831e-06/1.144, allocations: 0 / 0.7938 GB, free: 47.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=274): time 0.0388/1.183, allocations: 16.37 MB / 0.8098 GB, free: 30.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.183, allocations: 154.5 kB / 0.8099 GB, free: 30.74 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007884/1.191, allocations: 6.736 MB / 0.8165 GB, free: 24.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004372/1.191, allocations: 65.7 kB / 0.8166 GB, free: 23.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002371/1.194, allocations: 5.735 MB / 0.8222 GB, free: 18.21 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/1.195, allocations: 1.058 MB / 0.8232 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/1.195, allocations: 186.4 kB / 0.8234 GB, free: 16.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003111/1.195, allocations: 0.7112 MB / 0.8241 GB, free: 16.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.199, allocations: 2.736 MB / 0.8268 GB, free: 13.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/1.205, allocations: 8.627 MB / 0.8352 GB, free: 1.973 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/1.213, allocations: 4.686 MB / 0.8398 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/1.213, allocations: 60 kB / 0.8398 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02404/1.237, allocations: 11.05 MB / 0.8506 GB, free: 2.184 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000324/1.237, allocations: 95.95 kB / 0.8507 GB, free: 2.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004058/1.238, allocations: 208 kB / 0.8509 GB, free: 1.887 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/1.238, allocations: 308 kB / 0.8512 GB, free: 1.586 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007841/1.246, allocations: 2.211 MB / 0.8533 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/1.246, allocations: 410.4 kB / 0.8537 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.253, allocations: 468.9 kB / 0.8542 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.255, allocations: 0.5742 MB / 0.8547 GB, free: 13.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * 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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.007667/1.263, allocations: 3.768 MB / 0.8584 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.264, allocations: 0.5783 MB / 0.859 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005999/1.27, allocations: 2.976 MB / 0.8619 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-05/1.27, allocations: 28 kB / 0.8619 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.27, allocations: 0 / 0.8619 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/1.27, allocations: 15.95 kB / 0.8619 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2611/1.531, allocations: 25.11 MB / 0.8865 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.293e-05/1.531, allocations: 62.91 kB / 0.8865 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.533, allocations: 0.6136 MB / 0.8871 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.1e-05/1.533, allocations: 90.47 kB / 0.8872 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/1.533, allocations: 139.6 kB / 0.8873 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-05/1.533, allocations: 125.5 kB / 0.8875 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.899e-05/1.533, allocations: 99.69 kB / 0.8876 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/1.539, allocations: 5.855 MB / 0.8933 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.54, allocations: 0.7269 MB / 0.894 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/1.54, allocations: 150.4 kB / 0.8941 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.543, allocations: 151 kB / 0.8943 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/1.543, allocations: 424.3 kB / 0.8947 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.543, allocations: 173.8 kB / 0.8948 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005515/1.549, allocations: 4.196 MB / 0.8989 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/1.549, allocations: 0 / 0.8989 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008095/1.557, allocations: 1.567 MB / 0.9005 GB, free: 133.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.0006516/1.557, allocations: 327.7 kB / 0.9008 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.567, allocations: 6.394 MB / 0.907 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.459e-05/1.568, allocations: 9.406 kB / 0.907 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/1.57, allocations: 1.64 MB / 0.9086 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006242/1.576, allocations: 0.9582 MB / 0.9096 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/1.604, allocations: 22.19 MB / 0.9312 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00695/1.611, allocations: 5.776 MB / 0.9369 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.612, allocations: 494.8 kB / 0.9374 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/1.612, allocations: 0 / 0.9374 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.117/1.729, allocations: 96.87 MB / 1.032 GB, free: 23.5 MB / 0.5105 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/jenkins/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