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.00212/0.00212, 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.62/2.62, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.001092/0.001092, allocations: 86.64 kB / 267.5 MB, free: 14.03 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.2775/0.2775, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.372e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6194, allocations: 102.1 MB / 0.5725 GB, free: 1.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.6197, allocations: 83.2 kB / 0.5725 GB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2292/0.849, allocations: 57.07 MB / 0.6283 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.849, allocations: 0 / 0.6283 GB, free: 244 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.8492, allocations: 56 kB / 0.6283 GB, free: 188 kB / 426.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.009426/0.8586, allocations: 2.679 MB / 0.6309 GB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.8587, allocations: 8.031 kB / 0.6309 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.8727, allocations: 1.833 MB / 0.6327 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/0.8792, allocations: 1.76 MB / 0.6344 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.8795, allocations: 225.9 kB / 0.6347 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.8812, allocations: 295.9 kB / 0.6349 GB, free: 9.785 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.9011, allocations: 6.764 MB / 0.6416 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.18e-05/0.9012, allocations: 15.81 kB / 0.6416 GB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006823/0.9019, allocations: 131.9 kB / 0.6417 GB, free: 2.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.9036, allocations: 0.704 MB / 0.6424 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.9223, allocations: 5.853 MB / 0.6481 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04973/0.9721, allocations: 23.94 MB / 0.6715 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/0.9796, allocations: 2.167 MB / 0.6736 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.9816, allocations: 0.8008 MB / 0.6744 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.9939, allocations: 4.011 MB / 0.6783 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.994, allocations: 43.28 kB / 0.6783 GB, free: 12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.909e-06/0.994, allocations: 0 / 0.6783 GB, free: 12 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.008962/1.003, allocations: 1.755 MB / 0.68 GB, free: 10.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/1.003, allocations: 68.17 kB / 0.6801 GB, free: 10.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/1.007, allocations: 1.801 MB / 0.6819 GB, free: 8.301 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/1.007, allocations: 41.69 kB / 0.6819 GB, free: 8.254 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/1.009, allocations: 2.021 MB / 0.6839 GB, free: 6.203 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/1.01, allocations: 375.2 kB / 0.6842 GB, free: 5.832 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.01, allocations: 64 kB / 0.6843 GB, free: 5.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003132/1.011, allocations: 449.8 kB / 0.6847 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/1.013, allocations: 0.9278 MB / 0.6856 GB, free: 4.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/1.017, allocations: 2.907 MB / 0.6885 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/1.022, allocations: 1.665 MB / 0.6901 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.266e-05/1.022, allocations: 20 kB / 0.6901 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01055/1.032, allocations: 3.684 MB / 0.6937 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/1.033, allocations: 39.95 kB / 0.6938 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/1.033, allocations: 68 kB / 0.6938 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/1.033, allocations: 104 kB / 0.6939 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004776/1.038, allocations: 0.7252 MB / 0.6946 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001833/1.038, allocations: 135.5 kB / 0.6948 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/1.042, allocations: 451.5 kB / 0.6952 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000755/1.042, allocations: 204 kB / 0.6954 GB, free: 9.406 MB / 0.4948 GB 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 () * 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.0008204/1.043, allocations: 358.1 kB / 0.6957 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/1.044, allocations: 173.8 kB / 0.6959 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/1.047, allocations: 1.222 MB / 0.6971 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-05/1.047, allocations: 12 kB / 0.6971 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.047, allocations: 4 kB / 0.6971 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.047, allocations: 7.922 kB / 0.6971 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/1.062, allocations: 5.021 MB / 0.702 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.062, allocations: 8 kB / 0.702 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.063, allocations: 144.6 kB / 0.7022 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.894e-05/1.063, allocations: 16 kB / 0.7022 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.064, allocations: 35.98 kB / 0.7022 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/1.064, allocations: 15.94 kB / 0.7022 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/1.064, allocations: 19.89 kB / 0.7022 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3434/1.407, allocations: 2.302 MB / 0.7045 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/1.408, allocations: 276.9 kB / 0.7047 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/1.408, allocations: 27.81 kB / 0.7048 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.409, allocations: 35.7 kB / 0.7048 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.409, allocations: 78.44 kB / 0.7049 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/1.41, allocations: 42.89 kB / 0.7049 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00364/1.413, allocations: 1.315 MB / 0.7062 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.143e-06/1.413, allocations: 0 / 0.7062 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004383/1.418, allocations: 0.7732 MB / 0.707 GB, free: 139.7 MB / 0.4948 GB 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 () * 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.0005174/1.418, allocations: 159.1 kB / 0.7071 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005529/1.424, allocations: 2.208 MB / 0.7093 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.424, allocations: 2.031 kB / 0.7093 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.425, allocations: 0.5515 MB / 0.7098 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.427, allocations: 236.3 kB / 0.71 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.441, allocations: 5.021 MB / 0.7149 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006078/1.447, allocations: 2.522 MB / 0.7174 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009676/1.448, allocations: 165.4 kB / 0.7176 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.763e-06/1.448, allocations: 0 / 0.7176 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.06895/1.517, allocations: 32.56 MB / 0.7494 GB, free: 135.6 MB / 0.4948 GB 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