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.001445/0.001445, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2876/0.2876, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.893e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.424, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.6195, allocations: 101.4 MB / 0.5649 GB, free: 13.88 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6199, allocations: 79.94 kB / 0.565 GB, free: 13.8 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.272/0.8919, allocations: 55.74 MB / 0.6194 GB, free: 5.629 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.8919, allocations: 0 / 0.6194 GB, free: 5.629 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001351/0.8921, allocations: 56 kB / 0.6195 GB, free: 5.574 MB / 459.1 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.008907/0.901, allocations: 2.677 MB / 0.6221 GB, free: 2.84 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.9011, allocations: 12.03 kB / 0.6221 GB, free: 2.828 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.915, allocations: 1.837 MB / 0.6239 GB, free: 0.9844 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006535/0.9216, allocations: 1.754 MB / 0.6256 GB, free: 15.18 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.9218, allocations: 100 kB / 0.6257 GB, free: 15.09 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000911/0.9227, allocations: 168 kB / 0.6259 GB, free: 14.92 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01175/0.9345, allocations: 4.489 MB / 0.6303 GB, free: 10.43 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.951, allocations: 6.236 MB / 0.6364 GB, free: 3.801 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.442e-05/0.9511, allocations: 11.88 kB / 0.6364 GB, free: 3.789 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.9517, allocations: 15.94 kB / 0.6364 GB, free: 3.773 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/0.9533, allocations: 0.7125 MB / 0.6371 GB, free: 3.059 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3711/1.324, allocations: 23.59 MB / 0.6601 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/1.327, allocations: 1.517 MB / 0.6616 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/1.329, allocations: 0.5842 MB / 0.6622 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/1.329, allocations: 14.78 kB / 0.6622 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/1.329, allocations: 41.94 kB / 0.6622 GB, free: 107.4 MB / 475.1 MB Notification: Performance of pre-optimization done (n=108): time 4.078e-06/1.329, allocations: 0 / 0.6622 GB, free: 107.4 MB / 475.1 MB Notification: Performance of matching and sorting (n=108): time 0.005484/1.334, allocations: 1.5 MB / 0.6637 GB, free: 107.2 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.335, allocations: 62.81 kB / 0.6637 GB, free: 107.1 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/1.338, allocations: 1.655 MB / 0.6654 GB, free: 106.9 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.338, allocations: 28.98 kB / 0.6654 GB, free: 106.9 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.34, allocations: 2.075 MB / 0.6674 GB, free: 105.8 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/1.34, allocations: 412.1 kB / 0.6678 GB, free: 105.7 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/1.341, allocations: 0 / 0.6678 GB, free: 105.7 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/1.341, allocations: 468.8 kB / 0.6683 GB, free: 105.3 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/1.343, allocations: 0.9309 MB / 0.6692 GB, free: 105.3 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/1.346, allocations: 3.087 MB / 0.6722 GB, free: 102.4 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/1.35, allocations: 1.734 MB / 0.6739 GB, free: 101.9 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.951e-05/1.35, allocations: 25.28 kB / 0.6739 GB, free: 101.9 MB / 475.1 MB Notification: Performance of matching and sorting (n=459) (initialization): time 0.008591/1.359, allocations: 3.506 MB / 0.6773 GB, free: 100.8 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/1.359, allocations: 38 kB / 0.6774 GB, free: 100.8 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.97e-05/1.359, allocations: 79.19 kB / 0.6774 GB, free: 100.8 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/1.359, allocations: 113.9 kB / 0.6775 GB, free: 100.8 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/1.363, allocations: 0.7896 MB / 0.6783 GB, free: 100.7 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-05/1.363, allocations: 150.2 kB / 0.6785 GB, free: 100.7 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/1.366, allocations: 402.5 kB / 0.6788 GB, free: 100.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/1.366, allocations: 212 kB / 0.679 GB, free: 100.5 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 432 * 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.0004969/1.367, allocations: 305.2 kB / 0.6793 GB, free: 100.2 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/1.367, allocations: 171.3 kB / 0.6795 GB, free: 100.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/1.37, allocations: 1.345 MB / 0.6808 GB, free: 99.62 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.37, allocations: 13.78 kB / 0.6808 GB, free: 99.62 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.37, allocations: 0 / 0.6808 GB, free: 99.62 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.37, allocations: 7.125 kB / 0.6808 GB, free: 99.62 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.38, allocations: 4.741 MB / 0.6855 GB, free: 97.7 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.381, allocations: 9.906 kB / 0.6855 GB, free: 97.7 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.382, allocations: 154.5 kB / 0.6856 GB, free: 97.68 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/1.382, allocations: 17.84 kB / 0.6856 GB, free: 97.68 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/1.382, allocations: 25.25 kB / 0.6857 GB, free: 97.67 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/1.382, allocations: 25.7 kB / 0.6857 GB, free: 97.67 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/1.382, allocations: 18.88 kB / 0.6857 GB, free: 97.66 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/1.385, allocations: 2.352 MB / 0.688 GB, free: 95.75 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/1.385, allocations: 255 kB / 0.6882 GB, free: 95.54 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/1.385, allocations: 16.08 kB / 0.6883 GB, free: 95.54 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.386, allocations: 21.16 kB / 0.6883 GB, free: 95.54 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.387, allocations: 91.72 kB / 0.6884 GB, free: 95.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.387, allocations: 49.73 kB / 0.6884 GB, free: 95.5 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.00197/1.389, allocations: 1.105 MB / 0.6895 GB, free: 95.07 MB / 475.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.389, allocations: 0 / 0.6895 GB, free: 95.07 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.003858/1.392, allocations: 0.721 MB / 0.6902 GB, free: 94.88 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0003889/1.393, allocations: 145.7 kB / 0.6903 GB, free: 94.77 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004406/1.397, allocations: 2.221 MB / 0.6925 GB, free: 94.04 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.397, allocations: 0.6562 kB / 0.6925 GB, free: 94.04 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.398, allocations: 0.5979 MB / 0.6931 GB, free: 93.86 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.4, allocations: 184.4 kB / 0.6933 GB, free: 93.78 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.411, allocations: 5.143 MB / 0.6983 GB, free: 91.58 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003266/1.414, allocations: 2.518 MB / 0.7007 GB, free: 90.48 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007961/1.415, allocations: 169.2 kB / 0.7009 GB, free: 90.46 MB / 475.1 MB Notification: Performance of SimCode: time 8.92e-07/1.415, allocations: 0 / 0.7009 GB, free: 90.46 MB / 475.1 MB Notification: Performance of Templates: time 0.06027/1.475, allocations: 31.6 MB / 0.7318 GB, free: 70.74 MB / 475.1 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