Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002326/0.002326, allocations: 186.2 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.938/1.938, 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.001135/0.001135, allocations: 92.36 kB / 270.9 MB, free: 8.406 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.5077/0.5077, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005045, allocations: 20 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.6119, allocations: 107.5 MB / 0.5837 GB, free: 11.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.6123, allocations: 78.12 kB / 0.5838 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.875/1.487, allocations: 133.5 MB / 0.7141 GB, free: 84.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.487, allocations: 0 / 0.7141 GB, free: 84.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004829/1.488, allocations: 134.2 kB / 0.7143 GB, free: 84.93 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.03274/1.521, allocations: 6.906 MB / 0.721 GB, free: 82.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.521, allocations: 8.625 kB / 0.721 GB, free: 82.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05434/1.575, allocations: 7.128 MB / 0.728 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.603, allocations: 7.289 MB / 0.7351 GB, free: 80.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007196/1.604, allocations: 0.5064 MB / 0.7356 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004128/1.608, allocations: 0.6668 MB / 0.7362 GB, free: 80.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0539/1.662, allocations: 16.75 MB / 0.7526 GB, free: 72.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005323/1.662, allocations: 88.47 kB / 0.7527 GB, free: 72.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003712/1.666, allocations: 325.1 kB / 0.753 GB, free: 72.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003463/1.67, allocations: 1.565 MB / 0.7545 GB, free: 72.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0444/1.714, allocations: 13.98 MB / 0.7682 GB, free: 68.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/1.823, allocations: 70.25 MB / 0.8368 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03523/1.859, allocations: 7.939 MB / 0.8445 GB, free: 14 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/1.859, allocations: 60.81 kB / 0.8446 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/1.859, allocations: 56.56 kB / 0.8446 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=290): time 6.943e-06/1.859, allocations: 4 kB / 0.8447 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332): time 0.5103/2.369, allocations: 32.72 MB / 0.8766 GB, free: 91.41 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.37, allocations: 217 kB / 0.8768 GB, free: 91.18 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/2.384, allocations: 5.647 MB / 0.8823 GB, free: 90.71 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/2.385, allocations: 75.45 kB / 0.8824 GB, free: 90.68 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004062/2.389, allocations: 4.391 MB / 0.8867 GB, free: 88.35 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002243/2.392, allocations: 1.242 MB / 0.8879 GB, free: 87.62 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/2.393, allocations: 171.2 kB / 0.8881 GB, free: 87.62 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006488/2.394, allocations: 0.6738 MB / 0.8887 GB, free: 87.29 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/2.404, allocations: 3.801 MB / 0.8924 GB, free: 87.27 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01487/2.419, allocations: 8.62 MB / 0.9009 GB, free: 81.09 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/2.435, allocations: 5.601 MB / 0.9063 GB, free: 79.16 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003537/2.435, allocations: 48.66 kB / 0.9064 GB, free: 79.16 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.04172/2.477, allocations: 13.54 MB / 0.9196 GB, free: 74.66 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/2.477, allocations: 82.66 kB / 0.9197 GB, free: 74.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003001/2.477, allocations: 172.9 kB / 0.9198 GB, free: 74.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007462/2.485, allocations: 1.686 MB / 0.9215 GB, free: 74.36 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.015/2.5, allocations: 2.088 MB / 0.9235 GB, free: 74.13 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/2.523, allocations: 11.69 MB / 0.9349 GB, free: 67.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.535, allocations: 0.5215 MB / 0.9354 GB, free: 67.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/2.537, allocations: 0.4992 MB / 0.9359 GB, free: 67.72 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1050): * Single equations (assignments): 1045 * 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.01055/2.548, allocations: 3.163 MB / 0.939 GB, free: 66.24 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/2.55, allocations: 0.5519 MB / 0.9396 GB, free: 65.94 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02683/2.577, allocations: 7.53 MB / 0.9469 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.315e-05/2.577, allocations: 39.89 kB / 0.947 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/2.577, allocations: 11.81 kB / 0.947 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.338e-05/2.577, allocations: 13.92 kB / 0.947 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05287/2.63, allocations: 16.35 MB / 0.9629 GB, free: 57.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/2.63, allocations: 13.31 kB / 0.963 GB, free: 57.17 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006876/2.637, allocations: 0.6451 MB / 0.9636 GB, free: 57.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006622/2.643, allocations: 1.422 MB / 0.965 GB, free: 56.84 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001048/2.645, allocations: 68.31 kB / 0.965 GB, free: 56.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02242/2.667, allocations: 10.91 MB / 0.9757 GB, free: 49.83 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/2.667, allocations: 4 kB / 0.9757 GB, free: 49.83 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03312/2.7, allocations: 12.85 MB / 0.9882 GB, free: 38.45 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00498/2.705, allocations: 1.204 MB / 0.9894 GB, free: 37.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002265/2.708, allocations: 56.56 kB / 0.9895 GB, free: 37.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006729/2.714, allocations: 275.5 kB / 0.9897 GB, free: 37.12 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/2.716, allocations: 209.9 kB / 0.9899 GB, free: 36.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007118/2.717, allocations: 87.84 kB / 0.99 GB, free: 36.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01063/2.727, allocations: 4.012 MB / 0.9939 GB, free: 33.61 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.824e-06/2.727, allocations: 0 / 0.9939 GB, free: 33.61 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0119/2.739, allocations: 1.684 MB / 0.9956 GB, free: 31.93 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.001484/2.741, allocations: 209.8 kB / 0.9958 GB, free: 31.73 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02261/2.763, allocations: 9.334 MB / 1.005 GB, free: 23.52 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/2.763, allocations: 4 kB / 1.005 GB, free: 23.52 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/2.775, allocations: 3.863 MB / 1.009 GB, free: 20.14 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006402/2.781, allocations: 0.6802 MB / 1.009 GB, free: 19.56 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04529/2.826, allocations: 19.25 MB / 1.028 GB, free: 2.039 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/2.839, allocations: 4.999 MB / 1.033 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004118/2.844, allocations: 463.5 kB / 1.033 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/2.844, allocations: 0 / 1.033 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.6572/3.501, allocations: 147.7 MB / 1.178 GB, free: 54.23 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches