Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 177.9 kB / 17.41 MB, free: 4.383 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.358/1.358, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.001031/0.001031, allocations: 93.48 kB / 271.9 MB, free: 8.242 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.5343/0.5343, allocations: 43.55 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000665/0.0006652, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1842, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5818/0.766, allocations: 107.2 MB / 0.5846 GB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004136/0.7665, allocations: 86.83 kB / 0.5847 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8736/1.64, allocations: 113.2 MB / 0.6952 GB, free: 85.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.881e-06/1.64, allocations: 0 / 0.6952 GB, free: 85.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000584/1.641, allocations: 109.7 kB / 0.6953 GB, free: 85.59 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02982/1.671, allocations: 5.728 MB / 0.7009 GB, free: 83.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/1.671, allocations: 9.25 kB / 0.7009 GB, free: 83.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04773/1.719, allocations: 5.313 MB / 0.7061 GB, free: 82.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.742, allocations: 5.748 MB / 0.7117 GB, free: 81.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008175/1.743, allocations: 416.5 kB / 0.7121 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00384/1.747, allocations: 0.5432 MB / 0.7126 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05678/1.804, allocations: 13.31 MB / 0.7256 GB, free: 78.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009484/1.805, allocations: 83.92 kB / 0.7257 GB, free: 78.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004471/1.809, allocations: 274.5 kB / 0.726 GB, free: 78.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/1.813, allocations: 1.253 MB / 0.7272 GB, free: 78.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03959/1.853, allocations: 10.57 MB / 0.7375 GB, free: 75.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.967, allocations: 59.69 MB / 0.7958 GB, free: 30.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/1.987, allocations: 4.64 MB / 0.8003 GB, free: 28.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005893/1.993, allocations: 2.254 MB / 0.8025 GB, free: 27.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02141/2.014, allocations: 6.449 MB / 0.8088 GB, free: 24.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/2.015, allocations: 51.22 kB / 0.8089 GB, free: 24.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 1.016e-05/2.015, allocations: 0 / 0.8089 GB, free: 24.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.08022/2.095, allocations: 16.67 MB / 0.8252 GB, free: 13.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/2.095, allocations: 242.9 kB / 0.8254 GB, free: 13.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02151/2.117, allocations: 5.859 MB / 0.8311 GB, free: 8.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006811/2.117, allocations: 49.7 kB / 0.8312 GB, free: 8.629 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0061/2.124, allocations: 4.137 MB / 0.8352 GB, free: 4.906 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00182/2.125, allocations: 0.7692 MB / 0.836 GB, free: 4.234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/2.127, allocations: 144 kB / 0.8361 GB, free: 4.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001263/2.128, allocations: 0.6044 MB / 0.8367 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008039/2.136, allocations: 2.309 MB / 0.8389 GB, free: 1.637 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01678/2.153, allocations: 6.959 MB / 0.8457 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/2.176, allocations: 9.94 MB / 0.8555 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002745/2.176, allocations: 48 kB / 0.8555 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.03847/2.215, allocations: 9.281 MB / 0.8646 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004034/2.215, allocations: 79.98 kB / 0.8646 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005236/2.216, allocations: 163.9 kB / 0.8648 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00317/2.219, allocations: 0.5887 MB / 0.8654 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/2.231, allocations: 1.649 MB / 0.867 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4315/2.663, allocations: 5.74 MB / 0.8726 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01305/2.676, allocations: 385.7 kB / 0.873 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002719/2.679, allocations: 447.6 kB / 0.8734 GB, free: 101.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (885): * Single equations (assignments): 880 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01148/2.69, allocations: 2.699 MB / 0.876 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/2.693, allocations: 495.4 kB / 0.8765 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/2.705, allocations: 3.058 MB / 0.8795 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-05/2.705, allocations: 21.56 kB / 0.8795 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-05/2.705, allocations: 9.312 kB / 0.8795 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/2.705, allocations: 12.5 kB / 0.8795 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/2.743, allocations: 8.483 MB / 0.8878 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.045e-05/2.743, allocations: 1.875 kB / 0.8878 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/2.746, allocations: 326.6 kB / 0.8881 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/2.748, allocations: 360.8 kB / 0.8885 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005161/2.749, allocations: 35.25 kB / 0.8885 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007688/2.756, allocations: 5.087 MB / 0.8935 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/2.756, allocations: 8.219 kB / 0.8935 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/2.771, allocations: 5.635 MB / 0.899 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004199/2.775, allocations: 0.7982 MB / 0.8997 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002706/2.778, allocations: 35.47 kB / 0.8998 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005204/2.783, allocations: 97.11 kB / 0.8999 GB, free: 96.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009128/2.784, allocations: 114.9 kB / 0.9 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005642/2.785, allocations: 54.5 kB / 0.9 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01405/2.799, allocations: 3.75 MB / 0.9037 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.984e-06/2.799, allocations: 0 / 0.9037 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01525/2.814, allocations: 1.224 MB / 0.9049 GB, free: 96.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/2.816, allocations: 178.3 kB / 0.9051 GB, free: 96.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02023/2.836, allocations: 5.721 MB / 0.9107 GB, free: 95.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.836, allocations: 0 / 0.9107 GB, free: 95.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005553/2.842, allocations: 1.709 MB / 0.9123 GB, free: 94.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01489/2.857, allocations: 0.6315 MB / 0.9129 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05233/2.909, allocations: 14.48 MB / 0.9271 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/2.924, allocations: 4.131 MB / 0.9311 GB, free: 85.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/2.926, allocations: 377.5 kB / 0.9315 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/2.926, allocations: 0 / 0.9315 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.2833/3.21, allocations: 123.2 MB / 1.052 GB, free: 2.688 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches