Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001209/0.001209, allocations: 182.3 kB / 15.76 MB, free: 6.367 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.471/1.471, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007001/0.0007, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.1983/0.1983, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004014, allocations: 16 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.5266, allocations: 110.2 MB / 0.5864 GB, free: 5.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.5268, allocations: 81.64 kB / 0.5865 GB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6533/1.18, allocations: 149.2 MB / 0.7322 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.176e-06/1.18, allocations: 0 / 0.7322 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004306/1.181, allocations: 150.7 kB / 0.7323 GB, free: 96.32 MB / 0.4948 GB 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.02832/1.209, allocations: 7.929 MB / 0.7401 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.209, allocations: 7.5 kB / 0.7401 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02995/1.239, allocations: 7.318 MB / 0.7472 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/1.263, allocations: 7.93 MB / 0.7549 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00074/1.264, allocations: 0.5891 MB / 0.7555 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00444/1.268, allocations: 0.7752 MB / 0.7563 GB, free: 91.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0519/1.32, allocations: 19.01 MB / 0.7748 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009643/1.321, allocations: 99.75 kB / 0.7749 GB, free: 87.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004948/1.326, allocations: 371.4 kB / 0.7753 GB, free: 87.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003367/1.33, allocations: 1.831 MB / 0.7771 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04005/1.37, allocations: 15.59 MB / 0.7923 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/1.48, allocations: 81.83 MB / 0.8722 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/1.5, allocations: 8.756 MB / 0.8808 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/1.527, allocations: 11.71 MB / 0.8922 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.264e-05/1.527, allocations: 73.19 kB / 0.8923 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=347): time 7.524e-06/1.527, allocations: 0 / 0.8923 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=389): time 0.4717/1.999, allocations: 36.51 MB / 0.9279 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.999, allocations: 245.7 kB / 0.9282 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01334/2.012, allocations: 6.588 MB / 0.9346 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001824/2.014, allocations: 83.19 kB / 0.9347 GB, free: 99.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005713/2.02, allocations: 5.286 MB / 0.9398 GB, free: 96.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003002/2.023, allocations: 1.44 MB / 0.9412 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008868/2.024, allocations: 203.8 kB / 0.9414 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005046/2.024, allocations: 0.7266 MB / 0.9422 GB, free: 95.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005946/2.03, allocations: 4.113 MB / 0.9462 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009145/2.039, allocations: 9.701 MB / 0.9556 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/2.05, allocations: 6.203 MB / 0.9617 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002589/2.051, allocations: 55.22 kB / 0.9618 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.03213/2.083, allocations: 15.17 MB / 0.9766 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/2.083, allocations: 92.19 kB / 0.9767 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003086/2.083, allocations: 201.4 kB / 0.9768 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/2.087, allocations: 1.716 MB / 0.9785 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/2.098, allocations: 2.431 MB / 0.9809 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/2.112, allocations: 11.75 MB / 0.9924 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.123, allocations: 0.5749 MB / 0.9929 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003938/2.127, allocations: 0.5739 MB / 0.9935 GB, free: 75.69 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.01072/2.138, allocations: 3.626 MB / 0.997 GB, free: 74.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/2.14, allocations: 0.6508 MB / 0.9977 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/2.154, allocations: 8.229 MB / 1.006 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.265e-05/2.154, allocations: 40.59 kB / 1.006 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/2.154, allocations: 11.28 kB / 1.006 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-05/2.154, allocations: 16.31 kB / 1.006 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04145/2.196, allocations: 18.31 MB / 1.024 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/2.196, allocations: 8 kB / 1.024 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003884/2.2, allocations: 0.7672 MB / 1.024 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/2.203, allocations: 1.433 MB / 1.026 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007182/2.204, allocations: 68 kB / 1.026 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/2.216, allocations: 10.93 MB / 1.037 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/2.216, allocations: 8 kB / 1.037 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/2.236, allocations: 14.52 MB / 1.051 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005123/2.241, allocations: 1.327 MB / 1.052 GB, free: 32.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002813/2.244, allocations: 70.62 kB / 1.052 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/2.249, allocations: 255.5 kB / 1.052 GB, free: 32.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/2.25, allocations: 238.4 kB / 1.053 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/2.25, allocations: 105.4 kB / 1.053 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009259/2.259, allocations: 4.738 MB / 1.057 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/2.259, allocations: 0 / 1.057 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01301/2.272, allocations: 1.875 MB / 1.059 GB, free: 26.1 MB / 0.5105 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.001214/2.274, allocations: 233.2 kB / 1.059 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01668/2.29, allocations: 10.1 MB / 1.069 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/2.29, allocations: 0 / 1.069 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006846/2.297, allocations: 4.042 MB / 1.073 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006594/2.304, allocations: 0.7736 MB / 1.074 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/2.348, allocations: 20.98 MB / 1.094 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3218/2.67, allocations: 5.635 MB / 1.1 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01341/2.683, allocations: 3.33 MB / 1.103 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/2.686, allocations: 455.4 kB / 1.104 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/2.686, allocations: 0.625 kB / 1.104 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1374/2.823, allocations: 70.77 MB / 1.173 GB, free: 95.05 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches