Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002045/0.002045, allocations: 181.4 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001094/0.001094, allocations: 93.97 kB / 271.9 MB, free: 8.258 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.3298/0.3298, allocations: 43.55 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.000548, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1358, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.563, allocations: 106.3 MB / 0.5838 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005563/0.5637, allocations: 79.97 kB / 0.5839 GB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022/1.586, allocations: 116.3 MB / 0.6975 GB, free: 92.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.52e-06/1.586, allocations: 5.969 kB / 0.6975 GB, free: 92.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005762/1.586, allocations: 92.2 kB / 0.6976 GB, free: 92.73 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.02825/1.615, allocations: 4.589 MB / 0.702 GB, free: 90.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.732e-05/1.615, allocations: 9 kB / 0.7021 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02833/1.643, allocations: 3.632 MB / 0.7056 GB, free: 90.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/1.661, allocations: 3.762 MB / 0.7093 GB, free: 89.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/1.662, allocations: 382.2 kB / 0.7096 GB, free: 89.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006205/1.668, allocations: 499.8 kB / 0.7101 GB, free: 89.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06152/1.73, allocations: 12.15 MB / 0.722 GB, free: 88.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006729/1.731, allocations: 37.42 kB / 0.722 GB, free: 88.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004759/1.735, allocations: 229.6 kB / 0.7222 GB, free: 88.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005092/1.741, allocations: 1.393 MB / 0.7236 GB, free: 88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04128/1.782, allocations: 11.23 MB / 0.7346 GB, free: 85.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1153/1.897, allocations: 42.8 MB / 0.7764 GB, free: 58.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.911, allocations: 4.715 MB / 0.781 GB, free: 56.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/1.916, allocations: 2.455 MB / 0.7834 GB, free: 55.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/1.918, allocations: 1.31 MB / 0.7846 GB, free: 54.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/1.918, allocations: 54.69 kB / 0.7847 GB, free: 54.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 1.088e-05/1.918, allocations: 0 / 0.7847 GB, free: 54.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=268): time 0.07593/1.994, allocations: 19.31 MB / 0.8035 GB, free: 40.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/1.994, allocations: 103.1 kB / 0.8036 GB, free: 40.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008174/2.003, allocations: 3.261 MB / 0.8068 GB, free: 37.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008235/2.003, allocations: 57.7 kB / 0.8069 GB, free: 37.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002777/2.006, allocations: 3.277 MB / 0.8101 GB, free: 34.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002315/2.009, allocations: 0.971 MB / 0.811 GB, free: 33.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005956/2.009, allocations: 120 kB / 0.8112 GB, free: 33.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007037/2.01, allocations: 0.5702 MB / 0.8117 GB, free: 33.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006285/2.016, allocations: 2.452 MB / 0.8141 GB, free: 31.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/2.027, allocations: 5.858 MB / 0.8198 GB, free: 24.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/2.044, allocations: 9.145 MB / 0.8288 GB, free: 13.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002285/2.044, allocations: 36 kB / 0.8288 GB, free: 13.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02604/2.07, allocations: 9.085 MB / 0.8377 GB, free: 4.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/2.071, allocations: 57 kB / 0.8377 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/2.071, allocations: 116 kB / 0.8378 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004516/2.076, allocations: 1.058 MB / 0.8389 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/2.082, allocations: 1.384 MB / 0.8402 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/2.093, allocations: 5.095 MB / 0.8452 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008186/2.101, allocations: 327.6 kB / 0.8455 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/2.104, allocations: 348 kB / 0.8458 GB, free: 12.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01137/2.115, allocations: 2.478 MB / 0.8482 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001821/2.117, allocations: 327.8 kB / 0.8486 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/2.134, allocations: 5.337 MB / 0.8538 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001556/2.134, allocations: 51.98 kB / 0.8538 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.435e-05/2.134, allocations: 7.938 kB / 0.8538 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/2.134, allocations: 15.95 kB / 0.8538 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6971/2.831, allocations: 13.33 MB / 0.8669 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-05/2.832, allocations: 10.75 kB / 0.8669 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/2.835, allocations: 423.8 kB / 0.8673 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004916/2.84, allocations: 0.886 MB / 0.8681 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009557/2.841, allocations: 58.12 kB / 0.8682 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/2.851, allocations: 4.425 MB / 0.8725 GB, free: 95.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.731e-05/2.851, allocations: 15.94 kB / 0.8725 GB, free: 95.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02273/2.874, allocations: 7.998 MB / 0.8803 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004982/2.879, allocations: 0.7294 MB / 0.8811 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002729/2.882, allocations: 58.7 kB / 0.8811 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/2.887, allocations: 142.4 kB / 0.8812 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/2.888, allocations: 170.9 kB / 0.8814 GB, free: 95.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008044/2.889, allocations: 79.45 kB / 0.8815 GB, free: 95.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00948/2.899, allocations: 1.994 MB / 0.8834 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.884e-06/2.899, allocations: 0 / 0.8834 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01668/2.915, allocations: 1.117 MB / 0.8845 GB, free: 94.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002029/2.918, allocations: 206 kB / 0.8847 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02281/2.94, allocations: 6.005 MB / 0.8906 GB, free: 94.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-05/2.941, allocations: 2.406 kB / 0.8906 GB, free: 94.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009061/2.95, allocations: 2.243 MB / 0.8928 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/2.965, allocations: 428.9 kB / 0.8932 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06887/3.034, allocations: 14.45 MB / 0.9073 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02316/3.057, allocations: 3.829 MB / 0.911 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/3.061, allocations: 291.7 kB / 0.9113 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of SimCode: time 3.106e-06/3.061, allocations: 3.938 kB / 0.9113 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.2533/3.314, allocations: 85.65 MB / 0.995 GB, free: 39.82 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches