Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001931/0.001931, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.323/2.323, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001226/0.001226, allocations: 78.38 kB / 271.9 MB, free: 8.285 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.5187/0.5187, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006698, allocations: 20 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1798, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.6098, allocations: 102.3 MB / 0.5798 GB, free: 164 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6101, allocations: 75.97 kB / 0.5799 GB, free: 88 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1478/0.7579, allocations: 56.3 MB / 0.6349 GB, free: 7.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.758, allocations: 0 / 0.6349 GB, free: 7.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.7581, allocations: 56 kB / 0.6349 GB, free: 7.371 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.007674/0.7658, allocations: 2.698 MB / 0.6375 GB, free: 4.609 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7659, allocations: 8.031 kB / 0.6375 GB, free: 4.602 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008386/0.7743, allocations: 1.841 MB / 0.6393 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.779, allocations: 1.782 MB / 0.6411 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.7793, allocations: 226.3 kB / 0.6413 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.7809, allocations: 292.3 kB / 0.6416 GB, free: 428 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.7973, allocations: 6.803 MB / 0.6482 GB, free: 9.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.7975, allocations: 16 kB / 0.6482 GB, free: 9.219 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/0.7988, allocations: 139.9 kB / 0.6484 GB, free: 9.082 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001197/0.8, allocations: 0.7078 MB / 0.6491 GB, free: 8.371 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.8124, allocations: 5.908 MB / 0.6548 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3666/1.179, allocations: 23.88 MB / 0.6782 GB, free: 95.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008673/1.188, allocations: 2.192 MB / 0.6803 GB, free: 94.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/1.19, allocations: 0.803 MB / 0.6811 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/1.202, allocations: 3.995 MB / 0.685 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.202, allocations: 43.38 kB / 0.685 GB, free: 93.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 7.895e-06/1.202, allocations: 2.938 kB / 0.685 GB, free: 93.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01104/1.213, allocations: 2.249 MB / 0.6872 GB, free: 93.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.214, allocations: 60.66 kB / 0.6873 GB, free: 93.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/1.219, allocations: 2.033 MB / 0.6893 GB, free: 93.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/1.22, allocations: 42.69 kB / 0.6893 GB, free: 93.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/1.222, allocations: 2.009 MB / 0.6913 GB, free: 92.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/1.223, allocations: 383.2 kB / 0.6916 GB, free: 92.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.223, allocations: 64.66 kB / 0.6917 GB, free: 92.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002965/1.223, allocations: 448.6 kB / 0.6921 GB, free: 91.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.226, allocations: 0.9514 MB / 0.6931 GB, free: 91.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/1.23, allocations: 2.937 MB / 0.6959 GB, free: 89.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006904/1.237, allocations: 4.254 MB / 0.7001 GB, free: 86.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/1.237, allocations: 22.62 kB / 0.7001 GB, free: 86.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01133/1.248, allocations: 3.778 MB / 0.7038 GB, free: 86.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.76e-05/1.248, allocations: 40.31 kB / 0.7038 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/1.248, allocations: 69.53 kB / 0.7039 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/1.249, allocations: 95.16 kB / 0.704 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/1.253, allocations: 0.7314 MB / 0.7047 GB, free: 86.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001536/1.253, allocations: 141.8 kB / 0.7048 GB, free: 86.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/1.257, allocations: 441 kB / 0.7053 GB, free: 86.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006255/1.258, allocations: 200.6 kB / 0.7054 GB, free: 86.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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.004297/1.262, allocations: 1.456 MB / 0.7069 GB, free: 85.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/1.263, allocations: 174 kB / 0.707 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/1.266, allocations: 1.248 MB / 0.7083 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.266, allocations: 14.12 kB / 0.7083 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.266, allocations: 0 / 0.7083 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/1.266, allocations: 5.719 kB / 0.7083 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.281, allocations: 5.034 MB / 0.7132 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.281, allocations: 11.38 kB / 0.7132 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.282, allocations: 137.1 kB / 0.7133 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.959e-05/1.282, allocations: 14.03 kB / 0.7133 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.282, allocations: 34.2 kB / 0.7134 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.004e-05/1.282, allocations: 21.83 kB / 0.7134 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.989e-05/1.282, allocations: 14.38 kB / 0.7134 GB, free: 84.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/1.286, allocations: 1.571 MB / 0.7149 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008323/1.287, allocations: 283.6 kB / 0.7152 GB, free: 83.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/1.287, allocations: 32.58 kB / 0.7152 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.288, allocations: 37.44 kB / 0.7153 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.288, allocations: 80.14 kB / 0.7154 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.289, allocations: 40.06 kB / 0.7154 GB, free: 83.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003811/1.292, allocations: 1.332 MB / 0.7167 GB, free: 83.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.133e-06/1.292, allocations: 0 / 0.7167 GB, free: 83.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006005/1.298, allocations: 0.7764 MB / 0.7175 GB, free: 82.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0006178/1.299, allocations: 168 kB / 0.7176 GB, free: 82.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006825/1.306, allocations: 2.24 MB / 0.7198 GB, free: 82.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-05/1.306, allocations: 1.156 kB / 0.7198 GB, free: 82.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/1.308, allocations: 0.5578 MB / 0.7203 GB, free: 81.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007/1.315, allocations: 254.1 kB / 0.7206 GB, free: 81.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.336, allocations: 7.32 MB / 0.7277 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005904/1.342, allocations: 2.46 MB / 0.7301 GB, free: 76.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008954/1.342, allocations: 164.4 kB / 0.7303 GB, free: 76.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/1.343, allocations: 0 / 0.7303 GB, free: 76.56 MB / 490.7 MB Notification: Performance of Templates: time 0.08707/1.43, allocations: 32.89 MB / 0.7624 GB, free: 73.46 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches