Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002025/0.002025, allocations: 179.4 kB / 8.364 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 2.128/2.128, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001162/0.001162, allocations: 80.92 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.2932/0.2932, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.163e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.405, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.6093, allocations: 109.5 MB / 0.5728 GB, free: 5.793 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6096, allocations: 79.47 kB / 0.5729 GB, free: 5.719 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9344/1.544, allocations: 145.8 MB / 0.7152 GB, free: 92.24 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.234e-06/1.544, allocations: 0 / 0.7152 GB, free: 92.24 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000537/1.545, allocations: 149.6 kB / 0.7154 GB, free: 92.23 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.03063/1.575, allocations: 7.387 MB / 0.7226 GB, free: 85.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.575, allocations: 8.031 kB / 0.7226 GB, free: 85.39 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05256/1.628, allocations: 7.318 MB / 0.7297 GB, free: 78.05 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/1.657, allocations: 7.904 MB / 0.7374 GB, free: 70.14 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/1.657, allocations: 256 kB / 0.7377 GB, free: 69.89 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004146/1.661, allocations: 455.9 kB / 0.7381 GB, free: 69.45 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02765/1.689, allocations: 10.99 MB / 0.7489 GB, free: 58.45 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04354/1.733, allocations: 16.45 MB / 0.7649 GB, free: 40.52 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005026/1.733, allocations: 87.12 kB / 0.765 GB, free: 40.43 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003523/1.737, allocations: 51.98 kB / 0.7651 GB, free: 40.38 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/1.741, allocations: 1.831 MB / 0.7668 GB, free: 38.55 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.554/2.295, allocations: 77.77 MB / 0.8428 GB, free: 70.69 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/2.308, allocations: 6.735 MB / 0.8494 GB, free: 69.44 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009095/2.317, allocations: 4.351 MB / 0.8536 GB, free: 69.4 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/2.319, allocations: 0.7279 MB / 0.8543 GB, free: 68.83 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.457e-05/2.319, allocations: 69.34 kB / 0.8544 GB, free: 68.79 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=340): time 7.955e-06/2.319, allocations: 4.938 kB / 0.8544 GB, free: 68.79 MB / 0.4952 GB Notification: Performance of matching and sorting (n=384): time 0.1054/2.425, allocations: 32.21 MB / 0.8859 GB, free: 63.35 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/2.425, allocations: 251.9 kB / 0.8861 GB, free: 63.1 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/2.438, allocations: 5.027 MB / 0.891 GB, free: 61.49 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/2.439, allocations: 25.7 kB / 0.891 GB, free: 61.46 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004477/2.443, allocations: 5.282 MB / 0.8962 GB, free: 57.38 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002426/2.446, allocations: 1.398 MB / 0.8975 GB, free: 56.34 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/2.447, allocations: 0 / 0.8975 GB, free: 56.34 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0006317/2.448, allocations: 0.7474 MB / 0.8983 GB, free: 55.85 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008838/2.456, allocations: 3.915 MB / 0.9021 GB, free: 54.42 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/2.47, allocations: 9.707 MB / 0.9116 GB, free: 45.24 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/2.483, allocations: 6.093 MB / 0.9175 GB, free: 43.33 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000233/2.483, allocations: 61.69 kB / 0.9176 GB, free: 43.33 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1350) (initialization): time 0.03791/2.521, allocations: 13.75 MB / 0.931 GB, free: 34.56 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.521, allocations: 92 kB / 0.9311 GB, free: 34.47 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/2.522, allocations: 215.6 kB / 0.9313 GB, free: 34.27 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006935/2.529, allocations: 1.745 MB / 0.933 GB, free: 32.95 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/2.545, allocations: 2.514 MB / 0.9355 GB, free: 30.82 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/2.566, allocations: 10.83 MB / 0.946 GB, free: 21.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/2.578, allocations: 396.8 kB / 0.9464 GB, free: 20.9 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/2.581, allocations: 0.6056 MB / 0.947 GB, free: 20.31 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1278): * Single equations (assignments): 1273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00397/2.585, allocations: 0.6293 MB / 0.9476 GB, free: 19.69 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/2.587, allocations: 0.5499 MB / 0.9482 GB, free: 19.14 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02223/2.609, allocations: 7.498 MB / 0.9555 GB, free: 13.09 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.895e-05/2.609, allocations: 40.78 kB / 0.9555 GB, free: 13.05 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.458e-05/2.609, allocations: 11.95 kB / 0.9555 GB, free: 13.04 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/2.609, allocations: 22 kB / 0.9556 GB, free: 13.04 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04879/2.658, allocations: 16.4 MB / 0.9716 GB, free: 15.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.174e-05/2.658, allocations: 8 kB / 0.9716 GB, free: 15.75 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007707/2.666, allocations: 0.76 MB / 0.9723 GB, free: 15.17 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006863/2.673, allocations: 1.409 MB / 0.9737 GB, free: 14.18 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.674, allocations: 19.75 kB / 0.9737 GB, free: 14.16 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/2.697, allocations: 9.898 MB / 0.9834 GB, free: 5.305 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/2.697, allocations: 4 kB / 0.9834 GB, free: 5.301 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04474/2.742, allocations: 13.89 MB / 0.9969 GB, free: 9.805 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005374/2.747, allocations: 1.173 MB / 0.9981 GB, free: 8.605 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002163/2.749, allocations: 11.98 kB / 0.9981 GB, free: 8.594 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006389/2.756, allocations: 195.6 kB / 0.9983 GB, free: 8.402 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001536/2.757, allocations: 234.9 kB / 0.9985 GB, free: 8.176 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006904/2.758, allocations: 99.98 kB / 0.9986 GB, free: 8.078 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.009971/2.768, allocations: 3.367 MB / 1.002 GB, free: 4.711 MB / 0.5265 GB Notification: Performance of sort global known variables: time 9.22e-07/2.768, allocations: 0 / 1.002 GB, free: 4.711 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.01383/2.782, allocations: 1.616 MB / 1.003 GB, free: 3.102 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 325 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/2.783, allocations: 168.8 kB / 1.004 GB, free: 2.934 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.02707/2.81, allocations: 9.813 MB / 1.013 GB, free: 9.152 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.81, allocations: 4.062 kB / 1.013 GB, free: 9.148 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01141/2.822, allocations: 3.827 MB / 1.017 GB, free: 5.297 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/2.828, allocations: 0.5569 MB / 1.018 GB, free: 4.754 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05006/2.878, allocations: 15.71 MB / 1.033 GB, free: 4.965 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01647/2.894, allocations: 5.659 MB / 1.038 GB, free: 15.31 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004364/2.899, allocations: 495.3 kB / 1.039 GB, free: 14.83 MB / 0.5733 GB Notification: Performance of SimCode: time 1.212e-06/2.899, allocations: 0 / 1.039 GB, free: 14.83 MB / 0.5733 GB Notification: Performance of Templates: time 0.692/3.591, allocations: 161 MB / 1.196 GB, free: 90 MB / 0.5733 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches