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.001521/0.001521, allocations: 182.1 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 1.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001095/0.001095, allocations: 86.7 kB / 267.5 MB, free: 14.04 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.2749/0.2749, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.809e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6788/0.7953, allocations: 110.1 MB / 0.5803 GB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/0.7958, allocations: 82.19 kB / 0.5804 GB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014/1.81, allocations: 149.4 MB / 0.7263 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.334e-06/1.81, allocations: 0 / 0.7263 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005799/1.81, allocations: 150.2 kB / 0.7264 GB, free: 93.75 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.03167/1.842, allocations: 7.39 MB / 0.7336 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.842, allocations: 10.06 kB / 0.7336 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05328/1.895, allocations: 7.321 MB / 0.7408 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02874/1.924, allocations: 7.906 MB / 0.7485 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007742/1.925, allocations: 0.5781 MB / 0.7491 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004318/1.929, allocations: 0.7691 MB / 0.7498 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05779/1.987, allocations: 18.86 MB / 0.7682 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005336/1.988, allocations: 96.05 kB / 0.7683 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00383/1.992, allocations: 372.2 kB / 0.7687 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004094/1.996, allocations: 1.836 MB / 0.7705 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04829/2.044, allocations: 15.37 MB / 0.7855 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1292/2.173, allocations: 81.83 MB / 0.8654 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03739/2.211, allocations: 8.653 MB / 0.8739 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009512/2.22, allocations: 4.626 MB / 0.8784 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03386/2.254, allocations: 11.7 MB / 0.8898 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.63e-05/2.254, allocations: 76.86 kB / 0.8899 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=347): time 7.534e-06/2.255, allocations: 4 kB / 0.8899 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=389): time 0.5043/2.759, allocations: 31.5 MB / 0.9206 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/2.759, allocations: 253.4 kB / 0.9209 GB, free: 97.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/2.774, allocations: 6.516 MB / 0.9272 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/2.775, allocations: 81.39 kB / 0.9273 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004505/2.78, allocations: 5.021 MB / 0.9322 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002503/2.782, allocations: 1.44 MB / 0.9336 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/2.784, allocations: 200.2 kB / 0.9338 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006339/2.784, allocations: 0.7371 MB / 0.9345 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009843/2.794, allocations: 4.021 MB / 0.9385 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/2.808, allocations: 9.61 MB / 0.9478 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/2.822, allocations: 6.171 MB / 0.9539 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002077/2.822, allocations: 55.81 kB / 0.9539 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.04048/2.863, allocations: 14.71 MB / 0.9683 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/2.863, allocations: 93.06 kB / 0.9684 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002562/2.863, allocations: 192.8 kB / 0.9686 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006967/2.87, allocations: 1.728 MB / 0.9703 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/2.886, allocations: 2.423 MB / 0.9726 GB, free: 82.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/2.908, allocations: 11.42 MB / 0.9838 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/2.921, allocations: 0.571 MB / 0.9843 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/2.923, allocations: 0.5777 MB / 0.9849 GB, free: 75.96 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 () * 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.003478/2.927, allocations: 0.8663 MB / 0.9857 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/2.929, allocations: 0.6453 MB / 0.9864 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02344/2.952, allocations: 8.139 MB / 0.9943 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-05/2.952, allocations: 44.45 kB / 0.9944 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.543e-05/2.952, allocations: 7 kB / 0.9944 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001198/2.953, allocations: 21.62 kB / 0.9944 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05333/3.006, allocations: 18.21 MB / 1.012 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.832e-05/3.006, allocations: 8 kB / 1.012 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007647/3.014, allocations: 0.768 MB / 1.013 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/3.02, allocations: 1.422 MB / 1.014 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/3.021, allocations: 78.53 kB / 1.014 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02086/3.042, allocations: 10.61 MB / 1.025 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/3.042, allocations: 15.08 kB / 1.025 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03219/3.074, allocations: 14.37 MB / 1.039 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005732/3.08, allocations: 1.321 MB / 1.04 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00278/3.083, allocations: 71.19 kB / 1.04 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007341/3.09, allocations: 253.6 kB / 1.04 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001515/3.092, allocations: 239.3 kB / 1.041 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004434/3.092, allocations: 107.2 kB / 1.041 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01157/3.104, allocations: 4.668 MB / 1.045 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.212e-06/3.104, allocations: 0 / 1.045 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01379/3.118, allocations: 1.878 MB / 1.047 GB, free: 31.68 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 () * 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.001621/3.119, allocations: 236.3 kB / 1.047 GB, free: 31.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02401/3.144, allocations: 9.944 MB / 1.057 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/3.144, allocations: 4 kB / 1.057 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01129/3.155, allocations: 3.971 MB / 1.061 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007415/3.162, allocations: 0.7735 MB / 1.062 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04365/3.206, allocations: 16.04 MB / 1.077 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01443/3.221, allocations: 5.748 MB / 1.083 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004129/3.225, allocations: 0.5196 MB / 1.083 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of SimCode: time 2.885e-06/3.225, allocations: 0 / 1.083 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.6879/3.913, allocations: 167.4 MB / 1.247 GB, free: 17.18 MB / 0.5261 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