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.001584/0.001584, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.877/1.877, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001137/0.001136, allocations: 105 kB / 270.9 MB, free: 8.391 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.5015/0.5015, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004766, allocations: 15.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.6047, allocations: 110.2 MB / 0.5864 GB, free: 8.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.605, allocations: 79.95 kB / 0.5864 GB, free: 8.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9168/1.522, allocations: 149.2 MB / 0.7322 GB, free: 84.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.522, allocations: 0 / 0.7322 GB, free: 84.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004582/1.522, allocations: 151.6 kB / 0.7323 GB, free: 84.16 MB / 490.7 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.03224/1.555, allocations: 7.928 MB / 0.74 GB, free: 80.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.555, allocations: 7.625 kB / 0.7401 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05408/1.609, allocations: 7.321 MB / 0.7472 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02768/1.637, allocations: 7.931 MB / 0.755 GB, free: 76.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007579/1.637, allocations: 0.5815 MB / 0.7555 GB, free: 76.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/1.642, allocations: 0.7759 MB / 0.7563 GB, free: 76.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05859/1.7, allocations: 19.01 MB / 0.7748 GB, free: 66.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005555/1.701, allocations: 97.66 kB / 0.7749 GB, free: 66.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003984/1.705, allocations: 373.5 kB / 0.7753 GB, free: 66.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004082/1.709, allocations: 1.833 MB / 0.7771 GB, free: 66.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04844/1.758, allocations: 15.59 MB / 0.7923 GB, free: 54.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5341/2.292, allocations: 81.82 MB / 0.8722 GB, free: 43.72 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03917/2.331, allocations: 8.752 MB / 0.8808 GB, free: 43.02 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03013/2.361, allocations: 11.71 MB / 0.8922 GB, free: 41.25 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/2.361, allocations: 67.03 kB / 0.8923 GB, free: 41.21 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=347): time 7.624e-06/2.361, allocations: 3.406 kB / 0.8923 GB, free: 41.21 MB / 0.4949 GB Notification: Performance of matching and sorting (n=389): time 0.1594/2.521, allocations: 36.51 MB / 0.9279 GB, free: 33.52 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/2.521, allocations: 254.3 kB / 0.9282 GB, free: 33.26 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01681/2.538, allocations: 6.579 MB / 0.9346 GB, free: 30.98 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/2.539, allocations: 88.17 kB / 0.9347 GB, free: 30.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004605/2.544, allocations: 5.018 MB / 0.9396 GB, free: 26.92 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002503/2.546, allocations: 1.445 MB / 0.941 GB, free: 25.86 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/2.548, allocations: 195.9 kB / 0.9412 GB, free: 25.71 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009676/2.549, allocations: 0.7384 MB / 0.9419 GB, free: 25.21 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01096/2.56, allocations: 4.118 MB / 0.9459 GB, free: 23.82 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01484/2.575, allocations: 9.7 MB / 0.9554 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/2.59, allocations: 6.198 MB / 0.9614 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001991/2.59, allocations: 54.41 kB / 0.9615 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.04179/2.632, allocations: 14.89 MB / 0.976 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/2.632, allocations: 86.28 kB / 0.9761 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003492/2.632, allocations: 200.2 kB / 0.9763 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00738/2.64, allocations: 1.728 MB / 0.978 GB, free: 7.891 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01656/2.656, allocations: 2.432 MB / 0.9804 GB, free: 7.613 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/2.679, allocations: 11.74 MB / 0.9918 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/2.692, allocations: 0.576 MB / 0.9924 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/2.694, allocations: 0.5807 MB / 0.993 GB, free: 12.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1228): * Single equations (assignments): 1223 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01215/2.707, allocations: 3.62 MB / 0.9965 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002241/2.709, allocations: 0.6478 MB / 0.9971 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0278/2.737, allocations: 8.228 MB / 1.005 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.293e-05/2.737, allocations: 40 kB / 1.005 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-05/2.737, allocations: 16 kB / 1.005 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.737, allocations: 17.02 kB / 1.005 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06058/2.798, allocations: 18.3 MB / 1.023 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.86e-05/2.798, allocations: 5.5 kB / 1.023 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007951/2.806, allocations: 0.7778 MB / 1.024 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007023/2.813, allocations: 1.422 MB / 1.025 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00116/2.814, allocations: 79.42 kB / 1.025 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/2.841, allocations: 11.07 MB / 1.036 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/2.841, allocations: 11.94 kB / 1.036 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03923/2.881, allocations: 14.52 MB / 1.05 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005658/2.886, allocations: 1.32 MB / 1.052 GB, free: 6.484 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002684/2.889, allocations: 71.98 kB / 1.052 GB, free: 6.414 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007133/2.896, allocations: 255.6 kB / 1.052 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/2.898, allocations: 242.8 kB / 1.052 GB, free: 5.93 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000524/2.898, allocations: 104 kB / 1.052 GB, free: 5.828 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0144/2.913, allocations: 4.737 MB / 1.057 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.192e-06/2.913, allocations: 0 / 1.057 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01348/2.926, allocations: 1.872 MB / 1.059 GB, free: 15.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (329): * Single equations (assignments): 324 * 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.001564/2.928, allocations: 240.5 kB / 1.059 GB, free: 15.02 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02754/2.956, allocations: 10.11 MB / 1.069 GB, free: 4.922 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/2.956, allocations: 0 / 1.069 GB, free: 4.922 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01312/2.969, allocations: 4.037 MB / 1.073 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007342/2.976, allocations: 0.7718 MB / 1.074 GB, free: 120 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4396/3.416, allocations: 21.82 MB / 1.095 GB, free: 169.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01596/3.432, allocations: 5.657 MB / 1.1 GB, free: 168.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/3.436, allocations: 0.5201 MB / 1.101 GB, free: 168.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.553e-06/3.436, allocations: 0 / 1.101 GB, free: 168.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.3126/3.749, allocations: 167.4 MB / 1.264 GB, free: 72.64 MB / 0.5886 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